diff options
-rw-r--r-- | libraries/nltk/slack-desc | 19 | ||||
-rw-r--r-- | python/python3-nltk/README (renamed from libraries/nltk/README) | 0 | ||||
-rw-r--r-- | python/python3-nltk/python3-nltk.SlackBuild (renamed from libraries/nltk/nltk.SlackBuild) | 14 | ||||
-rw-r--r-- | python/python3-nltk/python3-nltk.info (renamed from libraries/nltk/nltk.info) | 2 | ||||
-rw-r--r-- | python/python3-nltk/slack-desc | 19 |
5 files changed, 28 insertions, 26 deletions
diff --git a/libraries/nltk/slack-desc b/libraries/nltk/slack-desc deleted file mode 100644 index 06e2f0f126a2e..0000000000000 --- a/libraries/nltk/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. -# Line up the first '|' above the ':' following the base package name, and -# the '|' on the right side marks the last column you can put a character in. -# You must make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----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: Linux. -nltk: -nltk: -nltk: -nltk: -nltk: diff --git a/libraries/nltk/README b/python/python3-nltk/README index 8d8102f681b7e..8d8102f681b7e 100644 --- a/libraries/nltk/README +++ b/python/python3-nltk/README diff --git a/libraries/nltk/nltk.SlackBuild b/python/python3-nltk/python3-nltk.SlackBuild index 90915519ad089..622e70dc727f4 100644 --- a/libraries/nltk/nltk.SlackBuild +++ b/python/python3-nltk/python3-nltk.SlackBuild @@ -1,6 +1,6 @@ #!/bin/bash -# Slackware build script for nltk. +# Slackware build script for python3-nltk. # # Copyright 2009-2011 Marco Bonetti <sid77@slackware.it> # Copyright 2015-2022 Gregory J. L. Tourte <artourter@gmail.com> @@ -25,13 +25,15 @@ cd $(dirname $0) ; CWD=$(pwd) -PRGNAM=nltk +PRGNAM=python3-nltk VERSION=${VERSION:-3.7} -SRCVER=$VERSION BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} +SRCNAM=nltk +SRCVER=$VERSION + if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; @@ -59,9 +61,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$SRCVER -unzip $CWD/$PRGNAM-$VERSION.zip -cd $PRGNAM-$SRCVER +rm -rf $SRCNAM-$SRCVER +unzip $CWD/$SRCNAM-$VERSION.zip +cd $SRCNAM-$SRCVER chown -R root:root . find -L . \ diff --git a/libraries/nltk/nltk.info b/python/python3-nltk/python3-nltk.info index d83ef645ef399..de3e09754e74b 100644 --- a/libraries/nltk/nltk.info +++ b/python/python3-nltk/python3-nltk.info @@ -1,4 +1,4 @@ -PRGNAM="nltk" +PRGNAM="python3-nltk" VERSION="3.7" HOMEPAGE="http://www.nltk.org/" DOWNLOAD="https://pypi.python.org/packages/source/n/nltk/nltk-3.7.zip" diff --git a/python/python3-nltk/slack-desc b/python/python3-nltk/slack-desc new file mode 100644 index 0000000000000..b5138d44d46e4 --- /dev/null +++ b/python/python3-nltk/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-nltk: nltk (Natural Language ToolKit) +python3-nltk: +python3-nltk: Open source Python modules, linguistic data and documentation for +python3-nltk: research and development in natural language processing, supporting +python3-nltk: dozens of NLP tasks, with distributions for Windows, Mac OSX and +python3-nltk: Linux. +python3-nltk: +python3-nltk: +python3-nltk: +python3-nltk: +python3-nltk: |