summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorArTourter <artourter@gmail.com>2015-11-05 00:41:46 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-11-05 00:45:21 +0700
commitc0194da9ac0a00711c3b9f8ed064615da6b4b2ec (patch)
treee153bf3c9ffc277bf42eb1b1e395b805fc2c5650 /libraries
parent4d0bc5f7520418d9640c0a20d5b7502dcf08542d (diff)
downloadslackbuilds-c0194da9ac0a00711c3b9f8ed064615da6b4b2ec.tar.gz
libraries/nltk: Updated for version 3.1 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/nltk/README6
-rw-r--r--libraries/nltk/nltk.SlackBuild6
-rw-r--r--libraries/nltk/nltk.info12
3 files changed, 13 insertions, 11 deletions
diff --git a/libraries/nltk/README b/libraries/nltk/README
index 89a521107d..c04df602b5 100644
--- a/libraries/nltk/README
+++ b/libraries/nltk/README
@@ -3,5 +3,7 @@ and development in natural language processing, supporting dozens of NLP
tasks, with distributions for Windows, Mac OSX and Linux.
NLTK comes with many corpora, toy grammars, trained models, etc. A complete
-list is posted at: http://nltk.googlecode.com/svn/trunk/nltk_data/index.xml
-To retrieve all the data, use "python -m nltk.downloader all".
+list is posted at: http://nltk.org/nltk_data/. To retrieve all the data, use
+"python -m nltk.downloader all". To ensure system wideinstallation, you can
+run the command "python -m nltk.downloader -d /usr/share/nltk_data all" as
+root.
diff --git a/libraries/nltk/nltk.SlackBuild b/libraries/nltk/nltk.SlackBuild
index add8d78623..16065ac337 100644
--- a/libraries/nltk/nltk.SlackBuild
+++ b/libraries/nltk/nltk.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=nltk
-VERSION=2.0.1rc1
+VERSION=${VERSION:-3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -40,7 +40,7 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-DOCS="LICENSE.txt PKG-INFO README.txt"
+DOCS="LICENSE.txt PKG-INFO INSTALL.txt"
set -e
@@ -48,7 +48,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-unzip $CWD/$PRGNAM-$VERSION.zip
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
diff --git a/libraries/nltk/nltk.info b/libraries/nltk/nltk.info
index 887ea0087e..fe501a360b 100644
--- a/libraries/nltk/nltk.info
+++ b/libraries/nltk/nltk.info
@@ -1,10 +1,10 @@
PRGNAM="nltk"
-VERSION="2.0.1rc1"
+VERSION="3.1"
HOMEPAGE="http://www.nltk.org/"
-DOWNLOAD="http://nltk.googlecode.com/files/nltk-2.0.1rc1.zip"
-MD5SUM="72f745eefd659aea23a44bf1e47e7b9d"
+DOWNLOAD="https://pypi.python.org/packages/source/n/nltk/nltk-3.1.tar.gz"
+MD5SUM="05aa744cd17e21fb545681a06a265c36"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jdk PyYAML"
-MAINTAINER="Marco Bonetti"
-EMAIL="sid77@slackware.it"
+REQUIRES="pysetuptools"
+MAINTAINER="ArTourter"
+EMAIL="artourter@gmail.com"