summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"