aboutsummaryrefslogtreecommitdiff
path: root/python/python3-cattrs
diff options
context:
space:
mode:
Diffstat (limited to 'python/python3-cattrs')
-rw-r--r--python/python3-cattrs/python3-cattrs.SlackBuild12
-rw-r--r--python/python3-cattrs/python3-cattrs.info6
2 files changed, 8 insertions, 10 deletions
diff --git a/python/python3-cattrs/python3-cattrs.SlackBuild b/python/python3-cattrs/python3-cattrs.SlackBuild
index ef2e782b4c..f8f4ef228a 100644
--- a/python/python3-cattrs/python3-cattrs.SlackBuild
+++ b/python/python3-cattrs/python3-cattrs.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for python3-cattrs
-# Copyright 2023-2024 fourtysixandtwo <fourtysixandtwo@sliderr.net>
+# Copyright 2023-2025 fourtysixandtwo <fourtysixandtwo@sliderr.net>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-cattrs
SRCNAM=${PRGNAM#python3-*}
-VERSION=${VERSION:-24.1.2}
+VERSION=${VERSION:-25.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -57,11 +57,9 @@ rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.?z
cd $SRCNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \+ -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+find . ! -type l -a \
+ \( -perm /111 -a ! -perm 755 -a -exec chmod -f 755 {} + \) -o \
+ \( ! -perm /111 -a ! -perm 644 -a -exec chmod -f 644 {} + \)
PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
export PYTHONPATH=/opt/python$PYVER/site-packages
diff --git a/python/python3-cattrs/python3-cattrs.info b/python/python3-cattrs/python3-cattrs.info
index 99194e97dd..08b292468e 100644
--- a/python/python3-cattrs/python3-cattrs.info
+++ b/python/python3-cattrs/python3-cattrs.info
@@ -1,8 +1,8 @@
PRGNAM="python3-cattrs"
-VERSION="24.1.2"
+VERSION="25.3.0"
HOMEPAGE="https://github.com/python-attrs/cattrs"
-DOWNLOAD="https://files.pythonhosted.org/packages/source/c/cattrs/cattrs-24.1.2.tar.gz"
-MD5SUM="7d8d5e75cdf166ffc4ea6aadad70235e"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/c/cattrs/cattrs-25.3.0.tar.gz"
+MD5SUM="9b7b27f64ada35523229b778f4199043"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python3-typing-extensions python3-attrs python3-exceptiongroup"