Browse Source

python(2): match TERMUX_PKG_RM_AFTER_INSTALL

android-5
Tom Yan 7 years ago
committed by Fredrik Fornwall
parent
commit
3a5fe366c9
  1. 9
      packages/python/build.sh
  2. 6
      packages/python2/build.sh

9
packages/python/build.sh

@ -30,13 +30,12 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" ac_cv_little_endian_double=yes"
TERMUX_PKG_RM_AFTER_INSTALL="
bin/idle*
lib/python${_MAJOR_VERSION}/idlelib
lib/python${_MAJOR_VERSION}/test
lib/python${_MAJOR_VERSION}/tkinter
lib/python${_MAJOR_VERSION}/turtle.py
lib/python${_MAJOR_VERSION}/turtledemo
lib/python${_MAJOR_VERSION}/ctypes/test
lib/python${_MAJOR_VERSION}/distutils/tests
lib/python${_MAJOR_VERSION}/sqlite3/test
lib/python${_MAJOR_VERSION}/unittest/test
lib/python${_MAJOR_VERSION}/test
lib/python${_MAJOR_VERSION}/*/test
lib/python${_MAJOR_VERSION}/*/tests
"
termux_step_pre_configure() {

6
packages/python2/build.sh

@ -33,6 +33,12 @@ bin/smtpd.py
bin/python
bin/python-config
share/man/man1/python.1
bin/idle*
lib/python${_MAJOR_VERSION}/idlelib
lib/python${_MAJOR_VERSION}/lib-tk
lib/python${_MAJOR_VERSION}/test
lib/python${_MAJOR_VERSION}/*/test
lib/python${_MAJOR_VERSION}/*/tests
"
termux_step_host_build () {

Loading…
Cancel
Save