summaryrefslogtreecommitdiffstats
path: root/python/python3-dnspython
diff options
context:
space:
mode:
author Arn0 <yth@ythogtha.org>2023-07-16 17:36:08 +0200
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2023-07-17 09:47:02 +0700
commit6e77ca45ff1d6519249fefe068c15a458fc3af16 (patch)
tree6db5bcc11f25a697cb3a7e0c2743cd64e185c946 /python/python3-dnspython
parente3f97268d0beee2957fc3b31d6a062bcf12d16c9 (diff)
downloadslackbuilds-6e77ca45ff1d6519249fefe068c15a458fc3af16.tar.gz
slackbuilds-6e77ca45ff1d6519249fefe068c15a458fc3af16.tar.xz
python/python3-dnspython: updated for version 2.4.0
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-dnspython')
-rw-r--r--python/python3-dnspython/python3-dnspython.SlackBuild5
-rw-r--r--python/python3-dnspython/python3-dnspython.info8
2 files changed, 7 insertions, 6 deletions
diff --git a/python/python3-dnspython/python3-dnspython.SlackBuild b/python/python3-dnspython/python3-dnspython.SlackBuild
index e745a3f9ec..1ebf3460d9 100644
--- a/python/python3-dnspython/python3-dnspython.SlackBuild
+++ b/python/python3-dnspython/python3-dnspython.SlackBuild
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-dnspython
SRCNAM=${PRGNAM#python3-*}
-VERSION=${VERSION:-2.3.0}
+VERSION=${VERSION:-2.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -64,7 +64,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-dnspython/python3-dnspython.info b/python/python3-dnspython/python3-dnspython.info
index 9e4da04fa6..7a5602da0d 100644
--- a/python/python3-dnspython/python3-dnspython.info
+++ b/python/python3-dnspython/python3-dnspython.info
@@ -1,10 +1,10 @@
PRGNAM="python3-dnspython"
-VERSION="2.3.0"
+VERSION="2.4.0"
HOMEPAGE="http://www.dnspython.org/"
-DOWNLOAD="https://files.pythonhosted.org/packages/source/d/dnspython/dnspython-2.3.0.tar.gz"
-MD5SUM="203a77c823563229ba96c3e7ea7cfb02"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/d/dnspython/dnspython-2.4.0.tar.gz"
+MD5SUM="6d56aa5ef4e80e226c48d870c9733d0c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="python3-poetry-core python3-exceptiongroup python3-httpcore"
MAINTAINER="Yth - Arnaud"
EMAIL="yth@ythogtha.org"