Browse Source

python3-nltk: add a recipe for version 3.9.1

The Natural Language Toolkit (NLTK) is a Python package for
natural language processing.

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Thomas Perrot 6 months ago
parent
commit
02673cbf61

+ 1 - 0
meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb

@@ -249,6 +249,7 @@ RDEPENDS:packagegroup-meta-python3 = "\
     python3-netaddr \
     python3-netifaces \
     python3-networkx \
+    python3-nltk \
     python3-nmap \
     python3-nocasedict \
     python3-nocaselist \

+ 24 - 0
meta-python/recipes-devtools/python3-nltk/python3-nltk_3.9.1.bb

@@ -0,0 +1,24 @@
+SUMMARY = "Natural Language Toolkit"
+DESCRIPTION = "NLTK is a leading platform for building Python programs to work \
+               with human language data. It provides easy-to-use interfaces to \
+               over 50 corpora and lexical resources such as WordNet"
+HOMEPAGE = "https://www.nltk.org"
+BUGTRACKER = "https://github.com/nltk/nltk/issues"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57"
+
+RDEPENDS:${PN} = "\
+    python3-click \
+    python3-joblib \
+    python3-tqdm \
+    python3-regex \
+    python3-xmlschema \
+"
+
+RRECOMMENDS:${PN} = "\
+    python3-numpy \
+"
+
+inherit setuptools3 pypi
+
+SRC_URI[sha256sum] = "87d127bd3de4bd89a4f81265e5fa59cb1b199b27440175370f7417d2bc7ae868"