aboutsummaryrefslogtreecommitdiff
path: root/python/python3-automat
diff options
context:
space:
mode:
Diffstat (limited to 'python/python3-automat')
-rw-r--r--python/python3-automat/python3-automat.SlackBuild10
-rw-r--r--python/python3-automat/python3-automat.info8
2 files changed, 11 insertions, 7 deletions
diff --git a/python/python3-automat/python3-automat.SlackBuild b/python/python3-automat/python3-automat.SlackBuild
index b170f1232b..4511eb2d5a 100644
--- a/python/python3-automat/python3-automat.SlackBuild
+++ b/python/python3-automat/python3-automat.SlackBuild
@@ -27,8 +27,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-automat
-SRCNAM=Automat
-VERSION=${VERSION:-22.10.0}
+SRCNAM=automat
+VERSION=${VERSION:-25.4.16}
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -86,7 +86,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-automat/python3-automat.info b/python/python3-automat/python3-automat.info
index b9088b1896..102561d674 100644
--- a/python/python3-automat/python3-automat.info
+++ b/python/python3-automat/python3-automat.info
@@ -1,10 +1,10 @@
PRGNAM="python3-automat"
-VERSION="22.10.0"
+VERSION="25.4.16"
HOMEPAGE="https://pypi.python.org/pypi/Automat"
-DOWNLOAD="https://pypi.python.org/packages/source/A/Automat/Automat-22.10.0.tar.gz"
-MD5SUM="b8064994239aabb172748f984489ce75"
+DOWNLOAD="https://pypi.python.org/packages/source/a/automat/automat-25.4.16.tar.gz"
+MD5SUM="a725256be8545c32048eb12239caeebb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3-attrs python3-wheel"
+REQUIRES="python3-typing-extensions python3-hatch_vcs"
MAINTAINER="Yth - Arnaud"
EMAIL="yth@ythogtha.org"