From b7bc9dada50baaa7f5a0d655d27eb3c9e7cf02aa Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Thu, 11 Jul 2019 10:28:39 +0200 Subject: [PATCH] python: Update from 3.7.3 to 3.7.4 --- packages/python/build.sh | 5 ++--- packages/python/fix-paths.patch | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/packages/python/build.sh b/packages/python/build.sh index 3223116ee..99b2004ba 100644 --- a/packages/python/build.sh +++ b/packages/python/build.sh @@ -5,9 +5,8 @@ TERMUX_PKG_DEPENDS="libandroid-support, ncurses, readline, libffi, openssl, libu # Python.h includes crypt.h: TERMUX_PKG_DEVPACKAGE_DEPENDS="libcrypt-dev" _MAJOR_VERSION=3.7 -TERMUX_PKG_VERSION=${_MAJOR_VERSION}.3 -TERMUX_PKG_REVISION=2 -TERMUX_PKG_SHA256=da60b54064d4cfcd9c26576f6df2690e62085123826cff2e667e72a91952d318 +TERMUX_PKG_VERSION=${_MAJOR_VERSION}.4 +TERMUX_PKG_SHA256=fb799134b868199930b75f26678f18932214042639cd52b16da7fd134cd9b13f TERMUX_PKG_SRCURL=https://www.python.org/ftp/python/${TERMUX_PKG_VERSION}/Python-${TERMUX_PKG_VERSION}.tar.xz # The flag --with(out)-pymalloc (disable/enable specialized mallocs) is enabled by default and causes m suffix versions of python. diff --git a/packages/python/fix-paths.patch b/packages/python/fix-paths.patch index 20a0f67bb..b013af19e 100644 --- a/packages/python/fix-paths.patch +++ b/packages/python/fix-paths.patch @@ -41,8 +41,8 @@ diff -uNr Python-3.6.2/Lib/posixpath.py Python-3.6.2.mod/Lib/posixpath.py extsep = '.' sep = '/' pathsep = ':' --defpath = ':/bin:/usr/bin' -+defpath = ':@TERMUX_PREFIX@/bin:@TERMUX_PREFIX@/bin/applets' +-defpath = '/bin:/usr/bin' ++defpath = '@TERMUX_PREFIX@/bin:@TERMUX_PREFIX@/bin/applets' altsep = None devnull = '/dev/null'