summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--python/python3-cattrs/python3-cattrs.SlackBuild5
-rw-r--r--python/python3-cattrs/python3-cattrs.info6
2 files changed, 7 insertions, 4 deletions
diff --git a/python/python3-cattrs/python3-cattrs.SlackBuild b/python/python3-cattrs/python3-cattrs.SlackBuild
index e3080b5df6..efb23e07ed 100644
--- a/python/python3-cattrs/python3-cattrs.SlackBuild
+++ b/python/python3-cattrs/python3-cattrs.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-cattrs
SRCNAM=${PRGNAM#python3-*}
-VERSION=${VERSION:-23.2.3}
+VERSION=${VERSION:-24.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -63,6 +63,9 @@ 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 {} \+
+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
diff --git a/python/python3-cattrs/python3-cattrs.info b/python/python3-cattrs/python3-cattrs.info
index 3487aee2c8..47964a1d41 100644
--- a/python/python3-cattrs/python3-cattrs.info
+++ b/python/python3-cattrs/python3-cattrs.info
@@ -1,8 +1,8 @@
PRGNAM="python3-cattrs"
-VERSION="23.2.3"
+VERSION="24.1.1"
HOMEPAGE="https://github.com/python-attrs/cattrs"
-DOWNLOAD="https://files.pythonhosted.org/packages/source/c/cattrs/cattrs-23.2.3.tar.gz"
-MD5SUM="555a80a76a06708adc793ceab25326b9"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/c/cattrs/cattrs-24.1.1.tar.gz"
+MD5SUM="b57bb90e1360322c078ba368adfcc68b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python3-typing-extensions python3-attrs python3-exceptiongroup"