python: Update from 3.7.3 to 3.7.4

This commit is contained in:
Fredrik Fornwall 2019-07-11 10:28:39 +02:00
parent c15ee973b7
commit c1d38d8f5e
2 changed files with 4 additions and 5 deletions

View File

@ -5,9 +5,8 @@ TERMUX_PKG_DEPENDS="libandroid-support, ncurses, readline, libffi, openssl, libb
# Python.h includes crypt.h:
TERMUX_PKG_DEVPACKAGE_DEPENDS="libcrypt-dev"
_MAJOR_VERSION=3.7
TERMUX_PKG_VERSION=${_MAJOR_VERSION}.3
TERMUX_PKG_REVISION=3
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.

View File

@ -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'