aboutsummaryrefslogtreecommitdiff
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
parentd696202036ce4668aa86af5966b919acda672dbb (diff)
downloadslackbuilds-1785cf0a8c16e2c2ae4dc242b73321d174389d45.tar.xz
python/python3-service-identity: updated for version 23.1.0
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/python3-service-identity/python3-service-identity.SlackBuild7
-rw-r--r--python/python3-service-identity/python3-service-identity.info8
2 files changed, 8 insertions, 7 deletions
diff --git a/python/python3-service-identity/python3-service-identity.SlackBuild b/python/python3-service-identity/python3-service-identity.SlackBuild
index 451c124edd0c..52d6c95b6e81 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
diff --git a/python/python3-service-identity/python3-service-identity.info b/python/python3-service-identity/python3-service-identity.info
index 1b9fa639bd85..09a2a9dff730 100644
--- a/python/python3-service-identity/python3-service-identity.info
+++ b/python/python3-service-identity/python3-service-identity.info
@@ -1,10 +1,10 @@
PRGNAM="python3-service-identity"
-VERSION="21.1.0"
+VERSION="23.1.0"
HOMEPAGE="https://pypi.python.org/pypi/service-identity"
-DOWNLOAD="https://pypi.python.org/packages/source/s/service-identity/service-identity-21.1.0.tar.gz"
-MD5SUM="5e5c195d8fcedc72f9068be2ad9b5a13"
+DOWNLOAD="https://pypi.python.org/packages/source/s/service-identity/service_identity-23.1.0.tar.gz"
+MD5SUM="14a751406024544784459474d93d1ea5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3-attrs cryptography python3-pyasn1-modules"
+REQUIRES="python3-attrs cryptography python3-pyasn1-modules python3-hatch_vcs python3-hatch_fancy_pypi_readme"
MAINTAINER="Yth - Arnaud"
EMAIL="yth@ythogtha.org"