summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorArTourter <artourter@gmail.com>2018-07-06 22:57:38 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2018-07-06 22:57:38 +0100
commitd6cbf0061444312f847791aa4ec6f8080896a3c1 (patch)
tree7f2acf963cdf71ab910f402aa9ca42ec246e9046 /libraries
parentfcb5ffe83553a7cdfb6cc4fabcace6559e3d5992 (diff)
downloadslackbuilds-d6cbf0061444312f847791aa4ec6f8080896a3c1.tar.gz
libraries/nltk: Updated for version 3.3.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/nltk/nltk.SlackBuild11
-rw-r--r--libraries/nltk/nltk.info6
2 files changed, 9 insertions, 8 deletions
diff --git a/libraries/nltk/nltk.SlackBuild b/libraries/nltk/nltk.SlackBuild
index 6900e891da..96766d1ae2 100644
--- a/libraries/nltk/nltk.SlackBuild
+++ b/libraries/nltk/nltk.SlackBuild
@@ -23,13 +23,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=nltk
-VERSION=${VERSION:-3.2.5}
+VERSION=${VERSION:-3.3.0}
+SRCVER=3.3
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -47,9 +48,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$SRCVER
+unzip $CWD/$PRGNAM-$VERSION.zip
+cd $PRGNAM-$SRCVER
chown -R root:root .
find -L . \
diff --git a/libraries/nltk/nltk.info b/libraries/nltk/nltk.info
index 58ce9d3a0e..e274cd004b 100644
--- a/libraries/nltk/nltk.info
+++ b/libraries/nltk/nltk.info
@@ -1,8 +1,8 @@
PRGNAM="nltk"
-VERSION="3.2.5"
+VERSION="3.3.0"
HOMEPAGE="http://www.nltk.org/"
-DOWNLOAD="https://pypi.python.org/packages/cc/87/76e691bbf1759ad6af5831649aae6a8d2fa184a1bcc71018ca6300399e5f/nltk-3.2.5.tar.gz"
-MD5SUM="73a33f58da26a18e8d40ef630a40b599"
+DOWNLOAD="https://files.pythonhosted.org/packages/50/09/3b1755d528ad9156ee7243d52aa5cd2b809ef053a0f31b53d92853dd653a/nltk-3.3.0.zip"
+MD5SUM="1e014943287816f54f93ec7ee6bb891d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""