Browse Source

python: Update from 3.7.3 to 3.7.4

android-5
Fredrik Fornwall 6 years ago
parent
commit
b7bc9dada5
  1. 5
      packages/python/build.sh
  2. 4
      packages/python/fix-paths.patch

5
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.

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

Loading…
Cancel
Save