python/constantly: also building for python3

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Arn0 2022-02-25 15:16:18 +01:00 committed by Willy Sudiarto Raharjo
parent bdcb1f57ac
commit 7908adffa7
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 3 additions and 2 deletions

View File

@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=constantly PRGNAM=constantly
VERSION=${VERSION:-15.1.0} VERSION=${VERSION:-15.1.0}
BUILD=${BUILD:-1} BUILD=${BUILD:-2}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz} PKGTYPE=${PKGTYPE:-tgz}
@ -82,6 +82,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
python setup.py install --root=$PKG python setup.py install --root=$PKG
python3 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true

View File

@ -1,7 +1,7 @@
PRGNAM="constantly" PRGNAM="constantly"
VERSION="15.1.0" VERSION="15.1.0"
HOMEPAGE="https://pypi.python.org/pypi/constantly" HOMEPAGE="https://pypi.python.org/pypi/constantly"
DOWNLOAD="https://pypi.python.org/packages/95/f1/207a0a478c4bb34b1b49d5915e2db574cadc415c9ac3a7ef17e29b2e8951/constantly-15.1.0.tar.gz" DOWNLOAD="https://pypi.python.org/packages/source/c/constantly/constantly-15.1.0.tar.gz"
MD5SUM="f0762f083d83039758e53f8cf0086eef" MD5SUM="f0762f083d83039758e53f8cf0086eef"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""