aboutsummaryrefslogtreecommitdiff
path: root/python/python3-cattrs/python3-cattrs.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/python3-cattrs/python3-cattrs.SlackBuild')
-rw-r--r--python/python3-cattrs/python3-cattrs.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/python/python3-cattrs/python3-cattrs.SlackBuild b/python/python3-cattrs/python3-cattrs.SlackBuild
index 8bf2f455e9..2be7f3f23a 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:-22.2.0}
+VERSION=${VERSION:-23.1.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -57,6 +57,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -84,7 +87,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE README.rst $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE README.md PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install