diff options
| author | Arn0 <yth@ythogtha.org> | 2025-04-25 14:59:50 +0200 |
|---|---|---|
| committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2025-04-25 21:37:29 +0700 |
| commit | 8f0fb7d239952d2b3a99695e235ccd582fdaab23 (patch) | |
| tree | cc160642a8549d30a99c631befc25dfc8b194756 /python/python3-decorator | |
| parent | abce7880c81cc5355ba1f399cccc343f30e3cb88 (diff) | |
python/python3-decorator: updated for version 5.2.1
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-decorator')
| -rw-r--r-- | python/python3-decorator/python3-decorator.SlackBuild | 8 | ||||
| -rw-r--r-- | python/python3-decorator/python3-decorator.info | 8 |
2 files changed, 10 insertions, 6 deletions
diff --git a/python/python3-decorator/python3-decorator.SlackBuild b/python/python3-decorator/python3-decorator.SlackBuild index de7dcd5b5d..7b16c471fe 100644 --- a/python/python3-decorator/python3-decorator.SlackBuild +++ b/python/python3-decorator/python3-decorator.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-decorator SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-5.1.1} +VERSION=${VERSION:-5.2.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -63,7 +63,11 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -python3 setup.py install --root=$PKG +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages + +python3 -m build --no-isolation +python3 -m installer -d "$PKG" dist/*.whl 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/python3-decorator/python3-decorator.info b/python/python3-decorator/python3-decorator.info index 15d15c4d49..ed9d48bc84 100644 --- a/python/python3-decorator/python3-decorator.info +++ b/python/python3-decorator/python3-decorator.info @@ -1,10 +1,10 @@ PRGNAM="python3-decorator" -VERSION="5.1.1" +VERSION="5.2.1" HOMEPAGE="https://pypi.org/project/decorator/" -DOWNLOAD="https://pypi.python.org/packages/source/d/decorator/decorator-5.1.1.tar.gz" -MD5SUM="a6b34700dcac8a4bb04efd55e99626c1" +DOWNLOAD="https://pypi.python.org/packages/source/d/decorator/decorator-5.2.1.tar.gz" +MD5SUM="984649ae1fd174f9a82369e7c9cc56e6" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="python3-setuptools-opt" MAINTAINER="Yth - Arnaud" EMAIL="yth@ythogtha.org" |
