aboutsummaryrefslogtreecommitdiff
path: root/python/python3-nltk
diff options
context:
space:
mode:
authorArTourter <artourter@gmail.com>2022-12-16 16:44:51 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-12-17 11:16:34 +0700
commit020144007b5902348b1db8927a402753e2effd6b (patch)
tree29519413789a376d35ce1dc3be4f054106dbea07 /python/python3-nltk
parent432c7d9969b5e3ada98e45694e1bdd717b643fa6 (diff)
python/python3-nltk: Updated for version 3.8.
Signed-off-by: ArTourter <artourter@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-nltk')
-rw-r--r--python/python3-nltk/python3-nltk.SlackBuild6
-rw-r--r--python/python3-nltk/python3-nltk.info6
2 files changed, 6 insertions, 6 deletions
diff --git a/python/python3-nltk/python3-nltk.SlackBuild b/python/python3-nltk/python3-nltk.SlackBuild
index 622e70dc727f..7b5f69af3c5f 100644
--- a/python/python3-nltk/python3-nltk.SlackBuild
+++ b/python/python3-nltk/python3-nltk.SlackBuild
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-nltk
-VERSION=${VERSION:-3.7}
+VERSION=${VERSION:-3.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -54,7 +54,7 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-DOCS="AUTHORS.md ChangeLog CONTRIBUTING.md LICENSE.txt PKG-INFO README.md RELEASE-HOWTO.txt SECURITY.md"
+DOCS="AUTHORS.md ChangeLog CONTRIBUTING.md LICENSE.txt README.md RELEASE-HOWTO.txt SECURITY.md"
set -e
@@ -62,7 +62,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$SRCVER
-unzip $CWD/$SRCNAM-$VERSION.zip
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$SRCVER
chown -R root:root .
diff --git a/python/python3-nltk/python3-nltk.info b/python/python3-nltk/python3-nltk.info
index 11b5ba41a2a7..3cff5e8efa23 100644
--- a/python/python3-nltk/python3-nltk.info
+++ b/python/python3-nltk/python3-nltk.info
@@ -1,8 +1,8 @@
PRGNAM="python3-nltk"
-VERSION="3.7"
+VERSION="3.8"
HOMEPAGE="http://www.nltk.org/"
-DOWNLOAD="https://pypi.python.org/packages/source/n/nltk/nltk-3.7.zip"
-MD5SUM="fbb8e6fce2d614b65bacfeb9880bcb44"
+DOWNLOAD="https://github.com/nltk/nltk/archive/refs/tags/3.8/nltk-3.8.tar.gz"
+MD5SUM="4f8f5e235e987eeae5c69c6b8009d2f4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python3-regex"