python/python3-cattrs: Updated for version 23.1.2.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
fourtysixandtwo 2023-09-04 05:32:50 -06:00 committed by Willy Sudiarto Raharjo
parent b51b4d89bd
commit 6dcb047ea5
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 9 additions and 6 deletions

View File

@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-cattrs PRGNAM=python3-cattrs
SRCNAM=${PRGNAM#python3-*} SRCNAM=${PRGNAM#python3-*}
VERSION=${VERSION:-22.2.0} VERSION=${VERSION:-23.1.2}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz} PKGTYPE=${PKGTYPE:-tgz}
@ -57,6 +57,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC" SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64" LIBDIRSUFFIX="64"
elif [ "$ARCH" = "aarch64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else else
SLKCFLAGS="-O2" SLKCFLAGS="-O2"
LIBDIRSUFFIX="" 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 | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION 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 cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install mkdir -p $PKG/install

View File

@ -1,10 +1,10 @@
PRGNAM="python3-cattrs" PRGNAM="python3-cattrs"
VERSION="22.2.0" VERSION="23.1.2"
HOMEPAGE="https://github.com/python-attrs/cattrs" HOMEPAGE="https://github.com/python-attrs/cattrs"
DOWNLOAD="https://files.pythonhosted.org/packages/source/c/cattrs/cattrs-22.2.0.tar.gz" DOWNLOAD="https://files.pythonhosted.org/packages/source/c/cattrs/cattrs-23.1.2.tar.gz"
MD5SUM="4bb7397e38b7066ce7f5654ea9b5a9f2" MD5SUM="7e37de3fa6496530f9dd74f0bf490889"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="python3-poetry-core python3-attrs python3-exceptiongroup" REQUIRES="typing-extensions python3-poetry-core python3-attrs python3-exceptiongroup"
MAINTAINER="fourtysixandtwo" MAINTAINER="fourtysixandtwo"
EMAIL="fourtysixandtwo@sliderr.net" EMAIL="fourtysixandtwo@sliderr.net"