summaryrefslogtreecommitdiff
path: root/dev-python/nltk
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-02-02 01:39:05 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-02-02 01:39:05 +0000
commitfcc5224904648a8e6eb528d7603154160a20022f (patch)
tree3bfce096b38a9cea8eed13fc70c1526c456e9abd /dev-python/nltk
parent2fd57282f0262ca084e05b0f2c63fbada395d02b (diff)
gentoo resync : 02.02.2022
Diffstat (limited to 'dev-python/nltk')
-rw-r--r--dev-python/nltk/Manifest14
-rw-r--r--dev-python/nltk/files/nltk-3.6.2-metadata.patch38
-rw-r--r--dev-python/nltk/files/nltk-3.6.5-test.patch28
-rw-r--r--dev-python/nltk/nltk-3.6.2-r1.ebuild61
-rw-r--r--dev-python/nltk/nltk-3.6.3.ebuild57
-rw-r--r--dev-python/nltk/nltk-3.6.4.ebuild57
-rw-r--r--dev-python/nltk/nltk-3.6.5.ebuild59
-rw-r--r--dev-python/nltk/nltk-3.6.6.ebuild61
-rw-r--r--dev-python/nltk/nltk-3.6.7.ebuild4
9 files changed, 3 insertions, 376 deletions
diff --git a/dev-python/nltk/Manifest b/dev-python/nltk/Manifest
index e6a420aa5615..91c7c8e735d8 100644
--- a/dev-python/nltk/Manifest
+++ b/dev-python/nltk/Manifest
@@ -1,15 +1,3 @@
-AUX nltk-3.6.2-metadata.patch 1166 BLAKE2B b87a79ec16da57add95b83857c285a1d3e4907b90e9a430750f2189579b9531d1d455837506f99251468a6b53a250e5d6ed1da298cffd1805f4818d7d303bc5d SHA512 d382da1e8cee0eef56c5e85bb4a57b7ee4f150a4f42043977351b940653eddec55e67d9c404b282f7591170a7f970648b496c88d383073f8b218fdd97323f121
-AUX nltk-3.6.5-test.patch 1178 BLAKE2B 18d498e60c47fab60eebd20ae8625d6a36235c78f538bf4f505fa84cec4f62c86ed187ac3598f6cc23b8b8ab0da3d4e55ace5a3b04b639431d4a33fbf987ece8 SHA512 f2333b42c1f744a9cf69d0048b1b56f26735da427b4669c27121b6418d116a3fc25cba92141d3d5f8f890eba683afdf6d92cd6296518928d11e0ea791b79ce20
-DIST nltk-3.6.2.tar.gz 2819833 BLAKE2B 9796822c35c524432e9790d0890b4388fbaa85b659e5415037422a22e8edbaf20775196b4416f441d62592b387066de9f7741b988c0d463349fc5c906bfd75b2 SHA512 3fd2cba52377613f35f6574f859482de987f969cfc8d4243a859be365ab1bd8300f9013dcedc6caeff7aa7fc035b331a47b557027209ca9a85b0cc7fbde44d6d
-DIST nltk-3.6.3.tar.gz 2824924 BLAKE2B fcab6647f43f4bf139857e9f4202aee688f564851976ed6a183e47361451fae771318346724e41f198b82cebdd5a47f151aaf932099143ef6faa2a77430fbfb4 SHA512 fe7244967df018670501304d1a8aa50a0f4d42bb0c73cc5e202eeab6a0f5da1eaed9b961f6026e3b8ae4b0393d788bcb58b263ba22a3ce6f5644022736035f98
-DIST nltk-3.6.4.tar.gz 2828051 BLAKE2B f757c9c6d0b5ab6105e90e1a46fc6671d5f661f9b1b58026ccb43c00ff4969a98cbc2005670e0a81218ef4d18e45c37bb380c53be4ca60984344b11a0c8dbc54 SHA512 ba9acaa596c7f9246cd2f8da37b58146021dc2c246306fab68a37ef833a5a346b1aa7033d43b9e72b52aeda1cf8e303c7c690d1ca439f6f58dc673aa63a37298
-DIST nltk-3.6.5.tar.gz 2830237 BLAKE2B 9396e916fa847af727f1ca52075aed0bf708266512e62fd3f4c64bb3a5be3f2e7d6820108ab5418f6c6d44626de6fe7be9831a5acd33e6ebb898d910b1d68e91 SHA512 5614eca28576ba8783f847ec7a149ea4b83d57bb8af0f7af79ccdd75234b9f1cf957c63cb4b178f5455e2311da430344d8209b081a7097759959857ffb10005e
-DIST nltk-3.6.6.tar.gz 2847793 BLAKE2B 63807a39752be582ec8a4bb5edc1b89552b47a7743f5c0661bf3334febbf499e174f5e334d7669352cb81543c3f885168f1cf0fed993f2b54e3d7524c7a0bec0 SHA512 0b39eeb039d8b42d063aadf251aa3cb80b5aaee9171554009b282df70a0d6e3f7d335534b82cb8c5b474de28b37b0a38ef62d580d1145fba1effd54fb770bc5d
DIST nltk-3.6.7.tar.gz 2848416 BLAKE2B 8bc6672c17741c93da15b3c4ec9af484915ffd9fc857dbbfa94d949063c8e44c5f672e076b69213a033b7bec8e14baa099c69748eef4688fa09635de662f5037 SHA512 07f117835e1bf99d73a03f1279da0104a955e36f41c9648be19652481c58758900d5d2ff4633203254cee1e27c6cc129fe5d6e388de0711f2052e3e76a746edf
-EBUILD nltk-3.6.2-r1.ebuild 1634 BLAKE2B 85e25a760e7c94b0b4cf463d7ab89eb34a7d235a984dbed139da6cc0f151449f670a46edd3831e7866c16a37aa3fd569aac82317ec5b07bea00712f35c83038c SHA512 02a73f3ec7e43072b6200f9b65e28a1bbdc63efa23ee79508c8eb3caa25aa7f265562561ae54bf9e35dcc92e52ba98b698e89f82303949da016186c1fafb9602
-EBUILD nltk-3.6.3.ebuild 1588 BLAKE2B 8f84fa992e8b0c66338d34f070525b0dffb12ee67db46afee7f15e9816bbf543f1545e011b033baca9b21b162d2b1a11d7b9377fd638a92810d899657f51d53d SHA512 a56930b8055184d820bdbcd2a3bcdbe056957d9707319b31b0282514471a41ca539e406da318001b647e2b50daa1ed075eeacee529270c58969ee9570522f0b3
-EBUILD nltk-3.6.4.ebuild 1588 BLAKE2B 8f84fa992e8b0c66338d34f070525b0dffb12ee67db46afee7f15e9816bbf543f1545e011b033baca9b21b162d2b1a11d7b9377fd638a92810d899657f51d53d SHA512 a56930b8055184d820bdbcd2a3bcdbe056957d9707319b31b0282514471a41ca539e406da318001b647e2b50daa1ed075eeacee529270c58969ee9570522f0b3
-EBUILD nltk-3.6.5.ebuild 1573 BLAKE2B f7a727c64cfdc6304534c42311cea15e3111dda24b6aed909a12b2be8acb994a7e3fa4352e8422ac1855715615aa1a33e823d8f818dd259b02de950886859efb SHA512 62b52f1a52bc7ef661a592ecdd867b7a6782db4c38d12a9f4ca5162976fd2d6ecfdb5f2e24ab82602505917ed2340ff21f0bc86ab43ba0f1b432dd694e28f387
-EBUILD nltk-3.6.6.ebuild 1709 BLAKE2B e82f62c7342c4f6ff19ba93e414c220b711332d6d251e91567b58f24e149ac588025c9fb64f5aca9d79ecebece637e1a8c8a5d13cc2a83e5d285dbe0355c82c1 SHA512 d284e6658716115ac89ca6a6ae864ef57a4d30d53d4836b8e1ab19d30f8f286a1dbbb532cd1ed51b347a468990965778fc95cabf0f82f8942a35f024adb0c1ff
-EBUILD nltk-3.6.7.ebuild 1711 BLAKE2B 12b8920aabb3a2627b20fcacd819cfe6e13d94ee30954151ca4e2d4f9f332becd23aa88da6f81d79d25a8725bde7b0acea0bdaa6432b88749298fcecf10ea6f8 SHA512 5b64de91071339bedcf51437c4752973865abe59f23c0645ace1a6163adfb61e703145557d212485191df3478a743d04166942372fc81c5251d3404ed4cf9817
+EBUILD nltk-3.6.7.ebuild 1709 BLAKE2B e82f62c7342c4f6ff19ba93e414c220b711332d6d251e91567b58f24e149ac588025c9fb64f5aca9d79ecebece637e1a8c8a5d13cc2a83e5d285dbe0355c82c1 SHA512 d284e6658716115ac89ca6a6ae864ef57a4d30d53d4836b8e1ab19d30f8f286a1dbbb532cd1ed51b347a468990965778fc95cabf0f82f8942a35f024adb0c1ff
MISC metadata.xml 430 BLAKE2B 9c67c091a126c4af98c56de2d8227c1da65fbfad00671825642daefa117d711475b804bd90d72345e43d519a9219e195c1de1579dd6d60f6663c9813fc9c0d81 SHA512 5707c61031544a51e298d9c4c70685011f06b9d65c2370ecba6ecc23491c92fcc30988b6c0c28cb16f21eddebe412fff978a8f9661e5e95b9cff249f81420018
diff --git a/dev-python/nltk/files/nltk-3.6.2-metadata.patch b/dev-python/nltk/files/nltk-3.6.2-metadata.patch
deleted file mode 100644
index 32d4c183000b..000000000000
--- a/dev-python/nltk/files/nltk-3.6.2-metadata.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From f8d834d9ac1e5b26f04cebd8ca6f07ed15935e70 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
-Date: Sat, 29 May 2021 18:32:53 +0200
-Subject: [PATCH] setup.py: fix python_requires
-
-Fix python_requires to specify a valid version. Apparently, combining
->= and .* is disallowed, and I'm pretty sure 'just' >=3.5 means
-the same.
-
-To reproduce the problem, you can:
-
- $ pip install nltk distlib
- $ python -c "import distlib.database; \
- distlib.database.DistributionPath().get_distribution('nltk')"
-
-which yields a (not very readable) error of:
-
- ValueError: '.*' not allowed for '>=' constraints
----
- setup.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/setup.py b/setup.py
-index 49dc08098..7be160494 100644
---- a/setup.py
-+++ b/setup.py
-@@ -108,7 +108,7 @@ natural language processing. NLTK requires Python 3.5, 3.6, 3.7, 3.8, or 3.9.""
- "Topic :: Text Processing :: Linguistic",
- ],
- package_data={"nltk": ["test/*.doctest", "VERSION"]},
-- python_requires='>=3.5.*',
-+ python_requires='>=3.5',
- install_requires=[
- "click",
- "joblib",
---
-2.31.1
-
diff --git a/dev-python/nltk/files/nltk-3.6.5-test.patch b/dev-python/nltk/files/nltk-3.6.5-test.patch
deleted file mode 100644
index ea4d9512fa74..000000000000
--- a/dev-python/nltk/files/nltk-3.6.5-test.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From 9502cb3b5e43a787a16bc2f63ec34c69f9b151c6 Mon Sep 17 00:00:00 2001
-From: Tom Aarsen <Cubiegamedev@gmail.com>
-Date: Tue, 19 Oct 2021 16:49:36 +0200
-Subject: [PATCH] Skip doctest for printing out stopword languages
-
-People with outdated nltk_data will fail these tests, and this test is very vulnerable to updates in nltk_data
----
- nltk/test/corpus.doctest | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/nltk/test/corpus.doctest b/nltk/test/corpus.doctest
-index 536ef452f..47a6fea2f 100644
---- a/nltk/test/corpus.doctest
-+++ b/nltk/test/corpus.doctest
-@@ -385,8 +385,8 @@ examples illustrate the use of the wordlist corpora:
- >>> words.words('en')
- ['A', 'a', 'aa', 'aal', 'aalii', 'aam', 'Aani', 'aardvark', 'aardwolf', ...]
-
-- >>> stopwords.fileids()
-- ['arabic', 'azerbaijani', 'danish', 'dutch', 'english', 'finnish', 'french', ...]
-+ >>> stopwords.fileids() # doctest: +SKIP
-+ ['arabic', 'azerbaijani', 'bengali', 'danish', 'dutch', 'english', 'finnish', 'french', ...]
- >>> sorted(stopwords.words('portuguese'))
- ['a', 'ao', 'aos', 'aquela', 'aquelas', 'aquele', 'aqueles', ...]
- >>> names.fileids()
---
-2.34.1
-
diff --git a/dev-python/nltk/nltk-3.6.2-r1.ebuild b/dev-python/nltk/nltk-3.6.2-r1.ebuild
deleted file mode 100644
index 12f9e177ad86..000000000000
--- a/dev-python/nltk/nltk-3.6.2-r1.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..10} )
-PYTHON_REQ_USE="sqlite,tk?,xml(+)"
-
-inherit distutils-r1
-
-DESCRIPTION="Natural Language Toolkit"
-HOMEPAGE="https://www.nltk.org/ https://github.com/nltk/nltk/"
-SRC_URI="https://github.com/nltk/nltk/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris"
-IUSE="tk"
-
-RDEPEND="
- dev-python/click[${PYTHON_USEDEP}]
- dev-python/joblib[${PYTHON_USEDEP}]
- dev-python/regex[${PYTHON_USEDEP}]
- dev-python/tqdm[${PYTHON_USEDEP}]
-"
-BDEPEND="
- test? (
- dev-python/joblib[${PYTHON_USEDEP}]
- >=dev-python/nltk-data-20200312-r1
- dev-python/numpy[${PYTHON_USEDEP}]
- dev-python/pyparsing[${PYTHON_USEDEP}]
- dev-python/pytest-mock[${PYTHON_USEDEP}]
- dev-python/twython[${PYTHON_USEDEP}]
- sci-libs/scikit-learn[${PYTHON_USEDEP}]
- dev-python/scipy[${PYTHON_USEDEP}]
- )"
-PDEPEND="dev-python/nltk-data"
-
-distutils_enable_tests pytest
-
-PATCHES=(
- "${FILESDIR}"/${P}-metadata.patch
-)
-
-src_prepare() {
- # requires unpackaged pycrfsuite
- sed -i -e '/>>>/s@$@ # doctest: +SKIP@' nltk/tag/crf.py || die
- # replace fetching from network with duplicate file URL
- sed -e 's@https://raw.githubusercontent.com/nltk/nltk/develop/nltk/test/toy.cfg@nltk:grammars/sample_grammars/toy.cfg@' \
- -i nltk/test/data.doctest || die
- # requires X and hangs in Xvfb
- sed -e 's:test_plot:_&:' \
- -i nltk/test/unit/test_cfd_mutation.py || die
-
- distutils-r1_src_prepare
-}
-
-src_test() {
- cd nltk/test || die
- distutils-r1_src_test
-}
diff --git a/dev-python/nltk/nltk-3.6.3.ebuild b/dev-python/nltk/nltk-3.6.3.ebuild
deleted file mode 100644
index 11dd1a3283d2..000000000000
--- a/dev-python/nltk/nltk-3.6.3.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-PYTHON_REQ_USE="sqlite,tk?,xml(+)"
-
-inherit distutils-r1
-
-DESCRIPTION="Natural Language Toolkit"
-HOMEPAGE="https://www.nltk.org/ https://github.com/nltk/nltk/"
-SRC_URI="https://github.com/nltk/nltk/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris"
-IUSE="tk"
-
-RDEPEND="
- dev-python/click[${PYTHON_USEDEP}]
- dev-python/joblib[${PYTHON_USEDEP}]
- dev-python/regex[${PYTHON_USEDEP}]
- dev-python/tqdm[${PYTHON_USEDEP}]
-"
-BDEPEND="
- test? (
- dev-python/joblib[${PYTHON_USEDEP}]
- >=dev-python/nltk-data-20200312-r1
- dev-python/numpy[${PYTHON_USEDEP}]
- dev-python/pyparsing[${PYTHON_USEDEP}]
- dev-python/pytest-mock[${PYTHON_USEDEP}]
- dev-python/twython[${PYTHON_USEDEP}]
- sci-libs/scikit-learn[${PYTHON_USEDEP}]
- dev-python/scipy[${PYTHON_USEDEP}]
- )"
-PDEPEND="dev-python/nltk-data"
-
-distutils_enable_tests pytest
-
-src_prepare() {
- # requires unpackaged pycrfsuite
- sed -i -e '/>>>/s@$@ # doctest: +SKIP@' nltk/tag/crf.py || die
- # replace fetching from network with duplicate file URL
- sed -e 's@https://raw.githubusercontent.com/nltk/nltk/develop/nltk/test/toy.cfg@nltk:grammars/sample_grammars/toy.cfg@' \
- -i nltk/test/data.doctest || die
- # requires X and hangs in Xvfb
- sed -e 's:test_plot:_&:' \
- -i nltk/test/unit/test_cfd_mutation.py || die
-
- distutils-r1_src_prepare
-}
-
-src_test() {
- cd nltk/test || die
- distutils-r1_src_test
-}
diff --git a/dev-python/nltk/nltk-3.6.4.ebuild b/dev-python/nltk/nltk-3.6.4.ebuild
deleted file mode 100644
index 11dd1a3283d2..000000000000
--- a/dev-python/nltk/nltk-3.6.4.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-PYTHON_REQ_USE="sqlite,tk?,xml(+)"
-
-inherit distutils-r1
-
-DESCRIPTION="Natural Language Toolkit"
-HOMEPAGE="https://www.nltk.org/ https://github.com/nltk/nltk/"
-SRC_URI="https://github.com/nltk/nltk/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris"
-IUSE="tk"
-
-RDEPEND="
- dev-python/click[${PYTHON_USEDEP}]
- dev-python/joblib[${PYTHON_USEDEP}]
- dev-python/regex[${PYTHON_USEDEP}]
- dev-python/tqdm[${PYTHON_USEDEP}]
-"
-BDEPEND="
- test? (
- dev-python/joblib[${PYTHON_USEDEP}]
- >=dev-python/nltk-data-20200312-r1
- dev-python/numpy[${PYTHON_USEDEP}]
- dev-python/pyparsing[${PYTHON_USEDEP}]
- dev-python/pytest-mock[${PYTHON_USEDEP}]
- dev-python/twython[${PYTHON_USEDEP}]
- sci-libs/scikit-learn[${PYTHON_USEDEP}]
- dev-python/scipy[${PYTHON_USEDEP}]
- )"
-PDEPEND="dev-python/nltk-data"
-
-distutils_enable_tests pytest
-
-src_prepare() {
- # requires unpackaged pycrfsuite
- sed -i -e '/>>>/s@$@ # doctest: +SKIP@' nltk/tag/crf.py || die
- # replace fetching from network with duplicate file URL
- sed -e 's@https://raw.githubusercontent.com/nltk/nltk/develop/nltk/test/toy.cfg@nltk:grammars/sample_grammars/toy.cfg@' \
- -i nltk/test/data.doctest || die
- # requires X and hangs in Xvfb
- sed -e 's:test_plot:_&:' \
- -i nltk/test/unit/test_cfd_mutation.py || die
-
- distutils-r1_src_prepare
-}
-
-src_test() {
- cd nltk/test || die
- distutils-r1_src_test
-}
diff --git a/dev-python/nltk/nltk-3.6.5.ebuild b/dev-python/nltk/nltk-3.6.5.ebuild
deleted file mode 100644
index 43948dca5fb9..000000000000
--- a/dev-python/nltk/nltk-3.6.5.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-PYTHON_REQ_USE="sqlite,tk?,xml(+)"
-
-inherit distutils-r1
-
-DESCRIPTION="Natural Language Toolkit"
-HOMEPAGE="https://www.nltk.org/ https://github.com/nltk/nltk/"
-SRC_URI="https://github.com/nltk/nltk/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris"
-IUSE="tk"
-
-RDEPEND="
- dev-python/click[${PYTHON_USEDEP}]
- dev-python/joblib[${PYTHON_USEDEP}]
- dev-python/regex[${PYTHON_USEDEP}]
- dev-python/tqdm[${PYTHON_USEDEP}]
-"
-BDEPEND="
- test? (
- dev-python/joblib[${PYTHON_USEDEP}]
- >=dev-python/nltk-data-20200312-r1
- dev-python/numpy[${PYTHON_USEDEP}]
- dev-python/pyparsing[${PYTHON_USEDEP}]
- dev-python/pytest-mock[${PYTHON_USEDEP}]
- dev-python/twython[${PYTHON_USEDEP}]
- sci-libs/scikit-learn[${PYTHON_USEDEP}]
- dev-python/scipy[${PYTHON_USEDEP}]
- dev-python/matplotlib[${PYTHON_USEDEP}]
- )"
-PDEPEND="dev-python/nltk-data"
-
-distutils_enable_tests pytest
-
-src_prepare() {
- local PATCHES=(
- "${FILESDIR}"/${P}-test.patch
- )
-
- # requires unpackaged pycrfsuite
- sed -i -e '/>>>/s@$@ # doctest: +SKIP@' nltk/tag/crf.py || die
- # replace fetching from network with duplicate file URL
- sed -e 's@https://raw.githubusercontent.com/nltk/nltk/develop/nltk/test/toy.cfg@nltk:grammars/sample_grammars/toy.cfg@' \
- -i nltk/test/data.doctest || die
-
- distutils-r1_src_prepare
-}
-
-src_test() {
- cd nltk/test || die
- distutils-r1_src_test
-}
diff --git a/dev-python/nltk/nltk-3.6.6.ebuild b/dev-python/nltk/nltk-3.6.6.ebuild
deleted file mode 100644
index 186d7f12a356..000000000000
--- a/dev-python/nltk/nltk-3.6.6.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-PYTHON_REQ_USE="sqlite,tk?,xml(+)"
-
-inherit distutils-r1
-
-DESCRIPTION="Natural Language Toolkit"
-HOMEPAGE="https://www.nltk.org/ https://github.com/nltk/nltk/"
-SRC_URI="https://github.com/nltk/nltk/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris"
-IUSE="tk"
-
-RDEPEND="
- dev-python/click[${PYTHON_USEDEP}]
- dev-python/joblib[${PYTHON_USEDEP}]
- dev-python/regex[${PYTHON_USEDEP}]
- dev-python/tqdm[${PYTHON_USEDEP}]
-"
-BDEPEND="
- test? (
- dev-python/joblib[${PYTHON_USEDEP}]
- >=dev-python/nltk-data-20211221
- dev-python/numpy[${PYTHON_USEDEP}]
- dev-python/pyparsing[${PYTHON_USEDEP}]
- dev-python/pytest-mock[${PYTHON_USEDEP}]
- dev-python/twython[${PYTHON_USEDEP}]
- sci-libs/scikit-learn[${PYTHON_USEDEP}]
- dev-python/scipy[${PYTHON_USEDEP}]
- dev-python/matplotlib[${PYTHON_USEDEP}]
- )"
-PDEPEND="dev-python/nltk-data"
-
-distutils_enable_tests pytest
-
-EPYTEST_DESELECT=(
- # Internet
- unit/test_downloader.py::test_downloader_using_existing_parent_download_dir
- unit/test_downloader.py::test_downloader_using_non_existing_parent_download_dir
-)
-
-src_prepare() {
- # requires unpackaged pycrfsuite
- sed -i -e '/>>>/s@$@ # doctest: +SKIP@' nltk/tag/crf.py || die
- # replace fetching from network with duplicate file URL
- sed -e 's@https://raw.githubusercontent.com/nltk/nltk/develop/nltk/test/toy.cfg@nltk:grammars/sample_grammars/toy.cfg@' \
- -i nltk/test/data.doctest || die
-
- distutils-r1_src_prepare
-}
-
-src_test() {
- cd nltk/test || die
- distutils-r1_src_test
-}
diff --git a/dev-python/nltk/nltk-3.6.7.ebuild b/dev-python/nltk/nltk-3.6.7.ebuild
index 192950405d9d..186d7f12a356 100644
--- a/dev-python/nltk/nltk-3.6.7.ebuild
+++ b/dev-python/nltk/nltk-3.6.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/nltk/nltk/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris"
+KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris"
IUSE="tk"
RDEPEND="