aboutsummaryrefslogtreecommitdiff
path: root/python/python3-service-identity/python3-service-identity.SlackBuild
diff options
context:
space:
mode:
authorArn0 <yth@ythogtha.org>2023-06-14 11:32:56 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-06-15 21:35:48 +0700
commit1785cf0a8c16e2c2ae4dc242b73321d174389d45 (patch)
tree154aff4b8617ec6e86315c5cc4f2f658f514c658 /python/python3-service-identity/python3-service-identity.SlackBuild
parentd696202036ce4668aa86af5966b919acda672dbb (diff)
python/python3-service-identity: updated for version 23.1.0
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-service-identity/python3-service-identity.SlackBuild')
-rw-r--r--python/python3-service-identity/python3-service-identity.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/python/python3-service-identity/python3-service-identity.SlackBuild b/python/python3-service-identity/python3-service-identity.SlackBuild
index 451c124edd..52d6c95b6e 100644
--- a/python/python3-service-identity/python3-service-identity.SlackBuild
+++ b/python/python3-service-identity/python3-service-identity.SlackBuild
@@ -27,8 +27,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-service-identity
-SRCNAM=${PRGNAM#python3-*}
-VERSION=${VERSION:-21.1.0}
+SRCNAM=service_identity
+VERSION=${VERSION:-23.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -82,7 +82,8 @@ 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
+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