python/PyStemmer: Avoid network access during build.

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Andrew Clemons 2023-11-26 03:33:22 -05:00 committed by Willy Sudiarto Raharjo
parent 7d4b8f3ee3
commit fe477d9e45
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 6 additions and 2 deletions

View File

@ -26,6 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=PyStemmer
VERSION=${VERSION:-2.2.0.1}
LIBSTEMMERC_VERSION=${LIBSTEMMERC_VERSION:-2.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -72,6 +73,7 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
tar xvf $CWD/libstemmer_c-$LIBSTEMMERC_VERSION.tar.gz
chown -R root:root .
find -L . \

View File

@ -1,8 +1,10 @@
PRGNAM="PyStemmer"
VERSION="2.2.0.1"
HOMEPAGE="https://github.com/snowballstem/pystemmer/"
DOWNLOAD="https://files.pythonhosted.org/packages/01/5e/d2db082b8da23972a434aeda9180864f825478b7bf3b5f035c2007e2a0bd/PyStemmer-2.2.0.1.tar.gz"
MD5SUM="d3359dabf9370fcb75770a8c688bdeb5"
DOWNLOAD="https://files.pythonhosted.org/packages/01/5e/d2db082b8da23972a434aeda9180864f825478b7bf3b5f035c2007e2a0bd/PyStemmer-2.2.0.1.tar.gz \
https://snowballstem.org/dist/libstemmer_c-2.2.0.tar.gz"
MD5SUM="d3359dabf9370fcb75770a8c688bdeb5 \
a0add7c0ebdd8d18872a31199bf37f4d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""