summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
Diffstat (limited to 'libraries')
-rw-r--r--libraries/nltk/README2
-rw-r--r--libraries/nltk/nltk.SlackBuild10
-rw-r--r--libraries/nltk/nltk.info6
-rw-r--r--libraries/nltk/slack-desc6
4 files changed, 12 insertions, 12 deletions
diff --git a/libraries/nltk/README b/libraries/nltk/README
index 89a521107d..28c46e61b9 100644
--- a/libraries/nltk/README
+++ b/libraries/nltk/README
@@ -5,3 +5,5 @@ 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".
+
+This package requires PyYAML.
diff --git a/libraries/nltk/nltk.SlackBuild b/libraries/nltk/nltk.SlackBuild
index 066843f49c..f3579adc99 100644
--- a/libraries/nltk/nltk.SlackBuild
+++ b/libraries/nltk/nltk.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for nltk.
#
-# Copyright 2009-2010 Marco Bonetti <sid77@slackware.it>
+# Copyright 2009-2011 Marco Bonetti <sid77@slackware.it>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,16 +23,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=nltk
-VERSION=0.9.8
+VERSION=2.0.1rc1
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -48,9 +46,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
+cd $TMP
rm -rf $PRGNAM-$VERSION
-tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz
+unzip $CWD/$PRGNAM-$VERSION.zip
cd $PRGNAM-$VERSION
chown -R root:root .
diff --git a/libraries/nltk/nltk.info b/libraries/nltk/nltk.info
index 5a5c9ff522..33c9794cd3 100644
--- a/libraries/nltk/nltk.info
+++ b/libraries/nltk/nltk.info
@@ -1,8 +1,8 @@
PRGNAM="nltk"
-VERSION="0.9.8"
+VERSION="2.0.1rc1"
HOMEPAGE="http://www.nltk.org/"
-DOWNLOAD="http://nltk.googlecode.com/files/nltk-0.9.8.tar.gz"
-MD5SUM="954f614754a0d7cb58c83b5ec485ddda"
+DOWNLOAD="http://nltk.googlecode.com/files/nltk-2.0.1rc1.zip"
+MD5SUM="72f745eefd659aea23a44bf1e47e7b9d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Marco Bonetti"
diff --git a/libraries/nltk/slack-desc b/libraries/nltk/slack-desc
index 884a5bfeb8..1269c89119 100644
--- a/libraries/nltk/slack-desc
+++ b/libraries/nltk/slack-desc
@@ -8,9 +8,9 @@
|-----handy-ruler------------------------------------------------------|
nltk: nltk (Natural Language ToolKit)
nltk:
-nltk: Open source Python modules, linguistic data and documentation for
-nltk: research and development in natural language processing, supporting
-nltk: dozens of NLP tasks, with distributions for Windows, Mac OSX and
+nltk: Open source Python modules, linguistic data and documentation for
+nltk: research and development in natural language processing, supporting
+nltk: dozens of NLP tasks, with distributions for Windows, Mac OSX and
nltk: Linux.
nltk:
nltk: