python/python-mpmath: Updated for version 1.3.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Alexander Verbovetsky 2023-03-11 21:18:26 +07:00 committed by Willy Sudiarto Raharjo
parent 630f61070f
commit 0968f99d64
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 8 additions and 8 deletions

View File

@ -3,7 +3,7 @@
# Slackware build script for python-mpmath
# Copyright SlackBuilds.org Project, David Melik, 2015, Spokane, WA, USA
# Copyright 2019-2022, Alexander Verbovetsky, Moscow, Russia
# Copyright 2019-2023, Alexander Verbovetsky, Moscow, Russia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -27,8 +27,8 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python-mpmath
SRCNAM=mpmath
VERSION=${VERSION:-1.2.1}
BUILD=${BUILD:-3}
VERSION=${VERSION:-1.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -80,7 +80,7 @@ find -L . \
python2 setup.py install --root=$PKG
find ./ -type f -name '*.py' -exec \
find -L ./ -type f -name '*.py' -exec \
sed -i -e 's|#!/usr/bin/python\>|#!/usr/bin/python3|' \
-e 's|#!/usr/bin/env python\>|#!/usr/bin/env python3|' {} \;
@ -90,7 +90,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 CHANGES LICENSE README.rst TODO $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README.rst $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View File

@ -1,8 +1,8 @@
PRGNAM="python-mpmath"
VERSION="1.2.1"
VERSION="1.3.0"
HOMEPAGE="http://mpmath.org/"
DOWNLOAD="https://files.pythonhosted.org/packages/95/ba/7384cb4db4ed474d4582944053549e02ec25da630810e4a23454bc9fa617/mpmath-1.2.1.tar.gz"
MD5SUM="ef8a6449851755319673b06f71731d52"
DOWNLOAD="https://mpmath.org/files/mpmath-1.3.0.tar.gz"
MD5SUM="d5d17bbefea73eeb959967351d905306"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python2-setuptools-scm"