python/python3-cattrs: Updated for version 23.1.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
b51b4d89bd
commit
6dcb047ea5
|
@ -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
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="python3-cattrs"
|
||||
VERSION="22.2.0"
|
||||
VERSION="23.1.2"
|
||||
HOMEPAGE="https://github.com/python-attrs/cattrs"
|
||||
DOWNLOAD="https://files.pythonhosted.org/packages/source/c/cattrs/cattrs-22.2.0.tar.gz"
|
||||
MD5SUM="4bb7397e38b7066ce7f5654ea9b5a9f2"
|
||||
DOWNLOAD="https://files.pythonhosted.org/packages/source/c/cattrs/cattrs-23.1.2.tar.gz"
|
||||
MD5SUM="7e37de3fa6496530f9dd74f0bf490889"
|
||||
DOWNLOAD_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"
|
||||
EMAIL="fourtysixandtwo@sliderr.net"
|
||||
|
|
Loading…
Reference in New Issue