aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArTourter <artourter@gmail.com>2024-08-23 22:25:40 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-08-24 08:24:44 +0700
commit2fb8e5323f7747af4cfb37df2795e2eecb756695 (patch)
treeee386a907e8f2404d68930995b8a378ef87f76c3
parentca55d0e22802a76112a71d078f4e4e1aa0e18b00 (diff)
python/python3-nltk: Updated for version 3.9.1.
Signed-off-by: ArTourter <artourter@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/python3-nltk/python3-nltk.SlackBuild10
-rw-r--r--python/python3-nltk/python3-nltk.info6
2 files changed, 7 insertions, 9 deletions
diff --git a/python/python3-nltk/python3-nltk.SlackBuild b/python/python3-nltk/python3-nltk.SlackBuild
index 0654412bba40..396898e4cb21 100644
--- a/python/python3-nltk/python3-nltk.SlackBuild
+++ b/python/python3-nltk/python3-nltk.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for python3-nltk.
#
# Copyright 2009-2011 Marco Bonetti <sid77@slackware.it>
-# Copyright 2015-2023 Gregory J. L. Tourte <artourter@gmail.com>
+# Copyright 2015-2024 Gregory J. L. Tourte <artourter@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-nltk
-VERSION=${VERSION:-3.8.1}
+VERSION=${VERSION:-3.9.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -67,10 +67,8 @@ cd $SRCNAM-$SRCVER
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
python3 -m build --no-isolation
python3 -m installer -d "$PKG" dist/*.whl
diff --git a/python/python3-nltk/python3-nltk.info b/python/python3-nltk/python3-nltk.info
index 171e4c3bdc3a..19b65e01e4e2 100644
--- a/python/python3-nltk/python3-nltk.info
+++ b/python/python3-nltk/python3-nltk.info
@@ -1,8 +1,8 @@
PRGNAM="python3-nltk"
-VERSION="3.8.1"
+VERSION="3.9.1"
HOMEPAGE="http://www.nltk.org/"
-DOWNLOAD="https://github.com/nltk/nltk/archive/refs/tags/3.8.1/nltk-3.8.1.tar.gz"
-MD5SUM="e8a74c5fd3ac8f789768636f20cba998"
+DOWNLOAD="https://github.com/nltk/nltk/archive/3.9.1/nltk-3.9.1.tar.gz"
+MD5SUM="1efe6ad00b27f44708a22daefe84b947"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python3-regex python3-build python3-wheel"