aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorArn0 <yth@ythogtha.org>2022-02-25 15:16:18 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-26 09:31:02 +0700
commit7908adffa7d3f12be6e891918e1b786eea9b3e08 (patch)
tree54ad00ea68b0eed5d4cb4f54f6c38f6c7ddd310b /python
parentbdcb1f57acaac3b9a6a134bde3c248d9aac90f8c (diff)
python/constantly: also building for python3
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r--python/constantly/constantly.SlackBuild3
-rw-r--r--python/constantly/constantly.info2
2 files changed, 3 insertions, 2 deletions
diff --git a/python/constantly/constantly.SlackBuild b/python/constantly/constantly.SlackBuild
index b428860fcd52..7ca8677e0c11 100644
--- a/python/constantly/constantly.SlackBuild
+++ b/python/constantly/constantly.SlackBuild
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=constantly
VERSION=${VERSION:-15.1.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -82,6 +82,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
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 \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/python/constantly/constantly.info b/python/constantly/constantly.info
index 0c2b0d802520..d4e55d05f01c 100644
--- a/python/constantly/constantly.info
+++ b/python/constantly/constantly.info
@@ -1,7 +1,7 @@
PRGNAM="constantly"
VERSION="15.1.0"
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"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""