Browse Source

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

fix building modules
emacs-27
Henrik Grimler 5 years ago
committed by GitHub
parent
commit
85586b0a44
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      packages/python/build.sh
  2. 11
      packages/python/distutils-command-build.py.patch

2
packages/python/build.sh

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

11
packages/python/distutils-command-build.py.patch

@ -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)
Loading…
Cancel
Save