From 02673cbf61cb737026674c697642b3dacb5bb6d0 Mon Sep 17 00:00:00 2001 From: Thomas Perrot Date: Wed, 20 Nov 2024 15:54:03 +0100 Subject: [PATCH] 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 Signed-off-by: Khem Raj --- .../packagegroups/packagegroup-meta-python.bb | 1 + .../python3-nltk/python3-nltk_3.9.1.bb | 24 +++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 meta-python/recipes-devtools/python3-nltk/python3-nltk_3.9.1.bb diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb index 8ee1cdc101..262ab1b3d1 100644 --- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +++ b/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 \ diff --git a/meta-python/recipes-devtools/python3-nltk/python3-nltk_3.9.1.bb b/meta-python/recipes-devtools/python3-nltk/python3-nltk_3.9.1.bb new file mode 100644 index 0000000000..464e578ba9 --- /dev/null +++ b/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"