summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author ArTourter2022-03-09 13:11:45 +0100
committer Willy Sudiarto Raharjo2022-03-09 15:29:27 +0100
commit5ec7152f67c7f52d66f957392809ca2b875051a0 (patch)
tree47855a8e92df5ae34e40812a8797aebc5d37a289
parent425f779b3280ed416e6f3cdab7bef93c2d77f648 (diff)
downloadslackbuilds-5ec7152f67c7f52d66f957392809ca2b875051a0.tar.gz
python/python3-nltk: renamed from libraries/ntlk
Signed-off-by: ArTourter <artourter@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/nltk/slack-desc19
-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-desc19
5 files changed, 28 insertions, 26 deletions
diff --git a/libraries/nltk/slack-desc b/libraries/nltk/slack-desc
deleted file mode 100644
index 06e2f0f126..0000000000
--- 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 8d8102f681..8d8102f681 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 90915519ad..622e70dc72 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 d83ef645ef..de3e09754e 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 0000000000..b5138d44d4
--- /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: