From 3425808c2111e770d004d0b57b8c3b5523647eca Mon Sep 17 00:00:00 2001 From: Tom Yan Date: Fri, 18 May 2018 04:48:17 +0800 Subject: [PATCH] python(2): bump revision after updates --- packages/python/build.sh | 4 +++- packages/python2/build.sh | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/python/build.sh b/packages/python/build.sh index 6f41c9790..b24194ec2 100644 --- a/packages/python/build.sh +++ b/packages/python/build.sh @@ -3,7 +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_REVISION=2 TERMUX_PKG_SHA256=f434053ba1b5c8a5cc597e966ead3c5143012af827fd3f0697d21450bb8d87a6 TERMUX_PKG_SRCURL=https://www.python.org/ftp/python/${TERMUX_PKG_VERSION}/Python-${TERMUX_PKG_VERSION}.tar.xz @@ -37,6 +37,8 @@ lib/python${_MAJOR_VERSION}/test lib/python${_MAJOR_VERSION}/*/test lib/python${_MAJOR_VERSION}/*/tests " +TERMUX_PKG_BREAKS="python2 (<= 2.7.15)" +TERMUX_PKG_REPLACES="python2 (<= 2.7.15)" termux_step_pre_configure() { # Needed when building with clang, as setup.py only probes diff --git a/packages/python2/build.sh b/packages/python2/build.sh index 122618eab..590d9a66d 100644 --- a/packages/python2/build.sh +++ b/packages/python2/build.sh @@ -9,6 +9,7 @@ TERMUX_PKG_HOSTBUILD=true _MAJOR_VERSION=2.7 TERMUX_PKG_VERSION=${_MAJOR_VERSION}.15 +TERMUX_PKG_REVISION=1 TERMUX_PKG_SHA256=22d9b1ac5b26135ad2b8c2901a9413537e08749a753356ee913c84dbd2df5574 TERMUX_PKG_SRCURL=https://www.python.org/ftp/python/${TERMUX_PKG_VERSION}/Python-${TERMUX_PKG_VERSION}.tar.xz