diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2023-11-26 03:33:22 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-11-26 18:47:22 +0700 |
commit | fe477d9e45cebc61e6d5c8cc31f7e33ee3067220 (patch) | |
tree | 50f9af5f3416f0c88d53ee70d79439c9ab312d7b /python/PyStemmer | |
parent | 7d4b8f3ee369e834b31ae863adb14d063affe870 (diff) |
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>
Diffstat (limited to 'python/PyStemmer')
-rw-r--r-- | python/PyStemmer/PyStemmer.SlackBuild | 2 | ||||
-rw-r--r-- | python/PyStemmer/PyStemmer.info | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/python/PyStemmer/PyStemmer.SlackBuild b/python/PyStemmer/PyStemmer.SlackBuild index 74f2a668095d3..737d8fb9e2fc3 100644 --- a/python/PyStemmer/PyStemmer.SlackBuild +++ b/python/PyStemmer/PyStemmer.SlackBuild @@ -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 . \ diff --git a/python/PyStemmer/PyStemmer.info b/python/PyStemmer/PyStemmer.info index ed7e663dd3aee..3e90510d946ba 100644 --- a/python/PyStemmer/PyStemmer.info +++ b/python/PyStemmer/PyStemmer.info @@ -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="" |