python/hyperlink: updated for version 21.0.0, added python3 build

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

View File

@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=hyperlink
VERSION=${VERSION:-17.3.1}
VERSION=${VERSION:-21.0.0}
BUILD=${BUILD:-1}
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

View File

@ -1,8 +1,8 @@
PRGNAM="hyperlink"
VERSION="17.3.1"
VERSION="21.0.0"
HOMEPAGE="https://pypi.python.org/pypi/hyperlink"
DOWNLOAD="https://pypi.python.org/packages/83/df/3bdaf38f21f93429de02f04c6a967d2154955fc5b9a6a1a0b20a682edc13/hyperlink-17.3.1.tar.gz"
MD5SUM="eaccb9845b559817e838846669cbc68a"
DOWNLOAD="https://pypi.python.org/packages/source/h/hyperlink/hyperlink-21.0.0.tar.gz"
MD5SUM="6285ac13e7d6be4157698ad7960ed490"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""