Browse Source
python/python3-gmpy2: Updated for version 2.2.1.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
pull/334/head
Antonio Leal
2 months ago
committed by
Willy Sudiarto Raharjo
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with
12 additions and
9 deletions
-
python/python3-gmpy2/python3-gmpy2.SlackBuild
-
python/python3-gmpy2/python3-gmpy2.info
|
|
|
@ -2,6 +2,7 @@ |
|
|
|
|
|
|
|
# Slackware build script for python3-gmpy2 |
|
|
|
|
|
|
|
# Copyright 2025 Antonio Leal, Porto Salvo, Oeiras, Portugal |
|
|
|
# Copyright 2019-2023, Alexander Verbovetsky, Moscow, Russia |
|
|
|
# All rights reserved. |
|
|
|
# |
|
|
|
@ -26,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) |
|
|
|
|
|
|
|
PRGNAM=python3-gmpy2 |
|
|
|
SRCNAM=gmpy2 |
|
|
|
VERSION=${VERSION:-2.1.5} |
|
|
|
VERSION=${VERSION:-2.2.1} |
|
|
|
BUILD=${BUILD:-1} |
|
|
|
TAG=${TAG:-_SBo} |
|
|
|
PKGTYPE=${PKGTYPE:-tgz} |
|
|
|
@ -63,6 +64,8 @@ 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 {} \; |
|
|
|
|
|
|
|
PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') |
|
|
|
export PYTHONPATH=/opt/python$PYVER/site-packages |
|
|
|
python3 setup.py install --root=$PKG |
|
|
|
|
|
|
|
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ |
|
|
|
@ -70,7 +73,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr |
|
|
|
|
|
|
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION |
|
|
|
chmod 644 docs/* |
|
|
|
cp -a README docs $PKG/usr/doc/$PRGNAM-$VERSION |
|
|
|
cp -a README.rst docs $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-gmpy2" |
|
|
|
VERSION="2.1.5" |
|
|
|
HOMEPAGE="https://github.com/aleaxit/gmpy" |
|
|
|
DOWNLOAD="https://files.pythonhosted.org/packages/d9/2e/2848cb5ab5240cb34b967602990450d0fd715f013806929b2f82821cef7f/gmpy2-2.1.5.tar.gz" |
|
|
|
MD5SUM="0cd8e9d89c2f9d018eb52d2983abaeb4" |
|
|
|
VERSION="2.2.1" |
|
|
|
HOMEPAGE="https://pypi.org/project/gmpy2/" |
|
|
|
DOWNLOAD="https://files.pythonhosted.org/packages/07/bd/c6c154ce734a3e6187871b323297d8e5f3bdf9feaafc5212381538bc19e4/gmpy2-2.2.1.tar.gz" |
|
|
|
MD5SUM="38961d26ff09cc70ff3cf07fcc892831" |
|
|
|
DOWNLOAD_x86_64="" |
|
|
|
MD5SUM_x86_64="" |
|
|
|
REQUIRES="" |
|
|
|
MAINTAINER="Alexander Verbovetsky" |
|
|
|
EMAIL="alik@ejik.org" |
|
|
|
REQUIRES="python3-setuptools-opt" |
|
|
|
MAINTAINER="Antonio Leal" |
|
|
|
EMAIL="antonioleal@yahoo.com" |