From 3a5fe366c95f1d83ed4fd6fadb4b24541aa64d02 Mon Sep 17 00:00:00 2001 From: Tom Yan Date: Fri, 18 May 2018 04:47:23 +0800 Subject: [PATCH] python(2): match TERMUX_PKG_RM_AFTER_INSTALL --- packages/python/build.sh | 9 ++++----- packages/python2/build.sh | 6 ++++++ 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/packages/python/build.sh b/packages/python/build.sh index 73b1ad659..6f41c9790 100644 --- a/packages/python/build.sh +++ b/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() { diff --git a/packages/python2/build.sh b/packages/python2/build.sh index 5488b611f..122618eab 100644 --- a/packages/python2/build.sh +++ b/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 () {