summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
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=""