Merge pull request #4567 from its-pointless/python-build-fix

fix building modules
This commit is contained in:
Henrik Grimler 2019-11-20 21:38:50 +01:00 committed by GitHub
commit 202851d7c6
2 changed files with 12 additions and 1 deletions

View File

@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Python 3 programming language intended to enable clear p
TERMUX_PKG_LICENSE="PythonPL"
_MAJOR_VERSION=3.8
TERMUX_PKG_VERSION=${_MAJOR_VERSION}.0
TERMUX_PKG_REVISION=2
TERMUX_PKG_REVISION=3
TERMUX_PKG_SRCURL=https://www.python.org/ftp/python/${TERMUX_PKG_VERSION}/Python-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=b356244e13fb5491da890b35b13b2118c3122977c2cd825e3eb6e7d462030d84
TERMUX_PKG_DEPENDS="gdbm, libandroid-support, libbz2, libcrypt, libffi, liblzma, libsqlite, ncurses, ncurses-ui-libs, openssl, readline, zlib"

View File

@ -0,0 +1,11 @@
--- ./Lib/distutils/command/build.py.orig 2019-11-19 23:19:08.878782120 +0000
+++ ./Lib/distutils/command/build.py 2019-11-19 23:19:18.410915201 +0000
@@ -118,7 +118,7 @@
if self.executable is None and sys.executable:
self.executable = os.path.normpath(sys.executable)
-
+ self.parallel = 1
if isinstance(self.parallel, str):
try:
self.parallel = int(self.parallel)