summaryrefslogtreecommitdiffstats
path: root/python/python3-cattrs
diff options
context:
space:
mode:
author fourtysixandtwo <fourtysixandtwo@sliderr.net>2024-09-09 10:41:15 -0600
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2024-09-14 23:36:57 +0700
commit655649742f17c076e3db2cc9602f7981fe8e34aa (patch)
treeb15d0cbcf03751f7facfb28c53e45fc4d5bf051b /python/python3-cattrs
parentd06f89542c63d356e80fc20757d06f465ed18a6e (diff)
downloadslackbuilds-655649742f17c076e3db2cc9602f7981fe8e34aa.tar.gz
slackbuilds-655649742f17c076e3db2cc9602f7981fe8e34aa.tar.xz
python/python3-cattrs: Updated for version 24.1.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-cattrs')
-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"