|
|
@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="Python 3 programming language intended to enable clear p |
|
|
|
TERMUX_PKG_DEPENDS="libandroid-support, ncurses, readline, libffi, openssl, libutil, libbz2, libsqlite, gdbm, ncurses-ui-libs, libcrypt, liblzma" |
|
|
|
_MAJOR_VERSION=3.6 |
|
|
|
TERMUX_PKG_VERSION=${_MAJOR_VERSION}.5 |
|
|
|
TERMUX_PKG_REVISION=1 |
|
|
|
TERMUX_PKG_SHA256=f434053ba1b5c8a5cc597e966ead3c5143012af827fd3f0697d21450bb8d87a6 |
|
|
|
TERMUX_PKG_SRCURL=https://www.python.org/ftp/python/${TERMUX_PKG_VERSION}/Python-${TERMUX_PKG_VERSION}.tar.xz |
|
|
|
|
|
|
@ -24,6 +25,8 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" ac_cv_posix_semaphores_enabled=no" |
|
|
|
# Do not assume getaddrinfo is buggy when cross compiling: |
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" ac_cv_buggy_getaddrinfo=no" |
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --enable-loadable-sqlite-extensions" |
|
|
|
# Fix https://github.com/termux/termux-packages/issues/2236: |
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" ac_cv_little_endian_double=yes" |
|
|
|
TERMUX_PKG_RM_AFTER_INSTALL=" |
|
|
|
bin/python${_MAJOR_VERSION}m bin/idle* |
|
|
|
lib/python${_MAJOR_VERSION}/idlelib |
|
|
|