python/python3-gmpy2: Updated for version 2.1.0rc1.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2021-10-18 09:03:22 +02:00 committed by Willy Sudiarto Raharjo
parent 9eb284a073
commit 42d0ebfae0
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 8 additions and 5 deletions

View File

@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-gmpy2
SRCNAM=gmpy2
VERSION=${VERSION:-2.0.8}
VERSION=${VERSION:-2.1.0rc1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -57,7 +57,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
unzip $CWD/$SRCNAM-$VERSION.zip
tar xf $CWD/$SRCNAM-$VERSION.tar.?z
cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
@ -66,6 +66,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 {} \;
# Symbols from the math library are also used
sed -i "s/'mpfr','gmp'/&,'m'/" setup.py
python3 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \

View File

@ -1,8 +1,8 @@
PRGNAM="python3-gmpy2"
VERSION="2.0.8"
VERSION="2.1.0rc1"
HOMEPAGE="https://github.com/aleaxit/gmpy"
DOWNLOAD="https://pypi.python.org/packages/source/g/gmpy2/gmpy2-2.0.8.zip"
MD5SUM="56d40bddcf8f22be0a36d60f764f3241"
DOWNLOAD="https://files.pythonhosted.org/packages/ea/65/cc97abe9dd0f22d3878a13138ea47d9fc7ff77b0cc16447a35ee777494e1/gmpy2-2.1.0rc1.tar.gz"
MD5SUM="a1555e0d7ca28b3a49c9a81aa06e2bb6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""