[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/, profiles/

2023-01-18 Thread Michał Górny
commit: 49ef5c1e3cd02662aaa2368a262b41c8263a5cda
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jan 19 06:16:53 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jan 19 06:16:53 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49ef5c1e

dev-python/nltk: Remove last-rited pkg

Closes: https://bugs.gentoo.org/886203
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/nltk/Manifest|  1 -
 dev-python/nltk/metadata.xml| 14 --
 dev-python/nltk/nltk-3.7.ebuild | 62 -
 profiles/package.mask   |  1 -
 4 files changed, 78 deletions(-)

diff --git a/dev-python/nltk/Manifest b/dev-python/nltk/Manifest
deleted file mode 100644
index ef1d47b1d343..
--- a/dev-python/nltk/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST nltk-3.7.tar.gz 2851947 BLAKE2B 
4cd4fed9f26de7996bcabbd71d500c072489e79ae0edb29f09577e465227c948efa7130af6975b029e77fb79db015437a9e3311eb28048d02dcc2356441d0908
 SHA512 
66d79afa59f18f2bf7d086dcb22813c7b92239c05669daa62866dbda06c0ca22367317749cf19db3e41a7bdb405d4f87f72b695aa58fd0669bf36de64f1f9888

diff --git a/dev-python/nltk/metadata.xml b/dev-python/nltk/metadata.xml
deleted file mode 100644
index c0f249f45d9f..
--- a/dev-python/nltk/metadata.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-
-https://www.gentoo.org/dtd/metadata.dtd;>
-
-   
-   pyt...@gentoo.org
-   Python
-   
-   
-   
-   nltk
-   nltk
-   nltk/nltk
-   
-

diff --git a/dev-python/nltk/nltk-3.7.ebuild b/dev-python/nltk/nltk-3.7.ebuild
deleted file mode 100644
index 09aa17ecf9f4..
--- a/dev-python/nltk/nltk-3.7.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
-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 ~ppc64 ~riscv 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/profiles/package.mask b/profiles/package.mask
index ec154a9f72c4..e9ddd7aa0b7b 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -860,7 +860,6 @@ games-puzzle/mindless
 # is not a feasible long-term solution.
 #
 # Removal on 2023-01-15.  Bug #886203.
-dev-python/nltk
 dev-python/nltk-data
 
 # Jaco Kroon  (2022-12-14)



[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk-data/

2022-12-06 Thread Sam James
commit: 0064b2519dafda70c1529ebb2bd396cbeea5d244
Author: Sam James  gentoo  org>
AuthorDate: Tue Dec  6 13:08:22 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Dec  6 14:54:43 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0064b251

dev-python/nltk-data: link to upstream bug re LICENSE

Signed-off-by: Sam James  gentoo.org>

 dev-python/nltk-data/nltk-data-20221108.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/nltk-data/nltk-data-20221108.ebuild 
b/dev-python/nltk-data/nltk-data-20221108.ebuild
index 44624c3de360..94c3c1e478d7 100644
--- a/dev-python/nltk-data/nltk-data-20221108.ebuild
+++ b/dev-python/nltk-data/nltk-data-20221108.ebuild
@@ -9,6 +9,7 @@ DESCRIPTION="Data files for NLTK"
 HOMEPAGE="https://www.nltk.org/nltk_data/;
 
 # at least some of the files have poorly documented licenses
+# https://github.com/nltk/nltk_data/issues/102
 # TODO: create a USE flag for free-ish subset
 LICENSE="all-rights-reserved"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/

2022-11-19 Thread Arthur Zamarin
commit: c63f9d8a4ae583d819acff32aa6d5ddf69418e67
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Nov 19 16:56:51 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Nov 19 16:56:51 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c63f9d8a

dev-python/nltk: Keyword 3.7 ppc64, #872680

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/nltk/nltk-3.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/nltk/nltk-3.7.ebuild b/dev-python/nltk/nltk-3.7.ebuild
index 0855f4a1b8fc..66c75c9b3b89 100644
--- a/dev-python/nltk/nltk-3.7.ebuild
+++ b/dev-python/nltk/nltk-3.7.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://github.com/nltk/nltk/archive/${PV}.tar.gz -> 
${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x86-solaris"
+KEYWORDS="amd64 ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~x86-solaris"
 IUSE="tk"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk-data/

2022-11-19 Thread Arthur Zamarin
commit: fc23b2f56ded733b993a1a5c7a1c045c0d61b7b7
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Nov 19 16:56:50 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Nov 19 16:56:50 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc23b2f5

dev-python/nltk-data: Keyword 20221108 ppc64, #872680

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/nltk-data/nltk-data-20221108.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/nltk-data/nltk-data-20221108.ebuild 
b/dev-python/nltk-data/nltk-data-20221108.ebuild
index 26c9531c0a33..44624c3de360 100644
--- a/dev-python/nltk-data/nltk-data-20221108.ebuild
+++ b/dev-python/nltk-data/nltk-data-20221108.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://www.nltk.org/nltk_data/;
 # TODO: create a USE flag for free-ish subset
 LICENSE="all-rights-reserved"
 SLOT="0"
-KEYWORDS="amd64 ~riscv x86"
+KEYWORDS="amd64 ~ppc64 ~riscv x86"
 IUSE="extra"
 RESTRICT="bindist mirror"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk-data/

2022-11-07 Thread Michał Górny
commit: e0e00d7718b35b3261959df268a6318e5911e652
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Nov  8 05:16:27 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Nov  8 05:17:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0e00d77

dev-python/nltk-data: Bump to 20221108 for changed files

Closes: https://bugs.gentoo.org/865693
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/nltk-data/Manifest  | 2 +-
 .../{nltk-data-20220704.ebuild => nltk-data-20221108.ebuild}   | 7 ++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/dev-python/nltk-data/Manifest b/dev-python/nltk-data/Manifest
index 4b5a3ffbec68..549228678b2a 100644
--- a/dev-python/nltk-data/Manifest
+++ b/dev-python/nltk-data/Manifest
@@ -67,7 +67,7 @@ DIST nltk-product_reviews_2-20200312.zip 170698 BLAKE2B 
395d5ac71b759a546a3e25fb
 DIST nltk-propbank-20200312.zip 5323498 BLAKE2B 
7abde7caca8fa267bdcfdacc507ecef133d80989909563380f9ac296213ddd94680c25b0e9eb339d2ed7f851eda185966f6be63ed86fae5d9d397d8758ec75bf
 SHA512 
6bb6f88648c1f6044d30dbc56ce1924240ddc1420c7abe8ebecf3684d69bc2dc20f1c575a6ae368a39fff40c5ef09f80d94bf317a37301639321085f102b54bf
 DIST nltk-pros_cons-20200312.zip 746276 BLAKE2B 
7a1aec593396f25c75949bde9627b0568e4d406fb2d42ccb6e7be6ff7d3b118bdfbf34b574e40cdb27d8e65e5a370f820c839bfbc0140b2b177c9dbdd89e3516
 SHA512 
9eea1070b67e648d5e6e84d5a336d95c9eb3192cd0fa4a66f298076ac5907783ecda5cfe1b6e66209a99ec4e32b14e1cc89ffb4cc8b2b91fed7db77db75f
 DIST nltk-ptb-20200312.zip 6289 BLAKE2B 
cc4c91569a5a9bad0f3cfce8e0d98179a53b3caddfb66ece085b293b882e46328a108c3be86261dfd869ea2fcc33d3687bc41adac3ada88ea748cd3480c88836
 SHA512 
dd59d84f20ec52c38063f0961954c063f614b94696307a63fae21839c51c81435d0205fa276f6811d9da7fd083e93f51f0603b5c35dcddc539a9bf59b9dffb6e
-DIST nltk-punkt-20200312.zip 13707633 BLAKE2B 
22a0b3aec8a72735fb39aeeb596601452a70cd69e91206e94c5204153da8dedea3b7ec00c460fe19962e223adfd9cffc05a00daa4df48e3f2da500da51e99d2f
 SHA512 
d477823c0cab57a374822cf58dd8bad35b86a504a51dda10de33b27cfd2ca4c89bba946c09f1ed3b28ab4d1cc1e5f3d3781c5f78ebe87458e1df9d48c8841782
+DIST nltk-punkt-20221108.zip 13905355 BLAKE2B 
648d0997e193cde81f838a67f914355ff107973b8858ac081b11c1ee39d23f0416b39ccee5df63a37574bac6f0e1ac2f50edc4092eda0f4c27d635f2759910a3
 SHA512 
faaf7f37d18a0ced9fc4fb513d703141115cf5a769531f84c8bb9f227b5ff99cb01957be49bffbf3a7131182d66793282044a431a6bf80b19dd7ce63e542e48e
 DIST nltk-qc-20200312.zip 125456 BLAKE2B 
ae02a2cd727e1832ede5fa5b3ef561059c9c714ced80bca311a360dacec6e176c034d802838335437cb8fa25ea877c3774fbac6790cdf6b9b75a3908e76e2dcd
 SHA512 
8cca288f51164f7a18e1c99f2b6a35a3d890bcc5471b5be26883dd87d9b5e06214d15cc1133598fee330f0daf74ceaaa862410f6d95dfd56842a2cb84dd67390
 DIST nltk-reuters-20200312.zip 6378691 BLAKE2B 
adcb783246f4fd6e73b32fa9419570d9c7e9ecff1c9e2ae39a587f9036ab5eaf9a6ed87b7794dfe2f0ba965cffca68e51c243e3396c179a0282555601caee55f
 SHA512 
21b5a4e114137cd8a52b6e3567c2d72dbe7eac8a3234952896126d9d598fbfa72a7c1e6b7c424b8b016ed345d7350cc562c6d039e2fd6ec0d73c68e13e58605e
 DIST nltk-rslp-20200312.zip 3805 BLAKE2B 
bf4500dd0e28cb4f018b8d13c5b920294163e7a9735dda12935f6b25ce5c71f2181e3bcb33444d490ba7bb1a029ef50dcdb2df4bddb09bfaf9d91b91531b8461
 SHA512 
83994b9cf2c925e559c68a03abb1499e3cd308fdb5ac6e698c3b5e2458393d9eae2420b02b4c46fd04527913133a1f19b3a2e5312f07e222e8cf072886f94973

diff --git a/dev-python/nltk-data/nltk-data-20220704.ebuild 
b/dev-python/nltk-data/nltk-data-20221108.ebuild
similarity index 97%
rename from dev-python/nltk-data/nltk-data-20220704.ebuild
rename to dev-python/nltk-data/nltk-data-20221108.ebuild
index fdbb6fd0da4e..26c9531c0a33 100644
--- a/dev-python/nltk-data/nltk-data-20220704.ebuild
+++ b/dev-python/nltk-data/nltk-data-20221108.ebuild
@@ -111,7 +111,6 @@ PACKAGES_UNPACK_2020=(
stemmers/rslp
taggers/averaged_perceptron_tagger
taggers/averaged_perceptron_tagger_ru
-   tokenizers/punkt
 )
 
 PACKAGES_UNPACK_2021_12=(
@@ -127,6 +126,10 @@ PACKAGES_UNPACK_2022=(
taggers/universal_tagset
 )
 
+PACKAGES_UNPACK_2022_11=(
+   tokenizers/punkt
+)
+
 PACKAGES_UNPACK_EXTRA_2020=(
chunkers/maxent_ne_chunker
corpora/biocreative_ppi
@@ -165,6 +168,7 @@ add_data() {
 add_data 20200312 "${PACKAGES_ZIP_2020[@]}" "${PACKAGES_UNPACK_2020[@]}"
 add_data 20211221 "${PACKAGES_UNPACK_2021_12[@]}"
 add_data 20220704 "${PACKAGES_UNPACK_2022[@]}"
+add_data 20221108 "${PACKAGES_UNPACK_2022_11[@]}"
 SRC_URI+="
extra? ("
 add_data 20200312 "${PACKAGES_UNPACK_EXTRA_2020[@]}"
@@ -194,6 +198,7 @@ src_unpack() {
unpack_data 20211023 "${PACKAGES_UNPACK_2021[@]}"
unpack_data 20211221 "${PACKAGES_UNPACK_2021_12[@]}"
unpack_data 20220704 "${PACKAGES_UNPACK_2022[@]}"
+   unpack_data 20221108 "${PACKAGES_UNPACK_2022_11[@]}"
if use extra; then
unpack_data 20200312 "${PACKAGES_UNPACK_EXTRA_2020[@]}"
fi


[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/

2022-10-28 Thread Andrew Ammerlaan
commit: 399e49ad6552c6f091e87b40210ee3517a406961
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Fri Oct 28 10:31:51 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Fri Oct 28 10:31:51 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=399e49ad

dev-python/nltk: enable py3.11

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/nltk/nltk-3.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/nltk/nltk-3.7.ebuild b/dev-python/nltk/nltk-3.7.ebuild
index 0eb34545c3f7..0855f4a1b8fc 100644
--- a/dev-python/nltk/nltk-3.7.ebuild
+++ b/dev-python/nltk/nltk-3.7.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{8..11} )
 PYTHON_REQ_USE="sqlite,tk?,xml(+)"
 
 inherit distutils-r1



[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk-data/

2022-07-07 Thread Michał Górny
commit: 1b704c5d34ba6eda30d9e2811b4bc97a84179071
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jul  7 15:44:13 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jul  7 19:06:39 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b704c5d

dev-python/nltk-data: Update to 20220704

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/nltk-data/Manifest  |   3 +
 dev-python/nltk-data/nltk-data-20220704.ebuild | 223 +
 2 files changed, 226 insertions(+)

diff --git a/dev-python/nltk-data/Manifest b/dev-python/nltk-data/Manifest
index 3a61ebbf461e..4dc34058effa 100644
--- a/dev-python/nltk-data/Manifest
+++ b/dev-python/nltk-data/Manifest
@@ -22,6 +22,7 @@ DIST nltk-crubadan-20200312.zip 5288655 BLAKE2B 
2f5103c9801b965ce5d893b690dedc5f
 DIST nltk-dependency_treebank-20200312.zip 457429 BLAKE2B 
a60a95f9bcbb72b4ee19a91c380eb620261687f23bd867ae4cf2d7937b60b8dacafb52c09d7bcbcb9fbbbda4e57954ee55a900d70e69e7e290e53c668dd0775f
 SHA512 
b225ace2e2413f0b9ae0e142d81052e64a1bcacb71caf7b07a577c18dec45dc429116abfd12edd3bb1442a111f4fa6e3e33e2b5f113e26dfc4e917268d821736
 DIST nltk-dolch-20200312.zip 2116 BLAKE2B 
a79b5d5de2ab03be43e5fdb1b34c70a458af6efce0e35f42f3c4d748c84cd950c98981f969fea2b0507ee405438f84b50e526aa94a93f99de7567ccb5c462215
 SHA512 
29254c95d11fd2001f486a5c682f7ab7f23fa13472ac4142db3702e2fa994f74ffabc2f571f1feb94a2e65fcb8da97c57a519f24504379b0e369fd27f9f867f0
 DIST nltk-europarl_raw-20200312.zip 12594977 BLAKE2B 
295e274880ae34c9618a70cabc1b1075e35c442158aabe437972caebbf36d09c4f5f5b66d8ae7ac953f4312f9dac8f5e0c6d3346a444afe98ac700fb3e622539
 SHA512 
47dcd5420df6ab294f75204355cf346257a821d491f65b856c41a77237df1d7aeb352ed1353da55bfb68fa9f0d8782b9aac9c33bd49af3b395cc780dc421e26d
+DIST nltk-extended_omw-20220704.zip 11251284 BLAKE2B 
11dafcc49c3608e5178b2cf82a943a95afd900f80308bf40d56b29a4518029832fe52241df728f6c38114e60b9c03617337717d987221918a11810b77b1b33ea
 SHA512 
b1f53bef1cc43a5bf9996cc037364f4668e1055385d43e3276a1c58e4345b6ee09d8b577ccdebe8e65bf3367b8da37c05c6dabd282e469808143805303bfeec5
 DIST nltk-floresta-20200312.zip 1882021 BLAKE2B 
092886cb15c6215b4fe979ce62a1a137de97c4749c372426211d36117d367697d19ebe6a9337f702ee9dfc133318b1e7de51393c5a41afc31a960e10ebe7c498
 SHA512 
1a71453b9629d622c3468b1e00501683e0415996a62a30c498486354b82f0b3be76080dddc60117c8c9f29de3b34a2166a5de87376a0daeaf8b92bfe5dac668a
 DIST nltk-framenet_v15-20200312.zip 69337891 BLAKE2B 
046087cb20013f3a597034458dd09b4cb7378b19f91f5ebf7196a92a02741a67b671f094262ac5d8e0e376743048c56dd1d65e6c37efb3b254bb3f8f6434addf
 SHA512 
4b55a435f17afbb9cf5fb59691a03776784830cfa6f1f7b9c9c64770fa6dbb640bb3256a099328e44a0a6692ed52703b9f253e5229ef71ee300ace34027ba462
 DIST nltk-framenet_v17-20200312.zip 99207152 BLAKE2B 
b1a32c535d37fddba5c77922f3a6097859d8bf59a4bcf37dca4ff394fcf027fc68d781b3b6c0a8d5cd9a423a944687994ec6a2023dd45808dc697b4c90f28286
 SHA512 
3696c5bb0fdd59058a8723ba3ca962a0d6422b36d8dcfad0427caa21dae9579b85f2f9af431aa1fc1cb76e823676a996c5a26aca99782017270d03ef3bd77f0d
@@ -83,6 +84,7 @@ DIST nltk-snowball_data-20200312.zip 6785405 BLAKE2B 
44c10439b142540ac7eece967ef
 DIST nltk-spanish_grammars-20200312.zip 4047 BLAKE2B 
d8a8dbb558850a6a60f1fe5ab0f617f3a0f3c64bc7d49980cf793d374c6679d1bd42afb7e61776737b5eec162f2520abf2ee3acc92ea9ee0f397c3089b3b5b28
 SHA512 
4513347156e9351c259c0e2448198d68354bbc95e0a54561c31a88f13f333ebcba3e294c820cb62036665f2904eb6a7137546cd580e361c0423c30a8aed950b2
 DIST nltk-state_union-20200312.zip 808757 BLAKE2B 
2d352af0ced736d3c11a821eaba0b035b3b5b6b0f20db3bd5d4ac2451f99daf68bffd3ad984bd404ecc4a1e67ca9281c529af2cc9e295a3a7330f36ee9640bc8
 SHA512 
a6fc83e6230e57ba66a7af62f0d2a5d44a14530ed1e0e914590b3f8b5bf939967c126a5e6f6899ba9134843893f65212e836d311109393c1200191a5c3163485
 DIST nltk-stopwords-20211023.zip 26220 BLAKE2B 
50219508c5fb24c1392064ea0546ca9060829f51689c0d626bb99e3fa8f712df98ed475fc0d27d99f934fb156ce65df91a8e7c22e1b4f1689fb0aea34a9e
 SHA512 
8308623953560281288b64e695638ca3fa28e1b6201b538d01650d6dfd08e821687217c8d012e93adfa2a48afebdda11af1bb86d638358c2931f36754d1e15ef
+DIST nltk-stopwords-20220704.zip 34276 BLAKE2B 
529a26163c01123bb9b800cfc8f7f5a23701246194c0b55012b418384ca48c56eb5c27a5f104e81ba974cec845e7025829e9d396a384d331903982cd29c98623
 SHA512 
8b76207f53d05c251aac078d9b8537f100a202cc2a43892af0c79da8d99ae8335225a1bc8a56f1be4cd1ef45c9c987b6c9c334e0f9fa59746bb33694c58a556b
 DIST nltk-subjectivity-20200312.zip 521628 BLAKE2B 
0a8777a5b91b1b825fbde41cc927d496480129f0a810349bddde2036ed16f37611f2bc3b007e74fe36523612529a92433d32d094be72d247f5faef8220c3c491
 SHA512 
a3cc4d2d20f26c5eabd86fbced2c013e69d46e607013278eb35831a62e57523a17aec1b580ba62c7a867e61a561e1b222d8430f0c1e2d429a9479e12b008c5b7
 DIST nltk-swadesh-20200312.zip 22828 BLAKE2B 
1cd9d5355c6b53694ec545ca001b0807b4912a7878ba075b0f81ce8b9b22a5c7a18cf52cf2449483a1c89cd20d8d86986dc3d827fa93a7ef5824fddbc0922025
 SHA512 

[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk-data/

2022-07-07 Thread Michał Górny
commit: f926c209b2283f63cc9e96edc88e85d902b08b5b
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jul  7 15:44:18 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jul  7 19:06:40 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f926c209

dev-python/nltk-data: Remove non-fetchable version

Closes: https://bugs.gentoo.org/856838
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/nltk-data/Manifest  |   2 -
 dev-python/nltk-data/nltk-data-20211221.ebuild | 210 -
 2 files changed, 212 deletions(-)

diff --git a/dev-python/nltk-data/Manifest b/dev-python/nltk-data/Manifest
index 4dc34058effa..4b5a3ffbec68 100644
--- a/dev-python/nltk-data/Manifest
+++ b/dev-python/nltk-data/Manifest
@@ -83,7 +83,6 @@ DIST nltk-smultron-20200312.zip 166207 BLAKE2B 
d0c3e75dd108965e260d913e0c02137da
 DIST nltk-snowball_data-20200312.zip 6785405 BLAKE2B 
44c10439b142540ac7eece967efa1431fd8f45342f0a90875dacf29ad374fe4c7d30af11d42ba45e0f1ec1836d56b2ff684ee352c5e8536cfb5db5eb7632285b
 SHA512 
6c8a9259d88f6f7f499867d83b731de99d7fa4e8827ecedf836f653fc1a810efa9f6c5c6e2720a9e6610bc00978956b6a119bd08b70e3e241c4e9faccddd81d8
 DIST nltk-spanish_grammars-20200312.zip 4047 BLAKE2B 
d8a8dbb558850a6a60f1fe5ab0f617f3a0f3c64bc7d49980cf793d374c6679d1bd42afb7e61776737b5eec162f2520abf2ee3acc92ea9ee0f397c3089b3b5b28
 SHA512 
4513347156e9351c259c0e2448198d68354bbc95e0a54561c31a88f13f333ebcba3e294c820cb62036665f2904eb6a7137546cd580e361c0423c30a8aed950b2
 DIST nltk-state_union-20200312.zip 808757 BLAKE2B 
2d352af0ced736d3c11a821eaba0b035b3b5b6b0f20db3bd5d4ac2451f99daf68bffd3ad984bd404ecc4a1e67ca9281c529af2cc9e295a3a7330f36ee9640bc8
 SHA512 
a6fc83e6230e57ba66a7af62f0d2a5d44a14530ed1e0e914590b3f8b5bf939967c126a5e6f6899ba9134843893f65212e836d311109393c1200191a5c3163485
-DIST nltk-stopwords-20211023.zip 26220 BLAKE2B 
50219508c5fb24c1392064ea0546ca9060829f51689c0d626bb99e3fa8f712df98ed475fc0d27d99f934fb156ce65df91a8e7c22e1b4f1689fb0aea34a9e
 SHA512 
8308623953560281288b64e695638ca3fa28e1b6201b538d01650d6dfd08e821687217c8d012e93adfa2a48afebdda11af1bb86d638358c2931f36754d1e15ef
 DIST nltk-stopwords-20220704.zip 34276 BLAKE2B 
529a26163c01123bb9b800cfc8f7f5a23701246194c0b55012b418384ca48c56eb5c27a5f104e81ba974cec845e7025829e9d396a384d331903982cd29c98623
 SHA512 
8b76207f53d05c251aac078d9b8537f100a202cc2a43892af0c79da8d99ae8335225a1bc8a56f1be4cd1ef45c9c987b6c9c334e0f9fa59746bb33694c58a556b
 DIST nltk-subjectivity-20200312.zip 521628 BLAKE2B 
0a8777a5b91b1b825fbde41cc927d496480129f0a810349bddde2036ed16f37611f2bc3b007e74fe36523612529a92433d32d094be72d247f5faef8220c3c491
 SHA512 
a3cc4d2d20f26c5eabd86fbced2c013e69d46e607013278eb35831a62e57523a17aec1b580ba62c7a867e61a561e1b222d8430f0c1e2d429a9479e12b008c5b7
 DIST nltk-swadesh-20200312.zip 22828 BLAKE2B 
1cd9d5355c6b53694ec545ca001b0807b4912a7878ba075b0f81ce8b9b22a5c7a18cf52cf2449483a1c89cd20d8d86986dc3d827fa93a7ef5824fddbc0922025
 SHA512 
90cb32532a5378d05ce34b84b5f8363dbb32f24afac58b0dcc5cdccba98fd7d37def7f4fbe76b11c8c64059bd19df745562bfbf5f4c721d65ce9f4be1348ab76
@@ -96,7 +95,6 @@ DIST nltk-twitter_samples-20200312.zip 16007673 BLAKE2B 
dc100181ff129c2e9774c643
 DIST nltk-udhr-20200312.zip 1170177 BLAKE2B 
cab5f8b4ffa9c0c303620a499f61bbe654545a5689aaa710df743054836a7843e826d97ee91f7b84ba2dcd32ffce432f1932c53797e791de2776eaf183870988
 SHA512 
730f83cb663974edc099427fad0a3c1cd16769f5ef82446a78aa0e12f01b68a4c52037bdb5e3717dd6b08c42655b03d9d0f2f5869c01b117ae2ab8a428df0dcc
 DIST nltk-udhr2-20200312.zip 1653975 BLAKE2B 
43ee8c9c490a6a8ee5f0d9273bab83f77ba3d977da7eaeded3239b8c16f3432ef36478d0d290b1df9fe9af4e0c5de1902b8fe699788b7681003e5c8c426574e3
 SHA512 
eda644aedba1d0b9d2605dc6b1c8c77943692b4404c4a9c904c82956432c9ba7e27bb0f496e63d3eef7f29b4b34eb929f8d9228b4fd56613d5d4f743fa1d87e0
 DIST nltk-unicode_samples-20200312.zip 1212 BLAKE2B 
715c6030baf56d766dce7b920500c29dc98ce4edc9b41fb4c858960a4630469fe5a269be6d0b2d33b54ee0208014b1e43f5d9ec49b878442963ea21e4e3acda6
 SHA512 
88cac1ef0f43fc491285c0638807f88f52d1baba8964cb2cf37c4ee3e8cd8c080071f108fb553fdc14ed17cb0e80343097c08ac7c1613b0abbd84f559e38fba8
-DIST nltk-universal_tagset-20200312.zip 19095 BLAKE2B 
179297dac3a6a30a4a55e8affb480cc95a7a1dd1ee0ac6a0d4381c655c5dbf065e16f750ebd28846299f114d3355a9edf6cbed72242ebf5fd257f339fcd8f40d
 SHA512 
ca8915e8c3bcb8515ffe0da21fb7066d213683ff702bf247d9fa9f7c966c66d06facafef1d600b7223d7aa1e4dfba1a2a75e1bb05b2c5d78beb312b8551d3fed
 DIST nltk-universal_tagset-20220704.zip 19095 BLAKE2B 
829bb169ec42005fd5c0bc827d0820eab49acce562240b942d4d3bd96b3f17d24fe46f21d528264ebe976df79e2bb00da33a889759cc20cbb06f40a6ac41
 SHA512 
2a0094744c0e697e0cbc2c49002f41d52973a87dc940636b5edb1a162f7ac4f165911555be590c5b66d69cede918ed9cf2d3ccd59f91286eba274ef44c8df28c
 DIST nltk-universal_treebanks_v20-20200312.zip 25908853 BLAKE2B 

[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk-data/

2022-04-24 Thread Jakov Smolić
commit: 6ce93f7d306dc4391ec88bfc1956eb38e469c8c1
Author: Yu Gu  gmail  com>
AuthorDate: Thu Apr 21 11:46:38 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Sun Apr 24 11:05:31 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ce93f7d

dev-python/nltk-data: Keyword 20211221 riscv, #839027

Signed-off-by: Yu Gu  gmail.com>
Signed-off-by: Jakov Smolić  gentoo.org>

 dev-python/nltk-data/nltk-data-20211221.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/nltk-data/nltk-data-20211221.ebuild 
b/dev-python/nltk-data/nltk-data-20211221.ebuild
index 104917b4e5a0..4eb1cac63622 100644
--- a/dev-python/nltk-data/nltk-data-20211221.ebuild
+++ b/dev-python/nltk-data/nltk-data-20211221.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2021 Gentoo Authors
+# Copyright 2020-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -12,7 +12,7 @@ HOMEPAGE="https://www.nltk.org/nltk_data/;
 # TODO: create a USE flag for free-ish subset
 LICENSE="all-rights-reserved"
 SLOT="0"
-KEYWORDS="amd64 x86"
+KEYWORDS="amd64 ~riscv x86"
 IUSE="extra"
 RESTRICT="bindist mirror"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/

2022-04-24 Thread Jakov Smolić
commit: 6946cfc6c4d3d8945aa672ebd2f8f01f12767cab
Author: Yu Gu  gmail  com>
AuthorDate: Thu Apr 21 11:46:38 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Sun Apr 24 11:05:29 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6946cfc6

dev-python/nltk: Keyword 3.7 riscv, #839027

Signed-off-by: Yu Gu  gmail.com>
Signed-off-by: Jakov Smolić  gentoo.org>

 dev-python/nltk/nltk-3.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/nltk/nltk-3.7.ebuild b/dev-python/nltk/nltk-3.7.ebuild
index 99b89b9d3800..0eb34545c3f7 100644
--- a/dev-python/nltk/nltk-3.7.ebuild
+++ b/dev-python/nltk/nltk-3.7.ebuild
@@ -15,7 +15,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 ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x86-solaris"
 IUSE="tk"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/

2022-03-15 Thread Michał Górny
commit: 42d6b9d8f75ef82b57210de827e2bb448f19755a
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Mar 15 14:15:58 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Mar 15 14:15:58 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42d6b9d8

dev-python/nltk: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/nltk/Manifest  |  1 -
 dev-python/nltk/nltk-3.6.7.ebuild | 61 ---
 2 files changed, 62 deletions(-)

diff --git a/dev-python/nltk/Manifest b/dev-python/nltk/Manifest
index 9c3afac3c2e8..ef1d47b1d343 100644
--- a/dev-python/nltk/Manifest
+++ b/dev-python/nltk/Manifest
@@ -1,2 +1 @@
-DIST nltk-3.6.7.tar.gz 2848416 BLAKE2B 
8bc6672c17741c93da15b3c4ec9af484915ffd9fc857dbbfa94d949063c8e44c5f672e076b69213a033b7bec8e14baa099c69748eef4688fa09635de662f5037
 SHA512 
07f117835e1bf99d73a03f1279da0104a955e36f41c9648be19652481c58758900d5d2ff4633203254cee1e27c6cc129fe5d6e388de0711f2052e3e76a746edf
 DIST nltk-3.7.tar.gz 2851947 BLAKE2B 
4cd4fed9f26de7996bcabbd71d500c072489e79ae0edb29f09577e465227c948efa7130af6975b029e77fb79db015437a9e3311eb28048d02dcc2356441d0908
 SHA512 
66d79afa59f18f2bf7d086dcb22813c7b92239c05669daa62866dbda06c0ca22367317749cf19db3e41a7bdb405d4f87f72b695aa58fd0669bf36de64f1f9888

diff --git a/dev-python/nltk/nltk-3.6.7.ebuild 
b/dev-python/nltk/nltk-3.6.7.ebuild
deleted file mode 100644
index 186d7f12a356..
--- a/dev-python/nltk/nltk-3.6.7.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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/

2022-03-15 Thread Jakov Smolić
commit: 3828f68031cded4ed04a720fe94d424fa7e904c3
Author: Jakov Smolić  gentoo  org>
AuthorDate: Tue Mar 15 12:32:26 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Tue Mar 15 12:32:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3828f680

dev-python/nltk: Stabilize 3.7 ALLARCHES, #835231

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-python/nltk/nltk-3.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/nltk/nltk-3.7.ebuild b/dev-python/nltk/nltk-3.7.ebuild
index 8dc37fd9eb91..99b89b9d3800 100644
--- a/dev-python/nltk/nltk-3.7.ebuild
+++ b/dev-python/nltk/nltk-3.7.ebuild
@@ -15,7 +15,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="



[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/

2022-02-09 Thread Michał Górny
commit: eb4e911aacdeed47cab0f6993c32ae63f5f35b89
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Feb  9 19:32:03 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Feb  9 19:34:48 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb4e911a

dev-python/nltk: Bump to 3.7

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/nltk/Manifest|  1 +
 dev-python/nltk/nltk-3.7.ebuild | 62 +
 2 files changed, 63 insertions(+)

diff --git a/dev-python/nltk/Manifest b/dev-python/nltk/Manifest
index 665b93603c3e..9c3afac3c2e8 100644
--- a/dev-python/nltk/Manifest
+++ b/dev-python/nltk/Manifest
@@ -1 +1,2 @@
 DIST nltk-3.6.7.tar.gz 2848416 BLAKE2B 
8bc6672c17741c93da15b3c4ec9af484915ffd9fc857dbbfa94d949063c8e44c5f672e076b69213a033b7bec8e14baa099c69748eef4688fa09635de662f5037
 SHA512 
07f117835e1bf99d73a03f1279da0104a955e36f41c9648be19652481c58758900d5d2ff4633203254cee1e27c6cc129fe5d6e388de0711f2052e3e76a746edf
+DIST nltk-3.7.tar.gz 2851947 BLAKE2B 
4cd4fed9f26de7996bcabbd71d500c072489e79ae0edb29f09577e465227c948efa7130af6975b029e77fb79db015437a9e3311eb28048d02dcc2356441d0908
 SHA512 
66d79afa59f18f2bf7d086dcb22813c7b92239c05669daa62866dbda06c0ca22367317749cf19db3e41a7bdb405d4f87f72b695aa58fd0669bf36de64f1f9888

diff --git a/dev-python/nltk/nltk-3.7.ebuild b/dev-python/nltk/nltk-3.7.ebuild
new file mode 100644
index ..8dc37fd9eb91
--- /dev/null
+++ b/dev-python/nltk/nltk-3.7.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/, dev-python/nltk/files/

2022-01-29 Thread Michał Górny
commit: 2a6918f71494a38e4b1fa2bb1092bfc64a545fe4
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jan 29 11:36:44 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jan 29 11:51:05 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a6918f7

dev-python/nltk: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/nltk/Manifest|  5 --
 dev-python/nltk/files/nltk-3.6.2-metadata.patch | 38 ---
 dev-python/nltk/files/nltk-3.6.5-test.patch | 28 
 dev-python/nltk/nltk-3.6.2-r1.ebuild| 61 -
 dev-python/nltk/nltk-3.6.3.ebuild   | 57 ---
 dev-python/nltk/nltk-3.6.4.ebuild   | 57 ---
 dev-python/nltk/nltk-3.6.5.ebuild   | 59 
 dev-python/nltk/nltk-3.6.6.ebuild   | 61 -
 8 files changed, 366 deletions(-)

diff --git a/dev-python/nltk/Manifest b/dev-python/nltk/Manifest
index 7f55e3a26d6d..665b93603c3e 100644
--- a/dev-python/nltk/Manifest
+++ b/dev-python/nltk/Manifest
@@ -1,6 +1 @@
-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

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..
--- 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?= 
-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..
--- 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 
-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 

[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/

2022-01-29 Thread Jakov Smolić
commit: 7a8c8bc2b5f238251743551624db98fc0d439915
Author: Jakov Smolić  gentoo  org>
AuthorDate: Sat Jan 29 10:02:42 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Sat Jan 29 10:02:42 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a8c8bc2

dev-python/nltk: Stabilize 3.6.7 ALLARCHES, #832286

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-python/nltk/nltk-3.6.7.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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="



[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/

2022-01-06 Thread Sam James
commit: 472b586fcbc700c622953487ba4cc2f682b0b4fa
Author: Sam James  gentoo  org>
AuthorDate: Thu Jan  6 13:03:30 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jan  6 13:03:30 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=472b586f

dev-python/nltk: Stabilize 3.6.6 ALLARCHES, #830641

Signed-off-by: Sam James  gentoo.org>

 dev-python/nltk/nltk-3.6.6.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/nltk/nltk-3.6.6.ebuild 
b/dev-python/nltk/nltk-3.6.6.ebuild
index 192950405d9d..186d7f12a356 100644
--- a/dev-python/nltk/nltk-3.6.6.ebuild
+++ b/dev-python/nltk/nltk-3.6.6.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="



[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/

2021-12-29 Thread Michał Górny
commit: 153c66f4ba2079c2c3a7182f10cd2163b09c217f
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Dec 29 06:39:23 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Dec 29 08:29:25 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=153c66f4

dev-python/nltk: Bump to 3.6.7

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/nltk/Manifest  |  1 +
 dev-python/nltk/nltk-3.6.7.ebuild | 61 +++
 2 files changed, 62 insertions(+)

diff --git a/dev-python/nltk/Manifest b/dev-python/nltk/Manifest
index 51bbfb48957c..7f55e3a26d6d 100644
--- a/dev-python/nltk/Manifest
+++ b/dev-python/nltk/Manifest
@@ -3,3 +3,4 @@ DIST nltk-3.6.3.tar.gz 2824924 BLAKE2B 
fcab6647f43f4bf139857e9f4202aee688f564851
 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

diff --git a/dev-python/nltk/nltk-3.6.7.ebuild 
b/dev-python/nltk/nltk-3.6.7.ebuild
new file mode 100644
index ..192950405d9d
--- /dev/null
+++ b/dev-python/nltk/nltk-3.6.7.ebuild
@@ -0,0 +1,61 @@
+# 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-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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk-data/

2021-12-21 Thread Michał Górny
commit: bc7f4eb883bfc42ec54af84e582aa186f49bac0e
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Dec 21 07:19:06 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Dec 21 09:42:47 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc7f4eb8

dev-python/nltk-data: Add new data (20211221)

This one goes straight to stable since it's mirror-restricted
and upstream replaced the files in place again!

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/nltk-data/Manifest  |   5 +
 dev-python/nltk-data/nltk-data-20211221.ebuild | 210 +
 2 files changed, 215 insertions(+)

diff --git a/dev-python/nltk-data/Manifest b/dev-python/nltk-data/Manifest
index 0a6f8624fbaa..2a75eb265207 100644
--- a/dev-python/nltk-data/Manifest
+++ b/dev-python/nltk-data/Manifest
@@ -30,6 +30,7 @@ DIST nltk-genesis-20200312.zip 473239 BLAKE2B 
5234c2bcc31ae738bbd6cdfe1ee231a75c
 DIST nltk-gutenberg-20200312.zip 4251829 BLAKE2B 
54448e919010f12faa92c0ffd4adb31a7d1d76c262d5ac99c10129d188830107621f90e4ba611ffc1541c25037fc916b451169a8ae1df276747890fea2b5e06f
 SHA512 
7b4442d18b89f9bb8261f23ad2f4d513b470461255633cbebe2b0c310f003effe819f7a86b39a62a6cde1b3fdbf099dabbdaaed520268c99fd1bb933baa97ead
 DIST nltk-ieer-20200312.zip 166156 BLAKE2B 
4c63be6f0f16e59584b7f97c21da0cf60a1efd3678ce662d683d8a6a9d05d333690b26ebb037d3047b26e3b51163ffa666f048ad8a89ee6c851ddd3edd2faf58
 SHA512 
b55545f0ac03282fb85c4a86bb69fd9988db8cc504114bff7b763007e20f559efa61b8ae5b7955c251c1c2dd9d23246e23515b1cd5d8d28225c20ec236c05cd8
 DIST nltk-inaugural-20200312.zip 329806 BLAKE2B 
222e22742d93156b852ddd72ffccdd5be5c907f43973b0ceee8d8d383bc5387575d1f974b29fd6d59499ec86483f56270251e6a5e48d7840c577207849baed59
 SHA512 
096591769373019883b9a2f85d32bc86021aefb74deb26dc9005233ae7f317d587c247edc53f1a956b8e29911656419d9677c271fb59ded4ca4edf2a80ff86b7
+DIST nltk-inaugural-20211221.zip 346476 BLAKE2B 
6f14827fcd8edf9300725c6ffcfa899f5878537aaefc40b165581af60866ca7e7b0ed316a2b8dd87ff858667ce7a5f4035090a1cc3a404afa64b28d34dcf8747
 SHA512 
5440bff001209e42ee86c2501d2cd628cf639734c194c11097a862f6759f09a6adef1da0702b77211774f84d5d9d4ee55e89085b39d8a911811def1bd07ac8e2
 DIST nltk-indian-20200312.zip 199187 BLAKE2B 
9f70f1f28bcb96d828ca2ed96d6f89cd8eca8391b64842c742e940aaf59f31e142a4919ab5a21bce954bbe2ed85add162ac67c9549758f9aa44b3e90d45d44a7
 SHA512 
08e9342567bcc607e9007aea8415af2cad1f8a289104b47a61bf569f1391629ebbe25f19aacf53e2b14725edfdf18076331f044e1c2e42d07c96d5c875ff8f9e
 DIST nltk-jeita-20200312.zip 16531215 BLAKE2B 
7cf98b389d5c4b41d9d613c14c5116b83c520cfe7418ef982a6acc1294d8ecdb8a5d6d396409c9f13ca83df999793619d5eb5483612e87874766afe565c68362
 SHA512 
491e6dc27d70ebfd139be4dcd179b02c383f38edbe4290aed85638ecd7c987259b025e4f6f3f1d5bfe2b7aa3eff7188109205417d0acb64759988150f2753129
 DIST nltk-kimmo-20200312.zip 186958 BLAKE2B 
ca288f48c09a33b86449c780e5c8612c3521e22bfe70918629bf3144b75b5566a942c3cc1440a13c2d81e3a69c77928c336850cc9fac4c232deb77293bfbe4e6
 SHA512 
fe38d5298ffb6dd62223c2002278d9ddf2695f341a29477f44434644bc6766cfe2c73091067f9eb8aea201735eef5012f96ba267f2e6ea3aec41ac206a43cac2
@@ -49,6 +50,7 @@ DIST nltk-names-20200312.zip 21326 BLAKE2B 
37389f44337724fac26eaad5a4c310ea244b4
 DIST nltk-nombank.1.0-20200312.zip 6728397 BLAKE2B 
4dfb61fb651817086ad20957d02a39c99dff83ec45dc1a01e1dac055e0d7d9ef8108ef8df5218ce57b2b0866b748f5f76663a58e08f5e1731272173888e714e9
 SHA512 
81bcf29898ba1205ccbc8486d14518e95b0189b97b172a54580d4cb4584f4ef32a5284fe0abed0b954e67a318de8f10de5df1a20e6c08976df09cd2c9c66cb32
 DIST nltk-nonbreaking_prefixes-20200312.zip 25437 BLAKE2B 
9f26efbcc429f2d36a5584014604d2ca9d4de3864aa6192a114e9e2cd55ff1df50d4321a8c40dbe96225fad6be51f7be66f8a4d58146e370a1d33a9305f7f95f
 SHA512 
4cddfdacf1c7fe4e93a31333413a83ebea2ea7907f4e6fe99e1c6ff4aed8efc951f4399478cdb88e5d5dc01cfb734b6672f4007b2a17c4784896fecaf4a93cdf
 DIST nltk-nps_chat-20200312.zip 301366 BLAKE2B 
eadf0d0ee54c982765a124321fe6de161bfbfbfb0385d5d7e171666945ef313b960ba7b820e4fed02885ffc213173e2a7c97822513ae6e81e68858af21d9f424
 SHA512 
a716f3aaba3aedbbdaeaff1c6f1ef607476aa989eaef1c2971b827215f3167952477b203f1543d0fd27e5594c3efa01349c6a0efc1ac423048808f18eae94643
+DIST nltk-omw-1.4-20211221.zip 26634772 BLAKE2B 
4d5fe648987b9aaa589d612f439560287200fe947a80182b941b0660a97a739ddda00a472209a26715aa72c44f37cdb5dbce9df89cb7bfbcdb7f4fa2908bb96e
 SHA512 
d25c591c894fedeaf8649ef26653c51b74282e8af43bd0a8867eb16f79a89c4b567328a7c83f7651ec9e41dc746cba87b0c8bdbbe736db7f18c62a56820a92e6
 DIST nltk-omw-20200312.zip 12110409 BLAKE2B 
5ae634fdd89fcd2be2dea1511b2c434755e16b92804ea6bb5e2139113c644885d142e6290ab1d00c418f9df5241ebf6b7e227da120dc95d1e907d8f62a3d0cb8
 SHA512 
05b1b014e55738c49b34ea0371b95bd1d1aadfb0cc57325ec110ffbbb1250690e3a4aab45e877eb5433de08c7afe3ffa161e29976a0e28db9803fb637b24c843
 DIST nltk-opinion_lexicon-20200312.zip 24947 BLAKE2B 

[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk-data/

2021-12-21 Thread Michał Górny
commit: 08f79ab2f283b49343dd5a4f263eeb5719b1d636
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Dec 21 07:27:25 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Dec 21 09:42:49 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08f79ab2

dev-python/nltk-data: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/nltk-data/Manifest  |   3 -
 dev-python/nltk-data/nltk-data-20211023.ebuild | 203 -
 2 files changed, 206 deletions(-)

diff --git a/dev-python/nltk-data/Manifest b/dev-python/nltk-data/Manifest
index 2a75eb265207..3a61ebbf461e 100644
--- a/dev-python/nltk-data/Manifest
+++ b/dev-python/nltk-data/Manifest
@@ -29,7 +29,6 @@ DIST nltk-gazetteers-20200312.zip 8265 BLAKE2B 
aa4f8db99a7ae8c26911d33abb67713bc
 DIST nltk-genesis-20200312.zip 473239 BLAKE2B 
5234c2bcc31ae738bbd6cdfe1ee231a75ceacc74334e3b03fcefb409427406aee1700e0d8ca8fad1444736005b53fdb0fbdb9068085837f4bf7292cf61351b8b
 SHA512 
e74f6a8f304bca292bf8e138a739a97633075cf9374c95f43ec75473cd7bbeb0921fe24f7864659e640e694d227e61debd67bc41150bd898b7241a274e28196f
 DIST nltk-gutenberg-20200312.zip 4251829 BLAKE2B 
54448e919010f12faa92c0ffd4adb31a7d1d76c262d5ac99c10129d188830107621f90e4ba611ffc1541c25037fc916b451169a8ae1df276747890fea2b5e06f
 SHA512 
7b4442d18b89f9bb8261f23ad2f4d513b470461255633cbebe2b0c310f003effe819f7a86b39a62a6cde1b3fdbf099dabbdaaed520268c99fd1bb933baa97ead
 DIST nltk-ieer-20200312.zip 166156 BLAKE2B 
4c63be6f0f16e59584b7f97c21da0cf60a1efd3678ce662d683d8a6a9d05d333690b26ebb037d3047b26e3b51163ffa666f048ad8a89ee6c851ddd3edd2faf58
 SHA512 
b55545f0ac03282fb85c4a86bb69fd9988db8cc504114bff7b763007e20f559efa61b8ae5b7955c251c1c2dd9d23246e23515b1cd5d8d28225c20ec236c05cd8
-DIST nltk-inaugural-20200312.zip 329806 BLAKE2B 
222e22742d93156b852ddd72ffccdd5be5c907f43973b0ceee8d8d383bc5387575d1f974b29fd6d59499ec86483f56270251e6a5e48d7840c577207849baed59
 SHA512 
096591769373019883b9a2f85d32bc86021aefb74deb26dc9005233ae7f317d587c247edc53f1a956b8e29911656419d9677c271fb59ded4ca4edf2a80ff86b7
 DIST nltk-inaugural-20211221.zip 346476 BLAKE2B 
6f14827fcd8edf9300725c6ffcfa899f5878537aaefc40b165581af60866ca7e7b0ed316a2b8dd87ff858667ce7a5f4035090a1cc3a404afa64b28d34dcf8747
 SHA512 
5440bff001209e42ee86c2501d2cd628cf639734c194c11097a862f6759f09a6adef1da0702b77211774f84d5d9d4ee55e89085b39d8a911811def1bd07ac8e2
 DIST nltk-indian-20200312.zip 199187 BLAKE2B 
9f70f1f28bcb96d828ca2ed96d6f89cd8eca8391b64842c742e940aaf59f31e142a4919ab5a21bce954bbe2ed85add162ac67c9549758f9aa44b3e90d45d44a7
 SHA512 
08e9342567bcc607e9007aea8415af2cad1f8a289104b47a61bf569f1391629ebbe25f19aacf53e2b14725edfdf18076331f044e1c2e42d07c96d5c875ff8f9e
 DIST nltk-jeita-20200312.zip 16531215 BLAKE2B 
7cf98b389d5c4b41d9d613c14c5116b83c520cfe7418ef982a6acc1294d8ecdb8a5d6d396409c9f13ca83df999793619d5eb5483612e87874766afe565c68362
 SHA512 
491e6dc27d70ebfd139be4dcd179b02c383f38edbe4290aed85638ecd7c987259b025e4f6f3f1d5bfe2b7aa3eff7188109205417d0acb64759988150f2753129
@@ -78,7 +77,6 @@ DIST nltk-senseval-20200312.zip 2151350 BLAKE2B 
ec21463f7ffe27e3dda47e38e3563464
 DIST nltk-sentence_polarity-20200312.zip 490256 BLAKE2B 
56a1b4668875d5c73b220710e8af84410a273f394d68d7e9decb47c5370f0f7c1982d37710ab903d78dac0108ec2e1a26e8f1cdd3fee172487397c8b2ae01ee7
 SHA512 
d3772edc13d46fb835f40a9c6714b95885d3ba2eded37a24c8aad6d3e63ca49a9c79387218e2f67bda2e52d52449daf1dd1e603a4819ae46da78f4e0a38ba599
 DIST nltk-sentiwordnet-20200312.zip 4686546 BLAKE2B 
98a45d9a5be971bd9e76ad5c154359c1800aa96ab1e8e301215e435cae6d659cc0fb38604435da4e9a391741a72ef7fcb842a1cf119348a7039f717843035f12
 SHA512 
cd0ff31abec3b85e3114546918c9152360e3da45fbbaf7b4c76a13a6d288f1d9ea7a4633638080cd0205cc293b4123445106e9b5daddb2ae379d6a08d1c992a5
 DIST nltk-shakespeare-20200312.zip 475458 BLAKE2B 
c60acbf2d90f5fffdae43bdf85191dbd694ec5ae19e37b145ad04af6d8481988f0c2ce644baff2e31707e86d95a9b3b03c1da4faaa46be92da2291cce565955e
 SHA512 
72cbbdb237b78df1f6bf27b5504606f805433746b9862dd1ce544ab712783a41fb165f3a4f282a7f1bd58c7dfe6036c14ecb07a82c109f6d326eb95e470002fb
-DIST nltk-sinica_treebank-20200312.zip 899237 BLAKE2B 
e074dbdc7f1fe5958109f8ea019bead946bd2e3cd1c0849cf3ad49eaa34a1989baee7935a70e9103c121e5d375954d1dc53e4a1599e394ce6c2fda4e98769645
 SHA512 
724fb0905cbd0f903c3a75d70aee8a3e6f29e62971c1501efd8bfb3f4c6619e5fd8a285648e7792ea8e86bbda0a2afc6eecae45ad9f361983bf83b756ab52960
 DIST nltk-sinica_treebank-20211221.zip 906706 BLAKE2B 
0c00bc7d39765b86eb99f55e82522d390cf0270fd2e2688d5825481b6f11e54aaa71b3f9ac95af170be543353746777da130bb6b294b0529330c712f9edaaab8
 SHA512 
22d44e23e89691f775a0e54971fada692aecd7cfa5181d49e9a53d0a96dc3be1beaa1e1ec6840f9b2756c5c16c93f96b571f6b08c175701485afc0c32261cac8
 DIST nltk-smultron-20200312.zip 166207 BLAKE2B 
d0c3e75dd108965e260d913e0c02137da8707a751a4f53a1f59ff6a26af9997e2f0193980b5087277b87b74d9aab3e3c8d066d7264311cec2a94f0f9d21caf44
 SHA512 

[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/

2021-12-21 Thread Michał Górny
commit: 0b28aef61b6fbb5a968908ac8e8d7f190b30a7f2
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Dec 21 07:06:44 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Dec 21 09:42:48 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b28aef6

dev-python/nltk: Bump to 3.6.6

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/nltk/Manifest  |  1 +
 dev-python/nltk/nltk-3.6.6.ebuild | 61 +++
 2 files changed, 62 insertions(+)

diff --git a/dev-python/nltk/Manifest b/dev-python/nltk/Manifest
index f7969e869623..51bbfb48957c 100644
--- a/dev-python/nltk/Manifest
+++ b/dev-python/nltk/Manifest
@@ -2,3 +2,4 @@ DIST nltk-3.6.2.tar.gz 2819833 BLAKE2B 
9796822c35c524432e9790d0890b4388fbaa85b65
 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

diff --git a/dev-python/nltk/nltk-3.6.6.ebuild 
b/dev-python/nltk/nltk-3.6.6.ebuild
new file mode 100644
index ..192950405d9d
--- /dev/null
+++ b/dev-python/nltk/nltk-3.6.6.ebuild
@@ -0,0 +1,61 @@
+# 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-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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/

2021-11-29 Thread Agostino Sarubbo
commit: f97077464de520d373afaa73e810bb7f26fe3255
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Nov 29 08:41:49 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Nov 29 08:41:49 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9707746

dev-python/nltk: amd64/x86 stable (ALLARCHES policy) wrt bug #819822

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/nltk/nltk-3.6.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/nltk/nltk-3.6.5.ebuild 
b/dev-python/nltk/nltk-3.6.5.ebuild
index 47d58c68ee97..43948dca5fb9 100644
--- a/dev-python/nltk/nltk-3.6.5.ebuild
+++ b/dev-python/nltk/nltk-3.6.5.ebuild
@@ -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="



[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/

2021-11-28 Thread Andrew Ammerlaan
commit: 8cded66814c458f1e15a3eccb29463cc91a3043d
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Sun Nov 28 19:33:21 2021 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sun Nov 28 19:33:25 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cded668

dev-python/nltk: add missing test dep

Closes: https://bugs.gentoo.org/827739
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/nltk/nltk-3.6.5.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/nltk/nltk-3.6.5.ebuild 
b/dev-python/nltk/nltk-3.6.5.ebuild
index b706aa229c71..47d58c68ee97 100644
--- a/dev-python/nltk/nltk-3.6.5.ebuild
+++ b/dev-python/nltk/nltk-3.6.5.ebuild
@@ -33,6 +33,7 @@ BDEPEND="
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"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/files/, dev-python/nltk/

2021-11-26 Thread Michał Górny
commit: 2140875c4dafa046e8a658bde1ea0c2defc34faf
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Nov 26 20:27:42 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Nov 26 20:30:17 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2140875c

dev-python/nltk: Fix test failure

Closes: https://bugs.gentoo.org/819921
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/nltk/files/nltk-3.6.5-test.patch | 28 
 dev-python/nltk/nltk-3.6.5.ebuild   |  7 ---
 2 files changed, 32 insertions(+), 3 deletions(-)

diff --git a/dev-python/nltk/files/nltk-3.6.5-test.patch 
b/dev-python/nltk/files/nltk-3.6.5-test.patch
new file mode 100644
index ..ea4d9512fa74
--- /dev/null
+++ b/dev-python/nltk/files/nltk-3.6.5-test.patch
@@ -0,0 +1,28 @@
+From 9502cb3b5e43a787a16bc2f63ec34c69f9b151c6 Mon Sep 17 00:00:00 2001
+From: Tom Aarsen 
+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.5.ebuild 
b/dev-python/nltk/nltk-3.6.5.ebuild
index 11dd1a3283d2..b706aa229c71 100644
--- a/dev-python/nltk/nltk-3.6.5.ebuild
+++ b/dev-python/nltk/nltk-3.6.5.ebuild
@@ -39,14 +39,15 @@ 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
-   # requires X and hangs in Xvfb
-   sed -e 's:test_plot:_&:' \
-   -i nltk/test/unit/test_cfd_mutation.py || die
 
distutils-r1_src_prepare
 }



[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk-data/

2021-10-23 Thread Michał Górny
commit: 8fc9ac325105fab5a44261fd4874d87738d31c43
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Oct 23 20:37:15 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Oct 23 20:46:04 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fc9ac32

dev-python/nltk-data: Update data files for 20211023

Closes: https://bugs.gentoo.org/819780
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/nltk-data/Manifest  |  3 +-
 ...0200312-r1.ebuild => nltk-data-20211023.ebuild} | 61 ++
 2 files changed, 42 insertions(+), 22 deletions(-)

diff --git a/dev-python/nltk-data/Manifest b/dev-python/nltk-data/Manifest
index fa415ee7f30..0a6f8624fba 100644
--- a/dev-python/nltk-data/Manifest
+++ b/dev-python/nltk-data/Manifest
@@ -81,7 +81,7 @@ DIST nltk-smultron-20200312.zip 166207 BLAKE2B 
d0c3e75dd108965e260d913e0c02137da
 DIST nltk-snowball_data-20200312.zip 6785405 BLAKE2B 
44c10439b142540ac7eece967efa1431fd8f45342f0a90875dacf29ad374fe4c7d30af11d42ba45e0f1ec1836d56b2ff684ee352c5e8536cfb5db5eb7632285b
 SHA512 
6c8a9259d88f6f7f499867d83b731de99d7fa4e8827ecedf836f653fc1a810efa9f6c5c6e2720a9e6610bc00978956b6a119bd08b70e3e241c4e9faccddd81d8
 DIST nltk-spanish_grammars-20200312.zip 4047 BLAKE2B 
d8a8dbb558850a6a60f1fe5ab0f617f3a0f3c64bc7d49980cf793d374c6679d1bd42afb7e61776737b5eec162f2520abf2ee3acc92ea9ee0f397c3089b3b5b28
 SHA512 
4513347156e9351c259c0e2448198d68354bbc95e0a54561c31a88f13f333ebcba3e294c820cb62036665f2904eb6a7137546cd580e361c0423c30a8aed950b2
 DIST nltk-state_union-20200312.zip 808757 BLAKE2B 
2d352af0ced736d3c11a821eaba0b035b3b5b6b0f20db3bd5d4ac2451f99daf68bffd3ad984bd404ecc4a1e67ca9281c529af2cc9e295a3a7330f36ee9640bc8
 SHA512 
a6fc83e6230e57ba66a7af62f0d2a5d44a14530ed1e0e914590b3f8b5bf939967c126a5e6f6899ba9134843893f65212e836d311109393c1200191a5c3163485
-DIST nltk-stopwords-20200312.zip 23047 BLAKE2B 
a0677cc0d4a3d54ee6e27eab8fb7635d6cd29265204896870e57457a54459f1d6cabc0c4e76e749397f5eee299eed0b524fcbc2033ea17d81cdb6cd98c5ed968
 SHA512 
31774fd3db2e0fba0209db71c08f9b2d971311ea4a59739cfdc0a9ae34f6c6c593f2a991a14ee20b0de8b380215e609f8398ed50c546775322ab8c4c3f8d06dd
+DIST nltk-stopwords-20211023.zip 26220 BLAKE2B 
50219508c5fb24c1392064ea0546ca9060829f51689c0d626bb99e3fa8f712df98ed475fc0d27d99f934fb156ce65df91a8e7c22e1b4f1689fb0aea34a9e
 SHA512 
8308623953560281288b64e695638ca3fa28e1b6201b538d01650d6dfd08e821687217c8d012e93adfa2a48afebdda11af1bb86d638358c2931f36754d1e15ef
 DIST nltk-subjectivity-20200312.zip 521628 BLAKE2B 
0a8777a5b91b1b825fbde41cc927d496480129f0a810349bddde2036ed16f37611f2bc3b007e74fe36523612529a92433d32d094be72d247f5faef8220c3c491
 SHA512 
a3cc4d2d20f26c5eabd86fbced2c013e69d46e607013278eb35831a62e57523a17aec1b580ba62c7a867e61a561e1b222d8430f0c1e2d429a9479e12b008c5b7
 DIST nltk-swadesh-20200312.zip 22828 BLAKE2B 
1cd9d5355c6b53694ec545ca001b0807b4912a7878ba075b0f81ce8b9b22a5c7a18cf52cf2449483a1c89cd20d8d86986dc3d827fa93a7ef5824fddbc0922025
 SHA512 
90cb32532a5378d05ce34b84b5f8363dbb32f24afac58b0dcc5cdccba98fd7d37def7f4fbe76b11c8c64059bd19df745562bfbf5f4c721d65ce9f4be1348ab76
 DIST nltk-switchboard-20200312.zip 791161 BLAKE2B 
26a751ae246fa31b6aca96b396d3642d89ad112588a09f8d91a5b76dc41c7fb4d36c16c6358cd8e0da8056bc83598ed0dc635cf7b1fd8469a0e80b5f1761
 SHA512 
690e5392dc082c4ac550bde2848aa65117e7a25cbc4bce0887581c531d03be64e21f044ac0a3286648255f0edd7766b1161f5575ad5fd680c7303b34c3226b8f
@@ -102,6 +102,7 @@ DIST nltk-webtext-20200312.zip 646297 BLAKE2B 
ca072fc38c144b659c76c36c9161641c91
 DIST nltk-wmt15_eval-20200312.zip 383096 BLAKE2B 
119943db4240171077569b3302c678644c2c9547ba67bfd055751059e0a3ad3ab6a19e4eedf9108d313d46dcd36cf19e11d973981da8c70a01c4cb790a7bd739
 SHA512 
362395d4c77ebe92f4c19fa8c282dc7a2343acc19cccb596ca00db6c40c231b904d807f46e2691cc4c4a0c79d14873b2a1983a494f2ca1485d540d787ceb
 DIST nltk-word2vec_sample-20200312.zip 49396025 BLAKE2B 
0512b9bb7121a528190079f578e82b4e8f8021bfc0062cfa5613d260f3eee17460aecfeaacb65d950e79d27a653c78633a88c3638ec16377e2dbc3006387ebaa
 SHA512 
09c30a4ab8f9fb6a5b36974b5953260d01cb4f285827fb90a374d054ad775ac978602ab56c452f46f4f8601312e232fd739d2f54dafa44ab8b7b01831cf0d9d1
 DIST nltk-wordnet-20200312.zip 10775600 BLAKE2B 
dac56a8fb1fa6882b1871c394ad2acb2d3be739c424570e27c89fb6983df5f896a8f359092ba82752ddfc0531d83563a219e85f80124202f29bda93181efe4dc
 SHA512 
1923a8bcd56fa0b9a9de91f53070dce28c3a7efbab11d2ef55c87134b1bf30de0f40abab59c39eb15dce54aec9491d8a5a259de212ff4cb25cde0ad09317009a
+DIST nltk-wordnet31-20211023.zip 11055271 BLAKE2B 
e41a1951af5a71c9506d1e948b860574c94ab0ef31c1789a7e7bfb29c6dccea5b1d8895007631f7b595e9f90306365b5042e7a80dc6e1364fdbf4a5f0cba3b28
 SHA512 
a86091bd55e3a706892550b232be8f5199092623f1f8305d8c9be967a8527fe7d4ecb6250c369b229fdf52b6f3008106b758adc355fa2ad08b5b0cf2a458c173
 DIST nltk-wordnet_ic-20200312.zip 12056682 BLAKE2B 

[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/

2021-10-11 Thread Michał Górny
commit: b6152b81923ddbe103a925af65895b49a4b79f33
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Oct 11 06:13:04 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Oct 11 07:56:38 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6152b81

dev-python/nltk: Bump to 3.6.5

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/nltk/Manifest  |  1 +
 dev-python/nltk/nltk-3.6.5.ebuild | 57 +++
 2 files changed, 58 insertions(+)

diff --git a/dev-python/nltk/Manifest b/dev-python/nltk/Manifest
index f141c1cf54d..f7969e86962 100644
--- a/dev-python/nltk/Manifest
+++ b/dev-python/nltk/Manifest
@@ -1,3 +1,4 @@
 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

diff --git a/dev-python/nltk/nltk-3.6.5.ebuild 
b/dev-python/nltk/nltk-3.6.5.ebuild
new file mode 100644
index 000..11dd1a3283d
--- /dev/null
+++ b/dev-python/nltk/nltk-3.6.5.ebuild
@@ -0,0 +1,57 @@
+# 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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/

2021-10-01 Thread Michał Górny
commit: 93ce898f931e081f1588f0406d90b5b0189cf3c0
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Oct  1 06:08:58 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Oct  1 06:36:40 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93ce898f

dev-python/nltk: Bump to 3.6.4

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/nltk/Manifest  |  1 +
 dev-python/nltk/nltk-3.6.4.ebuild | 57 +++
 2 files changed, 58 insertions(+)

diff --git a/dev-python/nltk/Manifest b/dev-python/nltk/Manifest
index 41336034648..f141c1cf54d 100644
--- a/dev-python/nltk/Manifest
+++ b/dev-python/nltk/Manifest
@@ -1,2 +1,3 @@
 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

diff --git a/dev-python/nltk/nltk-3.6.4.ebuild 
b/dev-python/nltk/nltk-3.6.4.ebuild
new file mode 100644
index 000..11dd1a3283d
--- /dev/null
+++ b/dev-python/nltk/nltk-3.6.4.ebuild
@@ -0,0 +1,57 @@
+# 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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/

2021-09-20 Thread Arthur Zamarin
commit: 1e1baa8fff6f9656ebbf869d6b4479cf2faa515e
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Sep 20 15:01:42 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Sep 20 15:01:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e1baa8f

dev-python/nltk: no need to apply the patch

Closes: https://bugs.gentoo.org/814050
Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/nltk/nltk-3.6.3.ebuild | 4 
 1 file changed, 4 deletions(-)

diff --git a/dev-python/nltk/nltk-3.6.3.ebuild 
b/dev-python/nltk/nltk-3.6.3.ebuild
index d3f3e09ad50..11dd1a3283d 100644
--- a/dev-python/nltk/nltk-3.6.3.ebuild
+++ b/dev-python/nltk/nltk-3.6.3.ebuild
@@ -38,10 +38,6 @@ 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



[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/

2021-09-20 Thread Michał Górny
commit: 23453bd55076b23a0aa205aded7d81e8ceb91148
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Sep 20 07:12:37 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Sep 20 13:39:35 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23453bd5

dev-python/nltk: Bump to 3.6.3

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/nltk/Manifest  |  1 +
 dev-python/nltk/nltk-3.6.3.ebuild | 61 +++
 2 files changed, 62 insertions(+)

diff --git a/dev-python/nltk/Manifest b/dev-python/nltk/Manifest
index 5ec770ae13e..41336034648 100644
--- a/dev-python/nltk/Manifest
+++ b/dev-python/nltk/Manifest
@@ -1 +1,2 @@
 DIST nltk-3.6.2.tar.gz 2819833 BLAKE2B 
9796822c35c524432e9790d0890b4388fbaa85b659e5415037422a22e8edbaf20775196b4416f441d62592b387066de9f7741b988c0d463349fc5c906bfd75b2
 SHA512 
3fd2cba52377613f35f6574f859482de987f969cfc8d4243a859be365ab1bd8300f9013dcedc6caeff7aa7fc035b331a47b557027209ca9a85b0cc7fbde44d6d
+DIST nltk-3.6.3.tar.gz 2824924 BLAKE2B 
fcab6647f43f4bf139857e9f4202aee688f564851976ed6a183e47361451fae771318346724e41f198b82cebdd5a47f151aaf932099143ef6faa2a77430fbfb4
 SHA512 
fe7244967df018670501304d1a8aa50a0f4d42bb0c73cc5e202eeab6a0f5da1eaed9b961f6026e3b8ae4b0393d788bcb58b263ba22a3ce6f5644022736035f98

diff --git a/dev-python/nltk/nltk-3.6.3.ebuild 
b/dev-python/nltk/nltk-3.6.3.ebuild
new file mode 100644
index 000..d3f3e09ad50
--- /dev/null
+++ b/dev-python/nltk/nltk-3.6.3.ebuild
@@ -0,0 +1,61 @@
+# 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
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/

2021-09-15 Thread Arthur Zamarin
commit: 43fbb0c7b4ca8af3631a1b6641cdb5c6965386d8
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Sep 16 05:53:50 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Sep 16 05:53:50 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43fbb0c7

dev-python/nltk: mark ALLARCHES

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/nltk/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/nltk/metadata.xml b/dev-python/nltk/metadata.xml
index 92c677585ef..c0f249f45d9 100644
--- a/dev-python/nltk/metadata.xml
+++ b/dev-python/nltk/metadata.xml
@@ -5,6 +5,7 @@
pyt...@gentoo.org
Python

+   

nltk
nltk



[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/

2021-09-15 Thread Arthur Zamarin
commit: 4d508e3f908157a879add91a06827e67327dea2d
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Sep 16 05:32:24 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Sep 16 05:32:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d508e3f

dev-python/nltk: enable py3.10

Closes: https://bugs.gentoo.org/812680
Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/nltk/nltk-3.6.2-r1.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dev-python/nltk/nltk-3.6.2-r1.ebuild 
b/dev-python/nltk/nltk-3.6.2-r1.ebuild
index 6d587bba02c..12f9e177ad8 100644
--- a/dev-python/nltk/nltk-3.6.2-r1.ebuild
+++ b/dev-python/nltk/nltk-3.6.2-r1.ebuild
@@ -3,8 +3,7 @@
 
 EAPI=7
 
-DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..10} )
 PYTHON_REQ_USE="sqlite,tk?,xml(+)"
 
 inherit distutils-r1



[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/

2021-06-25 Thread Michał Górny
commit: 38acbb2992e9ed7ac28e24e4a50cebe8e25cad12
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jun 25 06:58:07 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jun 25 06:58:07 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38acbb29

dev-python/nltk: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/nltk/Manifest  |  2 --
 dev-python/nltk/nltk-3.5.ebuild   | 61 ---
 dev-python/nltk/nltk-3.6.1.ebuild | 58 -
 3 files changed, 121 deletions(-)

diff --git a/dev-python/nltk/Manifest b/dev-python/nltk/Manifest
index bd72396ac03..5ec770ae13e 100644
--- a/dev-python/nltk/Manifest
+++ b/dev-python/nltk/Manifest
@@ -1,3 +1 @@
-DIST nltk-3.5.tar.gz 2805844 BLAKE2B 
d2494d831cf5503ac938b203e405ebae606166dbb907655113d3a5267bd54f03b6d8d5ac9e545fefd0b7855ce0c985064c9e746e402c540e19546e2d11ec151e
 SHA512 
056ae219af607c158f1f2adc6fb9b4f402721778c13bf5ebc178deaf631142ad3e571d8b1fd96145067833cbeac4db25fc07c3fd032188c2d8ee7e5d7bd824f6
-DIST nltk-3.6.1.tar.gz 2820223 BLAKE2B 
74ae44376e8f59e4ccfd4bdb5d6f535a8480733a2fdc6a8f1117a551f64d9f6404ca237bd27cd4a4a9d32443d38179c7a1c824e00e808868d45e468ab84eb1bd
 SHA512 
ab0e8abc938fa0bfadc3f02dc583749775a6c06d2d2ee30692ccd9c118277fd79cfed02f858d4347dacbe87f146cb8f9af1203a8d68685f131da5f6b127b86cb
 DIST nltk-3.6.2.tar.gz 2819833 BLAKE2B 
9796822c35c524432e9790d0890b4388fbaa85b659e5415037422a22e8edbaf20775196b4416f441d62592b387066de9f7741b988c0d463349fc5c906bfd75b2
 SHA512 
3fd2cba52377613f35f6574f859482de987f969cfc8d4243a859be365ab1bd8300f9013dcedc6caeff7aa7fc035b331a47b557027209ca9a85b0cc7fbde44d6d

diff --git a/dev-python/nltk/nltk-3.5.ebuild b/dev-python/nltk/nltk-3.5.ebuild
deleted file mode 100644
index 527521c9aff..000
--- a/dev-python/nltk/nltk-3.5.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
-
-DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python3_{7,8} )
-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/twython[${PYTHON_USEDEP}]
-   sci-libs/scikit-learn[${PYTHON_USEDEP}]
-   dev-python/scipy[${PYTHON_USEDEP}]
-   )"
-PDEPEND="dev-python/nltk-data"
-
-distutils_enable_tests nose
-
-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
-}
-
-python_test() {
-   "${EPYTHON}" runtests.py -v || die "Tests failed with ${EPYTHON}"
-}

diff --git a/dev-python/nltk/nltk-3.6.1.ebuild 
b/dev-python/nltk/nltk-3.6.1.ebuild
deleted file mode 100644
index d03c6152723..000
--- a/dev-python/nltk/nltk-3.6.1.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python3_{7..9} )
-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}]
-   

[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/

2021-06-25 Thread Agostino Sarubbo
commit: d2ad9bfe23b56a6bcc781a37bb735511c1cbd659
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Jun 25 06:19:23 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Jun 25 06:19:23 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2ad9bfe

dev-python/nltk: x86 stable wrt bug #790917

Package-Manager: Portage-3.0.20, Repoman-3.0.2
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/nltk/nltk-3.6.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/nltk/nltk-3.6.2-r1.ebuild 
b/dev-python/nltk/nltk-3.6.2-r1.ebuild
index 8b7ffe11d37..6d587bba02c 100644
--- a/dev-python/nltk/nltk-3.6.2-r1.ebuild
+++ b/dev-python/nltk/nltk-3.6.2-r1.ebuild
@@ -15,7 +15,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="



[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/

2021-06-25 Thread Agostino Sarubbo
commit: 8926f85981a174ed8649031cbb863ce20470d8a6
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Jun 25 06:18:53 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Jun 25 06:18:53 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8926f859

dev-python/nltk: amd64 stable wrt bug #790917

Package-Manager: Portage-3.0.20, Repoman-3.0.2
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/nltk/nltk-3.6.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/nltk/nltk-3.6.2-r1.ebuild 
b/dev-python/nltk/nltk-3.6.2-r1.ebuild
index c11ff691096..8b7ffe11d37 100644
--- a/dev-python/nltk/nltk-3.6.2-r1.ebuild
+++ b/dev-python/nltk/nltk-3.6.2-r1.ebuild
@@ -15,7 +15,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="



[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/files/, dev-python/nltk/

2021-05-29 Thread Michał Górny
commit: 166a2b9e8bc84c3e1d83317e29f0e8c8e438eb95
Author: Michał Górny  gentoo  org>
AuthorDate: Sat May 29 16:38:47 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat May 29 18:09:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=166a2b9e

dev-python/nltk: Fix python_requires in metadata

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/nltk/files/nltk-3.6.2-metadata.patch| 38 ++
 .../{nltk-3.6.2.ebuild => nltk-3.6.2-r1.ebuild}|  4 +++
 2 files changed, 42 insertions(+)

diff --git a/dev-python/nltk/files/nltk-3.6.2-metadata.patch 
b/dev-python/nltk/files/nltk-3.6.2-metadata.patch
new file mode 100644
index 000..32d4c183000
--- /dev/null
+++ b/dev-python/nltk/files/nltk-3.6.2-metadata.patch
@@ -0,0 +1,38 @@
+From f8d834d9ac1e5b26f04cebd8ca6f07ed15935e70 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= 
+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/nltk-3.6.2.ebuild 
b/dev-python/nltk/nltk-3.6.2-r1.ebuild
similarity index 97%
rename from dev-python/nltk/nltk-3.6.2.ebuild
rename to dev-python/nltk/nltk-3.6.2-r1.ebuild
index d03c6152723..c11ff691096 100644
--- a/dev-python/nltk/nltk-3.6.2.ebuild
+++ b/dev-python/nltk/nltk-3.6.2-r1.ebuild
@@ -39,6 +39,10 @@ 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



[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/

2021-04-21 Thread Michał Górny
commit: 96ae712d2f1d7298dfab08174122302e77b34024
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Apr 21 06:29:18 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Apr 21 06:29:18 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96ae712d

dev-python/nltk: Bump to 3.6.2

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/nltk/Manifest  |  1 +
 dev-python/nltk/nltk-3.6.2.ebuild | 58 +++
 2 files changed, 59 insertions(+)

diff --git a/dev-python/nltk/Manifest b/dev-python/nltk/Manifest
index 917e6461ad3..bd72396ac03 100644
--- a/dev-python/nltk/Manifest
+++ b/dev-python/nltk/Manifest
@@ -1,2 +1,3 @@
 DIST nltk-3.5.tar.gz 2805844 BLAKE2B 
d2494d831cf5503ac938b203e405ebae606166dbb907655113d3a5267bd54f03b6d8d5ac9e545fefd0b7855ce0c985064c9e746e402c540e19546e2d11ec151e
 SHA512 
056ae219af607c158f1f2adc6fb9b4f402721778c13bf5ebc178deaf631142ad3e571d8b1fd96145067833cbeac4db25fc07c3fd032188c2d8ee7e5d7bd824f6
 DIST nltk-3.6.1.tar.gz 2820223 BLAKE2B 
74ae44376e8f59e4ccfd4bdb5d6f535a8480733a2fdc6a8f1117a551f64d9f6404ca237bd27cd4a4a9d32443d38179c7a1c824e00e808868d45e468ab84eb1bd
 SHA512 
ab0e8abc938fa0bfadc3f02dc583749775a6c06d2d2ee30692ccd9c118277fd79cfed02f858d4347dacbe87f146cb8f9af1203a8d68685f131da5f6b127b86cb
+DIST nltk-3.6.2.tar.gz 2819833 BLAKE2B 
9796822c35c524432e9790d0890b4388fbaa85b659e5415037422a22e8edbaf20775196b4416f441d62592b387066de9f7741b988c0d463349fc5c906bfd75b2
 SHA512 
3fd2cba52377613f35f6574f859482de987f969cfc8d4243a859be365ab1bd8300f9013dcedc6caeff7aa7fc035b331a47b557027209ca9a85b0cc7fbde44d6d

diff --git a/dev-python/nltk/nltk-3.6.2.ebuild 
b/dev-python/nltk/nltk-3.6.2.ebuild
new file mode 100644
index 000..d03c6152723
--- /dev/null
+++ b/dev-python/nltk/nltk-3.6.2.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{7..9} )
+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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/

2021-04-08 Thread Michał Górny
commit: 252689b7297d061807af6245b3a3c6d9dd147b7d
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Apr  8 08:51:25 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Apr  8 08:51:40 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=252689b7

dev-python/nltk: Add pytest-mock dep

Closes: https://bugs.gentoo.org/781029
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/nltk/nltk-3.6.1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/nltk/nltk-3.6.1.ebuild 
b/dev-python/nltk/nltk-3.6.1.ebuild
index ad969214c4b..d03c6152723 100644
--- a/dev-python/nltk/nltk-3.6.1.ebuild
+++ b/dev-python/nltk/nltk-3.6.1.ebuild
@@ -30,6 +30,7 @@ BDEPEND="
>=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}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/

2021-04-08 Thread Michał Górny
commit: 189cd6b1ce60b64fc716470873938e8c902225de
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Apr  8 06:28:49 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Apr  8 07:41:55 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=189cd6b1

dev-python/nltk: Bump to 3.6.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/nltk/Manifest  |  1 +
 dev-python/nltk/nltk-3.6.1.ebuild | 57 +++
 2 files changed, 58 insertions(+)

diff --git a/dev-python/nltk/Manifest b/dev-python/nltk/Manifest
index ac52e0a5715..917e6461ad3 100644
--- a/dev-python/nltk/Manifest
+++ b/dev-python/nltk/Manifest
@@ -1 +1,2 @@
 DIST nltk-3.5.tar.gz 2805844 BLAKE2B 
d2494d831cf5503ac938b203e405ebae606166dbb907655113d3a5267bd54f03b6d8d5ac9e545fefd0b7855ce0c985064c9e746e402c540e19546e2d11ec151e
 SHA512 
056ae219af607c158f1f2adc6fb9b4f402721778c13bf5ebc178deaf631142ad3e571d8b1fd96145067833cbeac4db25fc07c3fd032188c2d8ee7e5d7bd824f6
+DIST nltk-3.6.1.tar.gz 2820223 BLAKE2B 
74ae44376e8f59e4ccfd4bdb5d6f535a8480733a2fdc6a8f1117a551f64d9f6404ca237bd27cd4a4a9d32443d38179c7a1c824e00e808868d45e468ab84eb1bd
 SHA512 
ab0e8abc938fa0bfadc3f02dc583749775a6c06d2d2ee30692ccd9c118277fd79cfed02f858d4347dacbe87f146cb8f9af1203a8d68685f131da5f6b127b86cb

diff --git a/dev-python/nltk/nltk-3.6.1.ebuild 
b/dev-python/nltk/nltk-3.6.1.ebuild
new file mode 100644
index 000..ad969214c4b
--- /dev/null
+++ b/dev-python/nltk/nltk-3.6.1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{7..9} )
+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/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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/

2020-06-02 Thread Michał Górny
commit: 86eace5107701314a170fe493f9b2c1ad10d87c7
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jun  2 11:21:39 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jun  2 11:21:59 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86eace51

dev-python/nltk: Fix deps

Closes: https://bugs.gentoo.org/726624
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/nltk/nltk-3.5.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-python/nltk/nltk-3.5.ebuild b/dev-python/nltk/nltk-3.5.ebuild
index ffb0ad46e42..d127c3a08cf 100644
--- a/dev-python/nltk/nltk-3.5.ebuild
+++ b/dev-python/nltk/nltk-3.5.ebuild
@@ -19,9 +19,10 @@ KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~x86-macos ~x8
 IUSE="tk"
 
 RDEPEND="
+   dev-python/click[${PYTHON_USEDEP}]
dev-python/joblib[${PYTHON_USEDEP}]
dev-python/regex[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
+   dev-python/tqdm[${PYTHON_USEDEP}]
 "
 BDEPEND="
test? (



[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/files/

2020-06-01 Thread Aaron Bauman
commit: 958ac398c46bbd6356a774fddbe8b4ec8c5404f4
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Tue May 19 19:22:30 2020 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Tue Jun  2 04:28:00 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=958ac398

dev-python/nltk: remove unused patch(es)

Signed-off-by: Michael Mair-Keimberger  gmail.com>
Signed-off-by: Aaron Bauman  gentoo.org>

 .../nltk/files/nltk-3.4.5-corpus-tests.patch   | 37 --
 1 file changed, 37 deletions(-)

diff --git a/dev-python/nltk/files/nltk-3.4.5-corpus-tests.patch 
b/dev-python/nltk/files/nltk-3.4.5-corpus-tests.patch
deleted file mode 100644
index 0284aec02b9..000
--- a/dev-python/nltk/files/nltk-3.4.5-corpus-tests.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-diff --git a/nltk/test/corpus.doctest b/nltk/test/corpus.doctest
-index 5509fe2fd..0a34c9522 100644
 a/nltk/test/corpus.doctest
-+++ b/nltk/test/corpus.doctest
-@@ -94,7 +94,7 @@ If the reader methods are called without any arguments, they 
will
- typically load all documents in the corpus.
- 
- >>> len(inaugural.words())
--145735
-+149797
- 
- If a corpus contains a README file, it can be accessed with a ``readme()`` 
method:
- 
-@@ -387,8 +387,8 @@ examples illustrate the use of the wordlist corpora:
- 
- >>> stopwords.fileids() # doctest: +ELLIPSIS
- ['arabic', 'azerbaijani', 'danish', 'dutch', 'english', 'finnish', 
'french', ...]
-->>> stopwords.words('portuguese') # doctest: +ELLIPSIS
--['de', 'a', 'o', 'que', 'e', 'do', 'da', 'em', 'um', 'para', ...]
-+>>> sorted(stopwords.words('portuguese')) # doctest: +ELLIPSIS
-+['a', 'ao', 'aos', 'aquela', 'aquelas', 'aquele', 'aqueles', ...]
- >>> names.fileids()
- ['female.txt', 'male.txt']
- >>> names.words('male.txt') # doctest: +ELLIPSIS
-diff --git a/nltk/test/unit/test_wordnet.py b/nltk/test/unit/test_wordnet.py
-index a7b26ac91..a1df3d396 100644
 a/nltk/test/unit/test_wordnet.py
-+++ b/nltk/test/unit/test_wordnet.py
-@@ -204,7 +204,7 @@ class WordnNetDemo(unittest.TestCase):
- u'preobrat',
- u'preobrat_v_mišljenju'
- ]
--self.assertEqual(S('about-face.n.02').lemma_names(lang='slv'), 
expected)
-+
self.assertEqual(sorted(S('about-face.n.02').lemma_names(lang='slv')), 
sorted(expected))
- 
- def test_iterable_type_for_all_lemma_names(self):
- # Duck-test for iterables.



[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/

2020-05-09 Thread Mikle Kolyada
commit: 7ce61ec23184a28400bf8ee82666ca978793729a
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat May  9 11:22:19 2020 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat May  9 11:23:53 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ce61ec2

dev-python/nltk: amd64 stable wrt bug #721496

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Mikle Kolyada  gentoo.org>

 dev-python/nltk/nltk-3.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/nltk/nltk-3.5.ebuild b/dev-python/nltk/nltk-3.5.ebuild
index 754de8ce173..f77f1ab3f72 100644
--- a/dev-python/nltk/nltk-3.5.ebuild
+++ b/dev-python/nltk/nltk-3.5.ebuild
@@ -15,7 +15,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-macos 
~x86-solaris"
+KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos 
~x86-solaris"
 IUSE="tk"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk-data/

2020-05-09 Thread Mikle Kolyada
commit: b10735d1b244609bb0dda3e3d8e5a92162c82b99
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat May  9 11:23:16 2020 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat May  9 11:23:57 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b10735d1

dev-python/nltk-data: x86 stable wrt bug #721496

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="x86"
Signed-off-by: Mikle Kolyada  gentoo.org>

 dev-python/nltk-data/nltk-data-20200312-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/nltk-data/nltk-data-20200312-r1.ebuild 
b/dev-python/nltk-data/nltk-data-20200312-r1.ebuild
index d4effd97378..4a3d58c5db8 100644
--- a/dev-python/nltk-data/nltk-data-20200312-r1.ebuild
+++ b/dev-python/nltk-data/nltk-data-20200312-r1.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://www.nltk.org/nltk_data/;
 # TODO: create a USE flag for free-ish subset
 LICENSE="all-rights-reserved"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="extra"
 RESTRICT="bindist mirror"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk-data/

2020-05-09 Thread Mikle Kolyada
commit: 86e8654f99e728e58d3a639baf78e190baff8526
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat May  9 11:22:29 2020 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat May  9 11:23:54 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86e8654f

dev-python/nltk-data: amd64 stable wrt bug #721496

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Mikle Kolyada  gentoo.org>

 dev-python/nltk-data/nltk-data-20200312-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/nltk-data/nltk-data-20200312-r1.ebuild 
b/dev-python/nltk-data/nltk-data-20200312-r1.ebuild
index c8f12c580e6..d4effd97378 100644
--- a/dev-python/nltk-data/nltk-data-20200312-r1.ebuild
+++ b/dev-python/nltk-data/nltk-data-20200312-r1.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://www.nltk.org/nltk_data/;
 # TODO: create a USE flag for free-ish subset
 LICENSE="all-rights-reserved"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="extra"
 RESTRICT="bindist mirror"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/

2020-05-09 Thread Mikle Kolyada
commit: 2ea766fc18693ee8a8a98ebea96d840e60d46f5b
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat May  9 11:23:10 2020 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat May  9 11:23:56 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ea766fc

dev-python/nltk: x86 stable wrt bug #721496

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="x86"
Signed-off-by: Mikle Kolyada  gentoo.org>

 dev-python/nltk/nltk-3.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/nltk/nltk-3.5.ebuild b/dev-python/nltk/nltk-3.5.ebuild
index f77f1ab3f72..ffb0ad46e42 100644
--- a/dev-python/nltk/nltk-3.5.ebuild
+++ b/dev-python/nltk/nltk-3.5.ebuild
@@ -15,7 +15,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-macos 
~x86-solaris"
+KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos 
~x86-solaris"
 IUSE="tk"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/

2020-05-04 Thread Michał Górny
commit: 413a74b1d2af47dee2e8204ad22673f3c9ceab0c
Author: Michał Górny  gentoo  org>
AuthorDate: Mon May  4 11:25:26 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon May  4 11:25:26 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=413a74b1

dev-python/nltk: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/nltk/Manifest  |  1 -
 dev-python/nltk/nltk-3.4.5.ebuild | 59 ---
 2 files changed, 60 deletions(-)

diff --git a/dev-python/nltk/Manifest b/dev-python/nltk/Manifest
index 4645b2636a1..ac52e0a5715 100644
--- a/dev-python/nltk/Manifest
+++ b/dev-python/nltk/Manifest
@@ -1,2 +1 @@
-DIST nltk-3.4.5.tar.gz 2821481 BLAKE2B 
9d3d6df9a951b4dfbfec335386ba0fb13c484c74a066141ebdfdb541fbec421dd72163d4028e239abd58f95a73e0eef5861574fa9955e4ee11f2c4598c895f59
 SHA512 
0ca24cd2154e47a8c50fe8e2426fa01c80904ece4100b07cdb4e5835e423e31968e96f0e750e1936f1e758a608596c560aaaee05b844b334f6179249db05f969
 DIST nltk-3.5.tar.gz 2805844 BLAKE2B 
d2494d831cf5503ac938b203e405ebae606166dbb907655113d3a5267bd54f03b6d8d5ac9e545fefd0b7855ce0c985064c9e746e402c540e19546e2d11ec151e
 SHA512 
056ae219af607c158f1f2adc6fb9b4f402721778c13bf5ebc178deaf631142ad3e571d8b1fd96145067833cbeac4db25fc07c3fd032188c2d8ee7e5d7bd824f6

diff --git a/dev-python/nltk/nltk-3.4.5.ebuild 
b/dev-python/nltk/nltk-3.4.5.ebuild
deleted file mode 100644
index dd3b389a81e..000
--- a/dev-python/nltk/nltk-3.4.5.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6,7} )
-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-macos 
~x86-solaris"
-IUSE="tk"
-
-RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
-BDEPEND="
-   test? (
-   dev-python/joblib[${PYTHON_USEDEP}]
-   dev-python/nltk-data
-   dev-python/numpy[${PYTHON_USEDEP}]
-   dev-python/pyparsing[${PYTHON_USEDEP}]
-   dev-python/twython[${PYTHON_USEDEP}]
-   sci-libs/scikits_learn[${PYTHON_USEDEP}]
-   sci-libs/scipy[${PYTHON_USEDEP}]
-   )"
-PDEPEND="dev-python/nltk-data"
-
-distutils_enable_tests nose
-
-PATCHES=(
-   "${FILESDIR}"/nltk-3.4.5-corpus-tests.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
-}
-
-python_test() {
-   "${EPYTHON}" runtests.py -v || die "Tests failed with ${EPYTHON}"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk-data/

2020-05-04 Thread Michał Górny
commit: d6d068bfb0046fad9c2b2ddf686c69721ec6f4a5
Author: Michał Górny  gentoo  org>
AuthorDate: Mon May  4 11:26:10 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon May  4 11:26:10 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6d068bf

dev-python/nltk-data: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/nltk-data/nltk-data-20200312.ebuild | 184 -
 1 file changed, 184 deletions(-)

diff --git a/dev-python/nltk-data/nltk-data-20200312.ebuild 
b/dev-python/nltk-data/nltk-data-20200312.ebuild
deleted file mode 100644
index 1d02afe6be7..000
--- a/dev-python/nltk-data/nltk-data-20200312.ebuild
+++ /dev/null
@@ -1,184 +0,0 @@
-# Copyright 2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit check-reqs
-
-DESCRIPTION="Data files for NLTK"
-HOMEPAGE="https://www.nltk.org/nltk_data/;
-
-# at least some of the files have poorly documented licenses
-# TODO: create a USE flag for free-ish subset
-LICENSE="all-rights-reserved"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="extra"
-RESTRICT="bindist mirror"
-
-BDEPEND="app-arch/unzip"
-
-PACKAGES_ZIP=(
-   # wget -O - https://www.nltk.org/nltk_data/ | xml sel -t -m 
'//package[@unzip=0]' -v @subdir -o "/" -v @id -n - | sort
-   corpora/comtrans
-   corpora/conll2007
-   corpora/jeita
-   corpora/knbc
-   corpora/machado
-   corpora/masc_tagged
-   corpora/nombank.1.0
-   corpora/panlex_swadesh
-   corpora/propbank
-   corpora/reuters
-   corpora/semcor
-   corpora/universal_treebanks_v20
-   sentiment/vader_lexicon
-   stemmers/snowball_data
-)
-
-PACKAGES_UNPACK=(
-   # wget -O - https://www.nltk.org/nltk_data/ | xml sel -t -m 
'//package[@unzip=1]' -v @subdir -o "/" -v @id -n - | sort
-   corpora/abc
-   corpora/alpino
-   corpora/brown
-   corpora/cess_cat
-   corpora/cess_esp
-   corpora/chat80
-   corpora/city_database
-   corpora/cmudict
-   corpora/comparative_sentences
-   corpora/conll2000
-   corpora/conll2002
-   corpora/crubadan
-   corpora/dependency_treebank
-   corpora/dolch
-   corpora/europarl_raw
-   corpora/floresta
-   corpora/framenet_v15
-   corpora/framenet_v17
-   corpora/gazetteers
-   corpora/genesis
-   corpora/gutenberg
-   corpora/ieer
-   corpora/inaugural
-   corpora/indian
-   corpora/lin_thesaurus
-   corpora/mac_morpho
-   corpora/movie_reviews
-   corpora/mte_teip5
-   corpora/names
-   corpora/nonbreaking_prefixes
-   corpora/nps_chat
-   corpora/omw
-   corpora/opinion_lexicon
-   corpora/ppattach
-   corpora/product_reviews_1
-   corpora/product_reviews_2
-   corpora/pros_cons
-   corpora/ptb
-   corpora/qc
-   corpora/rte
-   corpora/senseval
-   corpora/sentence_polarity
-   corpora/sentiwordnet
-   corpora/shakespeare
-   corpora/sinica_treebank
-   corpora/state_union
-   corpora/stopwords
-   corpora/subjectivity
-   corpora/swadesh
-   corpora/switchboard
-   corpora/timit
-   corpora/toolbox
-   corpora/treebank
-   corpora/twitter_samples
-   corpora/udhr
-   corpora/udhr2
-   corpora/verbnet
-   corpora/webtext
-   corpora/wordnet
-   corpora/wordnet_ic
-   corpora/words
-   grammars/book_grammars
-   grammars/large_grammars
-   grammars/sample_grammars
-   misc/perluniprops
-   models/bllip_wsj_no_aux
-   models/moses_sample
-   models/wmt15_eval
-   models/word2vec_sample
-   stemmers/porter_test
-   stemmers/rslp
-   taggers/averaged_perceptron_tagger
-   taggers/averaged_perceptron_tagger_ru
-   taggers/universal_tagset
-   tokenizers/punkt
-)
-
-PACKAGES_UNPACK_EXTRA=(
-   chunkers/maxent_ne_chunker
-   corpora/biocreative_ppi
-   corpora/brown_tei
-   corpora/kimmo
-   corpora/paradigms
-   corpora/pe08
-   corpora/pil
-   corpora/pl196x
-   corpora/problem_reports
-   corpora/smultron
-   corpora/unicode_samples
-   corpora/verbnet3
-   corpora/ycoe
-   grammars/basque_grammars
-   grammars/spanish_grammars
-   help/tagsets
-   misc/mwa_ppdb
-   taggers/maxent_treebank_pos_tagger
-)
-
-add_data() {
-   local x
-   for x; do
-   SRC_URI+="
-   
https://raw.githubusercontent.com/nltk/nltk_data/gh-pages/packages/${x}.zip
-   -> nltk-${x#*/}-${PV}.zip"
-   done
-}
-
-add_data "${PACKAGES_ZIP[@]}" "${PACKAGES_UNPACK[@]}"
-SRC_URI+="
-   extra? ("
-add_data "${PACKAGES_UNPACK_EXTRA[@]}"
-SRC_URI+="
-   )"
-
-CHECKREQS_DISK_USR=3G
-CHECKREQS_DISK_BUILD=${CHECKREQS_DISK_USR}
-
-src_unpack() {
-   local x
-   local to_unpack=( "${PACKAGES_UNPACK[@]}" )
- 

[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/

2020-04-30 Thread Jason A. Donenfeld
commit: 05ef2cfc833c5f46db539bed78621a552ec97ce6
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Thu Apr 30 20:21:40 2020 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Thu Apr 30 20:22:23 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05ef2cfc

dev-python/nltk: add missing dependencies

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 dev-python/nltk/nltk-3.5.ebuild | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dev-python/nltk/nltk-3.5.ebuild b/dev-python/nltk/nltk-3.5.ebuild
index c01b3203dde..754de8ce173 100644
--- a/dev-python/nltk/nltk-3.5.ebuild
+++ b/dev-python/nltk/nltk-3.5.ebuild
@@ -18,7 +18,11 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos 
~x86-solaris"
 IUSE="tk"
 
-RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
+RDEPEND="
+   dev-python/joblib[${PYTHON_USEDEP}]
+   dev-python/regex[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+"
 BDEPEND="
test? (
dev-python/joblib[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/

2020-04-13 Thread Michał Górny
commit: 4abe0f29ac67e62574fb45e05befcddb60aa678e
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Apr 13 08:14:23 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Apr 13 10:32:17 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4abe0f29

dev-python/nltk: Enable py3.8

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/nltk/nltk-3.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/nltk/nltk-3.5.ebuild b/dev-python/nltk/nltk-3.5.ebuild
index 8f9f7024193..c01b3203dde 100644
--- a/dev-python/nltk/nltk-3.5.ebuild
+++ b/dev-python/nltk/nltk-3.5.ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 
 DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_{6,7,8} )
 PYTHON_REQ_USE="sqlite,tk?,xml(+)"
 
 inherit distutils-r1



[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/

2020-04-13 Thread Michał Górny
commit: 475150d5133727b3df682dda385dd439165af430
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Apr 13 07:32:00 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Apr 13 10:32:16 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=475150d5

dev-python/nltk: Bump to 3.5

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/nltk/Manifest|  1 +
 dev-python/nltk/nltk-3.5.ebuild | 56 +
 2 files changed, 57 insertions(+)

diff --git a/dev-python/nltk/Manifest b/dev-python/nltk/Manifest
index aa8a421a2c1..4645b2636a1 100644
--- a/dev-python/nltk/Manifest
+++ b/dev-python/nltk/Manifest
@@ -1 +1,2 @@
 DIST nltk-3.4.5.tar.gz 2821481 BLAKE2B 
9d3d6df9a951b4dfbfec335386ba0fb13c484c74a066141ebdfdb541fbec421dd72163d4028e239abd58f95a73e0eef5861574fa9955e4ee11f2c4598c895f59
 SHA512 
0ca24cd2154e47a8c50fe8e2426fa01c80904ece4100b07cdb4e5835e423e31968e96f0e750e1936f1e758a608596c560aaaee05b844b334f6179249db05f969
+DIST nltk-3.5.tar.gz 2805844 BLAKE2B 
d2494d831cf5503ac938b203e405ebae606166dbb907655113d3a5267bd54f03b6d8d5ac9e545fefd0b7855ce0c985064c9e746e402c540e19546e2d11ec151e
 SHA512 
056ae219af607c158f1f2adc6fb9b4f402721778c13bf5ebc178deaf631142ad3e571d8b1fd96145067833cbeac4db25fc07c3fd032188c2d8ee7e5d7bd824f6

diff --git a/dev-python/nltk/nltk-3.5.ebuild b/dev-python/nltk/nltk-3.5.ebuild
new file mode 100644
index 000..8f9f7024193
--- /dev/null
+++ b/dev-python/nltk/nltk-3.5.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{6,7} )
+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-macos 
~x86-solaris"
+IUSE="tk"
+
+RDEPEND="dev-python/six[${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/twython[${PYTHON_USEDEP}]
+   sci-libs/scikits_learn[${PYTHON_USEDEP}]
+   sci-libs/scipy[${PYTHON_USEDEP}]
+   )"
+PDEPEND="dev-python/nltk-data"
+
+distutils_enable_tests nose
+
+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
+}
+
+python_test() {
+   "${EPYTHON}" runtests.py -v || die "Tests failed with ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/

2020-04-13 Thread Michał Górny
commit: 395c066ad8c1ac0f281ca54409e28f1e11d4c827
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Apr 13 07:55:14 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Apr 13 10:32:13 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=395c066a

dev-python/nltk: Remove old (drop to ~arch)

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/nltk/Manifest  |  1 -
 dev-python/nltk/metadata.xml  |  3 ---
 dev-python/nltk/nltk-3.2.5.ebuild | 31 ---
 3 files changed, 35 deletions(-)

diff --git a/dev-python/nltk/Manifest b/dev-python/nltk/Manifest
index 00cbf89f246..aa8a421a2c1 100644
--- a/dev-python/nltk/Manifest
+++ b/dev-python/nltk/Manifest
@@ -1,2 +1 @@
-DIST nltk-3.2.5.tar.gz 1188856 BLAKE2B 
316e5955d2f90c351673ee9d3f0cc159babbcae08104518db62e796b422dcbf51668001b06b5d5dc399613d4db0ed39ff7dd15ad15d6f6c64e10c73a4d53bc06
 SHA512 
967b209ce3dde5296dafac16b91bff3894ff1a3f073c76974fd9193912597c82d2d1c50d4419052da77ab66f798f230f725b83f31368a95cacf94d46e45055de
 DIST nltk-3.4.5.tar.gz 2821481 BLAKE2B 
9d3d6df9a951b4dfbfec335386ba0fb13c484c74a066141ebdfdb541fbec421dd72163d4028e239abd58f95a73e0eef5861574fa9955e4ee11f2c4598c895f59
 SHA512 
0ca24cd2154e47a8c50fe8e2426fa01c80904ece4100b07cdb4e5835e423e31968e96f0e750e1936f1e758a608596c560aaaee05b844b334f6179249db05f969

diff --git a/dev-python/nltk/metadata.xml b/dev-python/nltk/metadata.xml
index 4bca3859ebd..7cfca4fc39a 100644
--- a/dev-python/nltk/metadata.xml
+++ b/dev-python/nltk/metadata.xml
@@ -5,9 +5,6 @@
 pyt...@gentoo.org
 Python
   
-  
-Use numpy for the saved word tokenizer
-  
   
 nltk
 nltk

diff --git a/dev-python/nltk/nltk-3.2.5.ebuild 
b/dev-python/nltk/nltk-3.2.5.ebuild
deleted file mode 100644
index d683c2517e5..000
--- a/dev-python/nltk/nltk-3.2.5.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-PYTHON_COMPAT=( python3_6 )
-PYTHON_REQ_USE="sqlite,tk?,xml(+)"
-
-inherit distutils-r1
-
-DESCRIPTION="Natural Language Toolkit"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-HOMEPAGE="https://www.nltk.org/;
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos 
~x86-solaris"
-IUSE="numpy test tk"
-
-RDEPEND="numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
-   dev-python/six[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   test? ( dev-python/nose[${PYTHON_USEDEP}] )"
-
-# currently requires linguistic data to be downloaded separately
-RESTRICT="test"
-
-python_test() {
-   nosetests || die "Tests failed under ${EPYTHON}"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk-data/

2020-04-13 Thread Michał Górny
commit: d2046bcd67c169466279d561c5a69006f2faa74d
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Apr 13 09:26:40 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Apr 13 10:32:14 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2046bcd

dev-python/nltk-data: Install corpora/pl196x unconditionally

Install corpora/pl196x unconditionally as it is required
for dev-python/nltk-3.5 tests.

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/nltk-data/nltk-data-20200312-r1.ebuild | 184 ++
 1 file changed, 184 insertions(+)

diff --git a/dev-python/nltk-data/nltk-data-20200312-r1.ebuild 
b/dev-python/nltk-data/nltk-data-20200312-r1.ebuild
new file mode 100644
index 000..c8f12c580e6
--- /dev/null
+++ b/dev-python/nltk-data/nltk-data-20200312-r1.ebuild
@@ -0,0 +1,184 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit check-reqs
+
+DESCRIPTION="Data files for NLTK"
+HOMEPAGE="https://www.nltk.org/nltk_data/;
+
+# at least some of the files have poorly documented licenses
+# TODO: create a USE flag for free-ish subset
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="extra"
+RESTRICT="bindist mirror"
+
+BDEPEND="app-arch/unzip"
+
+PACKAGES_ZIP=(
+   # wget -O - https://www.nltk.org/nltk_data/ | xml sel -t -m 
'//package[@unzip=0]' -v @subdir -o "/" -v @id -n - | sort
+   corpora/comtrans
+   corpora/conll2007
+   corpora/jeita
+   corpora/knbc
+   corpora/machado
+   corpora/masc_tagged
+   corpora/nombank.1.0
+   corpora/panlex_swadesh
+   corpora/propbank
+   corpora/reuters
+   corpora/semcor
+   corpora/universal_treebanks_v20
+   sentiment/vader_lexicon
+   stemmers/snowball_data
+)
+
+PACKAGES_UNPACK=(
+   # wget -O - https://www.nltk.org/nltk_data/ | xml sel -t -m 
'//package[@unzip=1]' -v @subdir -o "/" -v @id -n - | sort
+   corpora/abc
+   corpora/alpino
+   corpora/brown
+   corpora/cess_cat
+   corpora/cess_esp
+   corpora/chat80
+   corpora/city_database
+   corpora/cmudict
+   corpora/comparative_sentences
+   corpora/conll2000
+   corpora/conll2002
+   corpora/crubadan
+   corpora/dependency_treebank
+   corpora/dolch
+   corpora/europarl_raw
+   corpora/floresta
+   corpora/framenet_v15
+   corpora/framenet_v17
+   corpora/gazetteers
+   corpora/genesis
+   corpora/gutenberg
+   corpora/ieer
+   corpora/inaugural
+   corpora/indian
+   corpora/lin_thesaurus
+   corpora/mac_morpho
+   corpora/movie_reviews
+   corpora/mte_teip5
+   corpora/names
+   corpora/nonbreaking_prefixes
+   corpora/nps_chat
+   corpora/omw
+   corpora/opinion_lexicon
+   corpora/pl196x
+   corpora/ppattach
+   corpora/product_reviews_1
+   corpora/product_reviews_2
+   corpora/pros_cons
+   corpora/ptb
+   corpora/qc
+   corpora/rte
+   corpora/senseval
+   corpora/sentence_polarity
+   corpora/sentiwordnet
+   corpora/shakespeare
+   corpora/sinica_treebank
+   corpora/state_union
+   corpora/stopwords
+   corpora/subjectivity
+   corpora/swadesh
+   corpora/switchboard
+   corpora/timit
+   corpora/toolbox
+   corpora/treebank
+   corpora/twitter_samples
+   corpora/udhr
+   corpora/udhr2
+   corpora/verbnet
+   corpora/webtext
+   corpora/wordnet
+   corpora/wordnet_ic
+   corpora/words
+   grammars/book_grammars
+   grammars/large_grammars
+   grammars/sample_grammars
+   misc/perluniprops
+   models/bllip_wsj_no_aux
+   models/moses_sample
+   models/wmt15_eval
+   models/word2vec_sample
+   stemmers/porter_test
+   stemmers/rslp
+   taggers/averaged_perceptron_tagger
+   taggers/averaged_perceptron_tagger_ru
+   taggers/universal_tagset
+   tokenizers/punkt
+)
+
+PACKAGES_UNPACK_EXTRA=(
+   chunkers/maxent_ne_chunker
+   corpora/biocreative_ppi
+   corpora/brown_tei
+   corpora/kimmo
+   corpora/paradigms
+   corpora/pe08
+   corpora/pil
+   corpora/problem_reports
+   corpora/smultron
+   corpora/unicode_samples
+   corpora/verbnet3
+   corpora/ycoe
+   grammars/basque_grammars
+   grammars/spanish_grammars
+   help/tagsets
+   misc/mwa_ppdb
+   taggers/maxent_treebank_pos_tagger
+)
+
+add_data() {
+   local x
+   for x; do
+   SRC_URI+="
+   
https://raw.githubusercontent.com/nltk/nltk_data/gh-pages/packages/${x}.zip
+   -> nltk-${x#*/}-${PV}.zip"
+   done
+}
+
+add_data "${PACKAGES_ZIP[@]}" "${PACKAGES_UNPACK[@]}"
+SRC_URI+="
+   extra? ("
+add_data "${PACKAGES_UNPACK_EXTRA[@]}"
+SRC_URI+="
+   )"
+
+CHECKREQS_DISK_USR=3G

[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/

2020-04-09 Thread Joonas Niilola
commit: 2301db9a43a79857778dfc95bb7ab2060a7a416e
Author: Joonas Niilola  gentoo  org>
AuthorDate: Thu Apr  9 07:21:54 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Apr  9 08:19:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2301db9a

dev-python/nltk: enable python3.7 & add missing test dep for 3.4.5

Signed-off-by: Joonas Niilola  gentoo.org>

 dev-python/nltk/nltk-3.4.5.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-python/nltk/nltk-3.4.5.ebuild 
b/dev-python/nltk/nltk-3.4.5.ebuild
index b3165b5e4a6..dd3b389a81e 100644
--- a/dev-python/nltk/nltk-3.4.5.ebuild
+++ b/dev-python/nltk/nltk-3.4.5.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python3_{6,7} )
 PYTHON_REQ_USE="sqlite,tk?,xml(+)"
 
 inherit distutils-r1
@@ -20,6 +20,7 @@ IUSE="tk"
 RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
 BDEPEND="
test? (
+   dev-python/joblib[${PYTHON_USEDEP}]
dev-python/nltk-data
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/pyparsing[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/

2020-03-28 Thread Michał Górny
commit: f23049cf6d269f066e2a5f916a670ce426dd4e5e
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar 28 09:10:36 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar 28 09:10:36 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f23049cf

dev-python/nltk: Remove redundant versions

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/nltk/Manifest  |  1 -
 dev-python/nltk/nltk-3.2.3.ebuild | 31 ---
 2 files changed, 32 deletions(-)

diff --git a/dev-python/nltk/Manifest b/dev-python/nltk/Manifest
index 79d80c3f67c..00cbf89f246 100644
--- a/dev-python/nltk/Manifest
+++ b/dev-python/nltk/Manifest
@@ -1,3 +1,2 @@
-DIST nltk-3.2.3.tar.gz 1166282 BLAKE2B 
803dc1a8ec80a17538c2164d5ee0eca201be2307bbf3e08093a55cee93e9a539d8b48ea42c8ad84b540922355bf0b151ae04338d8505378a89173159d7464b76
 SHA512 
2e5c0899c29f61166b2e161e62e81fd35e045bda979fbfa662bf9ad1349be4aae6aabe4b9de34905e2abbc05b06a096480829fd66638efa35cd5c866f76c62e8
 DIST nltk-3.2.5.tar.gz 1188856 BLAKE2B 
316e5955d2f90c351673ee9d3f0cc159babbcae08104518db62e796b422dcbf51668001b06b5d5dc399613d4db0ed39ff7dd15ad15d6f6c64e10c73a4d53bc06
 SHA512 
967b209ce3dde5296dafac16b91bff3894ff1a3f073c76974fd9193912597c82d2d1c50d4419052da77ab66f798f230f725b83f31368a95cacf94d46e45055de
 DIST nltk-3.4.5.tar.gz 2821481 BLAKE2B 
9d3d6df9a951b4dfbfec335386ba0fb13c484c74a066141ebdfdb541fbec421dd72163d4028e239abd58f95a73e0eef5861574fa9955e4ee11f2c4598c895f59
 SHA512 
0ca24cd2154e47a8c50fe8e2426fa01c80904ece4100b07cdb4e5835e423e31968e96f0e750e1936f1e758a608596c560aaaee05b844b334f6179249db05f969

diff --git a/dev-python/nltk/nltk-3.2.3.ebuild 
b/dev-python/nltk/nltk-3.2.3.ebuild
deleted file mode 100644
index d683c2517e5..000
--- a/dev-python/nltk/nltk-3.2.3.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-PYTHON_COMPAT=( python3_6 )
-PYTHON_REQ_USE="sqlite,tk?,xml(+)"
-
-inherit distutils-r1
-
-DESCRIPTION="Natural Language Toolkit"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-HOMEPAGE="https://www.nltk.org/;
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos 
~x86-solaris"
-IUSE="numpy test tk"
-
-RDEPEND="numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
-   dev-python/six[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   test? ( dev-python/nose[${PYTHON_USEDEP}] )"
-
-# currently requires linguistic data to be downloaded separately
-RESTRICT="test"
-
-python_test() {
-   nosetests || die "Tests failed under ${EPYTHON}"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/, dev-python/nltk/files/

2020-03-13 Thread Michał Górny
commit: 5d19b99d21a76cdffab3e4e8a05455c3d995a798
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Mar 12 18:31:09 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Mar 13 09:55:56 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d19b99d

dev-python/nltk: Bump to 3.4.5, enable tests

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/nltk/Manifest   |  1 +
 .../nltk/files/nltk-3.4.5-corpus-tests.patch   | 37 ++
 dev-python/nltk/nltk-3.4.5.ebuild  | 58 ++
 3 files changed, 96 insertions(+)

diff --git a/dev-python/nltk/Manifest b/dev-python/nltk/Manifest
index 8d078622448..79d80c3f67c 100644
--- a/dev-python/nltk/Manifest
+++ b/dev-python/nltk/Manifest
@@ -1,2 +1,3 @@
 DIST nltk-3.2.3.tar.gz 1166282 BLAKE2B 
803dc1a8ec80a17538c2164d5ee0eca201be2307bbf3e08093a55cee93e9a539d8b48ea42c8ad84b540922355bf0b151ae04338d8505378a89173159d7464b76
 SHA512 
2e5c0899c29f61166b2e161e62e81fd35e045bda979fbfa662bf9ad1349be4aae6aabe4b9de34905e2abbc05b06a096480829fd66638efa35cd5c866f76c62e8
 DIST nltk-3.2.5.tar.gz 1188856 BLAKE2B 
316e5955d2f90c351673ee9d3f0cc159babbcae08104518db62e796b422dcbf51668001b06b5d5dc399613d4db0ed39ff7dd15ad15d6f6c64e10c73a4d53bc06
 SHA512 
967b209ce3dde5296dafac16b91bff3894ff1a3f073c76974fd9193912597c82d2d1c50d4419052da77ab66f798f230f725b83f31368a95cacf94d46e45055de
+DIST nltk-3.4.5.tar.gz 2821481 BLAKE2B 
9d3d6df9a951b4dfbfec335386ba0fb13c484c74a066141ebdfdb541fbec421dd72163d4028e239abd58f95a73e0eef5861574fa9955e4ee11f2c4598c895f59
 SHA512 
0ca24cd2154e47a8c50fe8e2426fa01c80904ece4100b07cdb4e5835e423e31968e96f0e750e1936f1e758a608596c560aaaee05b844b334f6179249db05f969

diff --git a/dev-python/nltk/files/nltk-3.4.5-corpus-tests.patch 
b/dev-python/nltk/files/nltk-3.4.5-corpus-tests.patch
new file mode 100644
index 000..0284aec02b9
--- /dev/null
+++ b/dev-python/nltk/files/nltk-3.4.5-corpus-tests.patch
@@ -0,0 +1,37 @@
+diff --git a/nltk/test/corpus.doctest b/nltk/test/corpus.doctest
+index 5509fe2fd..0a34c9522 100644
+--- a/nltk/test/corpus.doctest
 b/nltk/test/corpus.doctest
+@@ -94,7 +94,7 @@ If the reader methods are called without any arguments, they 
will
+ typically load all documents in the corpus.
+ 
+ >>> len(inaugural.words())
+-145735
++149797
+ 
+ If a corpus contains a README file, it can be accessed with a ``readme()`` 
method:
+ 
+@@ -387,8 +387,8 @@ examples illustrate the use of the wordlist corpora:
+ 
+ >>> stopwords.fileids() # doctest: +ELLIPSIS
+ ['arabic', 'azerbaijani', 'danish', 'dutch', 'english', 'finnish', 
'french', ...]
+->>> stopwords.words('portuguese') # doctest: +ELLIPSIS
+-['de', 'a', 'o', 'que', 'e', 'do', 'da', 'em', 'um', 'para', ...]
++>>> sorted(stopwords.words('portuguese')) # doctest: +ELLIPSIS
++['a', 'ao', 'aos', 'aquela', 'aquelas', 'aquele', 'aqueles', ...]
+ >>> names.fileids()
+ ['female.txt', 'male.txt']
+ >>> names.words('male.txt') # doctest: +ELLIPSIS
+diff --git a/nltk/test/unit/test_wordnet.py b/nltk/test/unit/test_wordnet.py
+index a7b26ac91..a1df3d396 100644
+--- a/nltk/test/unit/test_wordnet.py
 b/nltk/test/unit/test_wordnet.py
+@@ -204,7 +204,7 @@ class WordnNetDemo(unittest.TestCase):
+ u'preobrat',
+ u'preobrat_v_mišljenju'
+ ]
+-self.assertEqual(S('about-face.n.02').lemma_names(lang='slv'), 
expected)
++
self.assertEqual(sorted(S('about-face.n.02').lemma_names(lang='slv')), 
sorted(expected))
+ 
+ def test_iterable_type_for_all_lemma_names(self):
+ # Duck-test for iterables.

diff --git a/dev-python/nltk/nltk-3.4.5.ebuild 
b/dev-python/nltk/nltk-3.4.5.ebuild
new file mode 100644
index 000..b3165b5e4a6
--- /dev/null
+++ b/dev-python/nltk/nltk-3.4.5.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_6 )
+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-macos 
~x86-solaris"
+IUSE="tk"
+
+RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
+BDEPEND="
+   test? (
+   dev-python/nltk-data
+   dev-python/numpy[${PYTHON_USEDEP}]
+   dev-python/pyparsing[${PYTHON_USEDEP}]
+   dev-python/twython[${PYTHON_USEDEP}]
+   sci-libs/scikits_learn[${PYTHON_USEDEP}]
+   sci-libs/scipy[${PYTHON_USEDEP}]
+   )"
+PDEPEND="dev-python/nltk-data"
+
+distutils_enable_tests nose
+
+PATCHES=(
+   "${FILESDIR}"/nltk-3.4.5-corpus-tests.patch
+)
+
+src_prepare() {
+   # requires unpackaged pycrfsuite
+   sed -i -e 

[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk-data/

2020-03-13 Thread Michał Górny
commit: c2a377c1163cd9966cefe455ffaef3dd668fd202
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Mar 12 13:35:24 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Mar 13 09:55:55 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2a377c1

dev-python/nltk-data: New package for dev-python/nltk data files

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/nltk-data/Manifest  | 107 ++
 dev-python/nltk-data/metadata.xml  |  14 ++
 dev-python/nltk-data/nltk-data-20200312.ebuild | 184 +
 3 files changed, 305 insertions(+)

diff --git a/dev-python/nltk-data/Manifest b/dev-python/nltk-data/Manifest
new file mode 100644
index 000..fa415ee7f30
--- /dev/null
+++ b/dev-python/nltk-data/Manifest
@@ -0,0 +1,107 @@
+DIST nltk-abc-20200312.zip 1487851 BLAKE2B 
ba28be6f7d5fcd1840af11bae1e669233a151f9d6a5ae1a958ab5b5b8bf33eaac03a5172f87bd0dd481b1cd069fa107d0fadd6f5cf037eee4350652a58e21bcc
 SHA512 
e2ee1fc1738c1ebfac50271e9c8d8396a603ceef2b1a6471fb38ba78a1a74e639f5c51bf93ada93f70832462bd7bc42621d1c5ccfeba0315abe8408f28788db0
+DIST nltk-alpino-20200312.zip 2797255 BLAKE2B 
54cff649a36e0eefd74b217ee5c4fa1be464edebb5b4bbf004960487fe172e6e623b5fb9b104da34e109eac3dbed02397119b7998ed8db8b32dfd62ab436f4bd
 SHA512 
0f0b40ca8c36068dabde193299fc00754b42f0ef42f562b96ec413b8f6400db9fe874fa750b198ac92fa7eb3cb8e4bf1ecd463aa95005dd4fb23825e47c4a772
+DIST nltk-averaged_perceptron_tagger-20200312.zip 2526731 BLAKE2B 
bc6bfc544c78df029727c4f809749902539310b1894803f83b07add698455bbd9ca0f5fbd358ef91978414714b2041c757a1bfbd1db985ba92e81fbf7ae937a8
 SHA512 
bda565462823373905ed73073aaa78fc390077f370fdd942e7681e7e9b6f78d41bc4b71e7aa9b4d601de5a5a886d4bbb14b062e1e7761629980a508054f7facc
+DIST nltk-averaged_perceptron_tagger_ru-20200312.zip 8628828 BLAKE2B 
026ca0e6a511098029b45efa46dd336d37123575bd77682f8a6084c39327097c85052818921a5b0ce2f202924ddf2a24418025f8c979bef034aa0086cb583a17
 SHA512 
fd56c7f8188c2ddd6b6239189ffa701c56f2e47376a210bb0c92881969304874f720f27a6965e853db2bf43aff202f09dfea7bb30420590e1a75940493797db6
+DIST nltk-basque_grammars-20200312.zip 4704 BLAKE2B 
024c6d86844bb3ea368b6dd71d065b4bd38b551576b3919f26e6c32139ebb3b5338c17453d766cef4dc7f5c358220b2738d16baf58c8cf794954e10a460100fa
 SHA512 
52d07166551dadbf99830052595982b93c0f8c611c4051efc00dc2054a4a219b8a3ee57072f8bac51b34e5eb8e1e5631fc2668bf319d252fca201d798a58455a
+DIST nltk-biocreative_ppi-20200312.zip 223566 BLAKE2B 
ca749a1713992045363a7e4af7c912a750f6a17cc729f60fe1ccbe62cbb565a2c349c09764e91946753e630409382b4b1a1578a17b29e10d7bdba9818c6ef098
 SHA512 
b6dd5eee7849c1161afca851d22106671ba27cef63d4bf7f500b6c92625b31cbf4aa7593ae65c7eac25f532ce93f06faeb78e7131e35b5cc0c2d74a2c06d43d7
+DIST nltk-bllip_wsj_no_aux-20200312.zip 24516205 BLAKE2B 
cb52ef99d7505b956b31ecf0c02ae5538946ef6b9b639eaf7b2808795a3bb6e05188da20b8495d80a4a3077a6e8f1d53b2ebbadf5d14382e245841ae1919a839
 SHA512 
03bb1c3b6c27e0049e7b5fc7721e2903c1dea80b55fe35208a4acd67116618a646d98fc5184d3a43ac9ce3dc693fb8ca768a18f20d9d6eb69d91fd2a101cc9e5
+DIST nltk-book_grammars-20200312.zip 9103 BLAKE2B 
4087df6322534a8b012df25587151afe6121ad857ed99cdac1cfa5c8f9aca4d2c623876fb65fa21b9f391c0e96401ef18a0f403bce343755fff38c7d85292012
 SHA512 
8cfa085e8203f9c415d18c0afb3e3cf9963214929f4de71cf5933234e3623e432cfca3a167cd7c2d9cdd4d22496cf959249790789782675cec392d0e0ef5549d
+DIST nltk-brown-20200312.zip 3314357 BLAKE2B 
f9c54f01d08ce2da90238a94e74c693ca60ad63b0cfdc141897942b4c01235f505d9b60f4ab0eb0aa63fc4b414922f5d71eed404486d4b31788f167e068c300c
 SHA512 
f425e022f8f3eb459cf9ad7c90c326920430f7f0ad3e15d5961dfb5146ac355f7e13ba7681a78a26d3c5b146979eb778012aac4ce3dc5d59421a60798dede85d
+DIST nltk-brown_tei-20200312.zip 8737738 BLAKE2B 
5386fc3c818e8f772760f8c8288fab1fb6f67d5f27e8aa47bc9366716b66c1b4c5fb52e0c9d52f1d2884ab426fe45afcb5d07dc497cf1a2e86dc4c06dd498cac
 SHA512 
f3dcc36bcab63d481e4d833c8946f10163f732166114c8fdd63932fff9fba3c236593a082ebcdf96f74aea6d33e424b7be4c645fd0f5ee5090f0335544c02c47
+DIST nltk-cess_cat-20200312.zip 5396688 BLAKE2B 
b2c79b6d938b98118ed0f541ed75509bd47d2309123c97aff2aa1f03fe6da298c5270a9cd6fe3da91e57402b6bbf3953c88eab7e25c47b9a12720ff0367499e1
 SHA512 
6f14beaa98a5f0731fe126c7e10110045c7cac8f7893bea0a6895bc64e6953622f989e93c2e77f6d66d5a3024acc11422584d6563fc3efa84766757e2c5d4127
+DIST nltk-cess_esp-20200312.zip 2220392 BLAKE2B 
16695534a2267c20d204e6ce19a19fbf053d3f4e06d8b52bf480f9c775b05381a902f56b0793aabb20ad07ed6334c3f24217dcfffb33bf32bfb3aaa6736dcbf0
 SHA512 
daca83bbe8d725fad5775f5c71946ae534764a758ccf428b3f48674eaa4a5a8342cb35f38ae9715ffa75030771b91f1303bb2b98a55922337e6b39dfa2e7a94a
+DIST nltk-chat80-20200312.zip 19209 BLAKE2B 
a9dc4eb6d0a6d081cff840a8cd6b3249ca2e26a6aa783f33fba770f3c56917537cfb00706464767b70d4b10339b443615272b909fc43efe5ce1e8d8dbcb8df2e
 SHA512 

[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/

2019-02-28 Thread Aaron Bauman
commit: 8bf96aa40255aa4811dd90fc2e3f05ffb1f47eca
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Wed Jan 30 16:45:13 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Fri Mar  1 00:26:33 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bf96aa4

dev-python/nltk: use HTTPS

Signed-off-by: Michael Mair-Keimberger  gmail.com>
Signed-off-by: Aaron Bauman  gentoo.org>

 dev-python/nltk/nltk-3.2.3.ebuild | 4 ++--
 dev-python/nltk/nltk-3.2.5.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-python/nltk/nltk-3.2.3.ebuild 
b/dev-python/nltk/nltk-3.2.3.ebuild
index 7c9c2a8c4ac..1859132711e 100644
--- a/dev-python/nltk/nltk-3.2.3.ebuild
+++ b/dev-python/nltk/nltk-3.2.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -10,7 +10,7 @@ inherit distutils-r1
 
 DESCRIPTION="Natural Language Toolkit"
 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-HOMEPAGE="http://nltk.org/;
+HOMEPAGE="https://www.nltk.org/;
 
 LICENSE="Apache-2.0"
 SLOT="0"

diff --git a/dev-python/nltk/nltk-3.2.5.ebuild 
b/dev-python/nltk/nltk-3.2.5.ebuild
index 00df16dee53..f38f2204264 100644
--- a/dev-python/nltk/nltk-3.2.5.ebuild
+++ b/dev-python/nltk/nltk-3.2.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -10,7 +10,7 @@ inherit distutils-r1
 
 DESCRIPTION="Natural Language Toolkit"
 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-HOMEPAGE="http://nltk.org/;
+HOMEPAGE="https://www.nltk.org/;
 
 LICENSE="Apache-2.0"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/

2018-06-26 Thread Jonas Stein
commit: 24a3a46ecbac97f45e63102ce9ac8cd734ac5d1c
Author: Jonas Stein  gentoo  org>
AuthorDate: Tue Jun 26 22:21:47 2018 +
Commit: Jonas Stein  gentoo  org>
CommitDate: Tue Jun 26 22:22:34 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24a3a46e

dev-python/nltk: Maintainer retired

Proxied maintainer retired due to inactivity.
Bug: https://bugs.gentoo.org/633218
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-python/nltk/metadata.xml | 9 +
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/dev-python/nltk/metadata.xml b/dev-python/nltk/metadata.xml
index 2e15285d683..4bca3859ebd 100644
--- a/dev-python/nltk/metadata.xml
+++ b/dev-python/nltk/metadata.xml
@@ -1,14 +1,6 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-  
-clabbe.montj...@gmail.com
-LABBE Corentin (Montjoie)
-  
-  
-proxy-ma...@gentoo.org
-Proxy Maintainers
-  
   
 pyt...@gentoo.org
 Python
@@ -21,3 +13,4 @@
 nltk
   
 
+



[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/

2018-01-05 Thread Michał Górny
commit: a8e566bc12b3d9986f5c28b761c193745259c99f
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jan  5 09:52:59 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jan  5 13:25:40 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8e566bc

dev-python/nltk: Clean old up

 dev-python/nltk/Manifest  |  2 --
 dev-python/nltk/nltk-3.0.3.ebuild | 22 --
 dev-python/nltk/nltk-3.2.2.ebuild | 21 -
 3 files changed, 45 deletions(-)

diff --git a/dev-python/nltk/Manifest b/dev-python/nltk/Manifest
index 2d23f41def2..8d078622448 100644
--- a/dev-python/nltk/Manifest
+++ b/dev-python/nltk/Manifest
@@ -1,4 +1,2 @@
-DIST nltk-3.0.3.tar.gz 1011266 BLAKE2B 
a53f2e628a49c8aa9fbacab9d651a899b1a7d54fa0f393426f07244e013af525f550112351fe42e6e4fcaf59e2a313d1055b62c0190c362d580c72fbb9bb6313
 SHA512 
b058642670166bff538e2c1c417ffb2e57a217a9f3a056475ad47ffa222df7237bfb4ac00a58952dc6f79f12a32e3a40bf53a96262a4b3caced64c2c09abdfc3
-DIST nltk-3.2.2.tar.gz 1153499 BLAKE2B 
1bc7d95e8afdfe30cff1b8bab47cef9f3ef4212adffe066de26028efa423a2c4e1aa96f35c135f8a71070c54f8a61a1d9665f791be474a6f2be27302d2bf1aad
 SHA512 
7a9aba4db26bc091bcba248156f74353a55cae0301ff3d675e55615967a0a1163d2d1db4e4bc51a953ced3c28d0b330a7949f4f9ec3621df300dcad23877a556
 DIST nltk-3.2.3.tar.gz 1166282 BLAKE2B 
803dc1a8ec80a17538c2164d5ee0eca201be2307bbf3e08093a55cee93e9a539d8b48ea42c8ad84b540922355bf0b151ae04338d8505378a89173159d7464b76
 SHA512 
2e5c0899c29f61166b2e161e62e81fd35e045bda979fbfa662bf9ad1349be4aae6aabe4b9de34905e2abbc05b06a096480829fd66638efa35cd5c866f76c62e8
 DIST nltk-3.2.5.tar.gz 1188856 BLAKE2B 
316e5955d2f90c351673ee9d3f0cc159babbcae08104518db62e796b422dcbf51668001b06b5d5dc399613d4db0ed39ff7dd15ad15d6f6c64e10c73a4d53bc06
 SHA512 
967b209ce3dde5296dafac16b91bff3894ff1a3f073c76974fd9193912597c82d2d1c50d4419052da77ab66f798f230f725b83f31368a95cacf94d46e45055de

diff --git a/dev-python/nltk/nltk-3.0.3.ebuild 
b/dev-python/nltk/nltk-3.0.3.ebuild
deleted file mode 100644
index 57605e0d4fd..000
--- a/dev-python/nltk/nltk-3.0.3.ebuild
+++ /dev/null
@@ -1,22 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-PYTHON_COMPAT=( python{2_7,3_4} )
-PYTHON_REQ_USE="tk?,xml(+)"
-
-inherit distutils-r1
-
-DESCRIPTION="Natural Language Toolkit"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-HOMEPAGE="http://nltk.org/;
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos 
~x86-solaris"
-IUSE="numpy tk"
-
-RDEPEND="${RDEPEND}
-   numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
-   dev-python/pyyaml[${PYTHON_USEDEP}]"

diff --git a/dev-python/nltk/nltk-3.2.2.ebuild 
b/dev-python/nltk/nltk-3.2.2.ebuild
deleted file mode 100644
index 79fb3644aae..000
--- a/dev-python/nltk/nltk-3.2.2.ebuild
+++ /dev/null
@@ -1,21 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-PYTHON_COMPAT=( python{2_7,3_4} )
-PYTHON_REQ_USE="sqlite,tk?,xml(+)"
-
-inherit distutils-r1
-
-DESCRIPTION="Natural Language Toolkit"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-HOMEPAGE="http://nltk.org/;
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos 
~x86-solaris"
-IUSE="numpy tk"
-
-RDEPEND="numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )"
-DEPEND="${RDEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/

2017-09-29 Thread Patrick Lauer
commit: 59e27bc47bcd5037fda6979fd7f19a94c609060c
Author: Patrick Lauer  gentoo  org>
AuthorDate: Fri Sep 29 16:55:36 2017 +
Commit: Patrick Lauer  gentoo  org>
CommitDate: Fri Sep 29 16:58:11 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59e27bc4

dev-python/nltk: Bump

Package-Manager: Portage-2.3.10, Repoman-2.3.3

 dev-python/nltk/Manifest  |  1 +
 dev-python/nltk/nltk-3.2.5.ebuild | 31 +++
 2 files changed, 32 insertions(+)

diff --git a/dev-python/nltk/Manifest b/dev-python/nltk/Manifest
index 8dbaff61af5..f10e1390f7a 100644
--- a/dev-python/nltk/Manifest
+++ b/dev-python/nltk/Manifest
@@ -1,3 +1,4 @@
 DIST nltk-3.0.3.tar.gz 1011266 SHA256 
28d6175984445b9cdcc719f36701f034320edbecb78b69a37d1edc876843ea93 SHA512 
b058642670166bff538e2c1c417ffb2e57a217a9f3a056475ad47ffa222df7237bfb4ac00a58952dc6f79f12a32e3a40bf53a96262a4b3caced64c2c09abdfc3
 WHIRLPOOL 
4201a7d6219f437b8e8df2b7c88ae48578e69825c4fe067d777c92b24bd819172b6a831d2ed51de07a3b52bda20f5c559e2da0dcfde58cafca57c811bbb23cd2
 DIST nltk-3.2.2.tar.gz 1153499 SHA256 
1b37db344770021c9be3d68f48d1667a8dae6eeff0e502b7bfb01638d288a88e SHA512 
7a9aba4db26bc091bcba248156f74353a55cae0301ff3d675e55615967a0a1163d2d1db4e4bc51a953ced3c28d0b330a7949f4f9ec3621df300dcad23877a556
 WHIRLPOOL 
c424e9290ffa6af3cbd4576caab28e44afa138001106243c3309e927e53f88bb642ea495be2623abb9635eeb1676dabf5588bcd090c5aff7395cc0763aa52fe7
 DIST nltk-3.2.3.tar.gz 1166282 SHA256 
8734e180ba255562971aca8881f330201666e6ac63c8a1cd853e067eb827bcb1 SHA512 
2e5c0899c29f61166b2e161e62e81fd35e045bda979fbfa662bf9ad1349be4aae6aabe4b9de34905e2abbc05b06a096480829fd66638efa35cd5c866f76c62e8
 WHIRLPOOL 
54791d2d19c973dc4024b701fbd6474013695765b4ffe81b92b9bc9865bbce91c56bd3c30b82cf7b45861cc6f828832796f4dd30363c97366470c485ca82c6d5
+DIST nltk-3.2.5.tar.gz 1188856 SHA256 
2661f9971d983db314bbebd51ba770811a362c6597fd0f303bb1d3beadcb4834 SHA512 
967b209ce3dde5296dafac16b91bff3894ff1a3f073c76974fd9193912597c82d2d1c50d4419052da77ab66f798f230f725b83f31368a95cacf94d46e45055de
 WHIRLPOOL 
3b3d7d0e052342b377b9447c65e5ba5d15bfd122f78a9b487a474c3093d7a2901a6955da1e0598d56eb9b1a8367c3b894488df8e0f6eee8d268733a5e3fc9e46

diff --git a/dev-python/nltk/nltk-3.2.5.ebuild 
b/dev-python/nltk/nltk-3.2.5.ebuild
new file mode 100644
index 000..00df16dee53
--- /dev/null
+++ b/dev-python/nltk/nltk-3.2.5.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+PYTHON_REQ_USE="sqlite,tk?,xml(+)"
+
+inherit distutils-r1
+
+DESCRIPTION="Natural Language Toolkit"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+HOMEPAGE="http://nltk.org/;
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos 
~x86-solaris"
+IUSE="numpy test tk"
+
+RDEPEND="numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
+   dev-python/six[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   test? ( dev-python/nose[${PYTHON_USEDEP}] )"
+
+# currently requires linguistic data to be downloaded separately
+RESTRICT="test"
+
+python_test() {
+   nosetests || die "Tests failed under ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/

2017-08-05 Thread Michael Palimaka
commit: c31faeab9f54f3aa6e18dfb5c278b56534ac1865
Author: Michael Palimaka  gentoo  org>
AuthorDate: Sat Aug  5 09:29:47 2017 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sat Aug  5 09:29:59 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c31faeab

dev-python/nltk: x86 stable

Gentoo-bug: 625028
Package-Manager: Portage-2.3.6, Repoman-2.3.3

 dev-python/nltk/nltk-3.2.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/nltk/nltk-3.2.3.ebuild 
b/dev-python/nltk/nltk-3.2.3.ebuild
index 6e8ddd62d42..7c9c2a8c4ac 100644
--- a/dev-python/nltk/nltk-3.2.3.ebuild
+++ b/dev-python/nltk/nltk-3.2.3.ebuild
@@ -14,7 +14,7 @@ HOMEPAGE="http://nltk.org/;
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos 
~x86-solaris"
+KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos 
~x86-solaris"
 IUSE="numpy test tk"
 
 RDEPEND="numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )



[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/

2017-07-31 Thread Tobias Klausmann
commit: a8fc5b6212890d562f6cea6339697df8af0e2b41
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Mon Jul 31 10:32:48 2017 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Mon Jul 31 10:37:23 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8fc5b62

dev-python/nltk-3.2.3-r0: amd64 stable

Gentoo-Bug: 625028

 dev-python/nltk/nltk-3.2.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/nltk/nltk-3.2.3.ebuild 
b/dev-python/nltk/nltk-3.2.3.ebuild
index 00df16dee53..6e8ddd62d42 100644
--- a/dev-python/nltk/nltk-3.2.3.ebuild
+++ b/dev-python/nltk/nltk-3.2.3.ebuild
@@ -14,7 +14,7 @@ HOMEPAGE="http://nltk.org/;
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos 
~x86-solaris"
+KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos 
~x86-solaris"
 IUSE="numpy test tk"
 
 RDEPEND="numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )



[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/

2017-07-28 Thread Matthias Maier
commit: 377565c1a18987990816397b373c2b7145e63ee6
Author: Labbe Corentin  gmail  com>
AuthorDate: Thu Jul 27 12:33:34 2017 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Fri Jul 28 14:07:34 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=377565c1

dev-python/nltk: need dev-lang/python with USE "sqlite" support

Gentoo-Bug: 588992

Package-Manager: Portage-2.3.6, Repoman-2.3.1
Signed-off-by: Matthias Maier  gentoo.org>

 dev-python/nltk/nltk-3.2.2.ebuild | 2 +-
 dev-python/nltk/nltk-3.2.3.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/nltk/nltk-3.2.2.ebuild 
b/dev-python/nltk/nltk-3.2.2.ebuild
index df645a464b5..79fb3644aae 100644
--- a/dev-python/nltk/nltk-3.2.2.ebuild
+++ b/dev-python/nltk/nltk-3.2.2.ebuild
@@ -4,7 +4,7 @@
 EAPI="6"
 
 PYTHON_COMPAT=( python{2_7,3_4} )
-PYTHON_REQ_USE="tk?,xml(+)"
+PYTHON_REQ_USE="sqlite,tk?,xml(+)"
 
 inherit distutils-r1
 

diff --git a/dev-python/nltk/nltk-3.2.3.ebuild 
b/dev-python/nltk/nltk-3.2.3.ebuild
index ccf9c62b9c3..00df16dee53 100644
--- a/dev-python/nltk/nltk-3.2.3.ebuild
+++ b/dev-python/nltk/nltk-3.2.3.ebuild
@@ -4,7 +4,7 @@
 EAPI="6"
 
 PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
-PYTHON_REQ_USE="tk?,xml(+)"
+PYTHON_REQ_USE="sqlite,tk?,xml(+)"
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/

2017-05-19 Thread Tim Harder
commit: e366b80beae12fff4fb03dd0c2b393920b14e7e9
Author: Tim Harder  gentoo  org>
AuthorDate: Sat May 20 00:35:20 2017 +
Commit: Tim Harder  gentoo  org>
CommitDate: Sat May 20 00:37:29 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e366b80b

dev-python/nltk: version bump to 3.2.3

 dev-python/nltk/Manifest  |  1 +
 dev-python/nltk/nltk-3.2.3.ebuild | 31 +++
 2 files changed, 32 insertions(+)

diff --git a/dev-python/nltk/Manifest b/dev-python/nltk/Manifest
index cefb7b79a31..8dbaff61af5 100644
--- a/dev-python/nltk/Manifest
+++ b/dev-python/nltk/Manifest
@@ -1,2 +1,3 @@
 DIST nltk-3.0.3.tar.gz 1011266 SHA256 
28d6175984445b9cdcc719f36701f034320edbecb78b69a37d1edc876843ea93 SHA512 
b058642670166bff538e2c1c417ffb2e57a217a9f3a056475ad47ffa222df7237bfb4ac00a58952dc6f79f12a32e3a40bf53a96262a4b3caced64c2c09abdfc3
 WHIRLPOOL 
4201a7d6219f437b8e8df2b7c88ae48578e69825c4fe067d777c92b24bd819172b6a831d2ed51de07a3b52bda20f5c559e2da0dcfde58cafca57c811bbb23cd2
 DIST nltk-3.2.2.tar.gz 1153499 SHA256 
1b37db344770021c9be3d68f48d1667a8dae6eeff0e502b7bfb01638d288a88e SHA512 
7a9aba4db26bc091bcba248156f74353a55cae0301ff3d675e55615967a0a1163d2d1db4e4bc51a953ced3c28d0b330a7949f4f9ec3621df300dcad23877a556
 WHIRLPOOL 
c424e9290ffa6af3cbd4576caab28e44afa138001106243c3309e927e53f88bb642ea495be2623abb9635eeb1676dabf5588bcd090c5aff7395cc0763aa52fe7
+DIST nltk-3.2.3.tar.gz 1166282 SHA256 
8734e180ba255562971aca8881f330201666e6ac63c8a1cd853e067eb827bcb1 SHA512 
2e5c0899c29f61166b2e161e62e81fd35e045bda979fbfa662bf9ad1349be4aae6aabe4b9de34905e2abbc05b06a096480829fd66638efa35cd5c866f76c62e8
 WHIRLPOOL 
54791d2d19c973dc4024b701fbd6474013695765b4ffe81b92b9bc9865bbce91c56bd3c30b82cf7b45861cc6f828832796f4dd30363c97366470c485ca82c6d5

diff --git a/dev-python/nltk/nltk-3.2.3.ebuild 
b/dev-python/nltk/nltk-3.2.3.ebuild
new file mode 100644
index 000..ccf9c62b9c3
--- /dev/null
+++ b/dev-python/nltk/nltk-3.2.3.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+PYTHON_REQ_USE="tk?,xml(+)"
+
+inherit distutils-r1
+
+DESCRIPTION="Natural Language Toolkit"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+HOMEPAGE="http://nltk.org/;
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos 
~x86-solaris"
+IUSE="numpy test tk"
+
+RDEPEND="numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
+   dev-python/six[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   test? ( dev-python/nose[${PYTHON_USEDEP}] )"
+
+# currently requires linguistic data to be downloaded separately
+RESTRICT="test"
+
+python_test() {
+   nosetests || die "Tests failed under ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/

2017-05-02 Thread Michał Górny
commit: 4059233ae9fa09b916852f4cd96a84fc932db77c
Author: Michał Górny  gentoo  org>
AuthorDate: Tue May  2 11:14:56 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue May  2 11:58:13 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4059233a

dev-python/nltk: Clean old versions up

 dev-python/nltk/Manifest  |  2 --
 dev-python/nltk/nltk-3.0.4.ebuild | 21 -
 dev-python/nltk/nltk-3.2.1.ebuild | 21 -
 3 files changed, 44 deletions(-)

diff --git a/dev-python/nltk/Manifest b/dev-python/nltk/Manifest
index 9b57b94bd43..cefb7b79a31 100644
--- a/dev-python/nltk/Manifest
+++ b/dev-python/nltk/Manifest
@@ -1,4 +1,2 @@
 DIST nltk-3.0.3.tar.gz 1011266 SHA256 
28d6175984445b9cdcc719f36701f034320edbecb78b69a37d1edc876843ea93 SHA512 
b058642670166bff538e2c1c417ffb2e57a217a9f3a056475ad47ffa222df7237bfb4ac00a58952dc6f79f12a32e3a40bf53a96262a4b3caced64c2c09abdfc3
 WHIRLPOOL 
4201a7d6219f437b8e8df2b7c88ae48578e69825c4fe067d777c92b24bd819172b6a831d2ed51de07a3b52bda20f5c559e2da0dcfde58cafca57c811bbb23cd2
-DIST nltk-3.0.4.tar.gz 1013321 SHA256 
e072397ed20ded6511ed97799f7c947536500b80961a1b1d164c228b8009f351 SHA512 
ddf1813256d49b2a391b2667eed4f324f963b2e57206d26e0cf757f0d9ebf4b68b7c4f622b507129086815866cba509dd2688430731ec060bbbe8800b3b12f38
 WHIRLPOOL 
06035550fe2323bbd6db0c57222e38cedbfa7541013420b54ea5aa343d3ad9898d379eb8fea514d6f3c13dd9c0494b4e963064b47b7e737e6acdbbe3bb4d0316
-DIST nltk-3.2.1.tar.gz 1121639 SHA256 
d5533b2d7106ba33d1431a3e77b903c58f07433f0ea8f7a7bc9af2ea2d5c7d6a SHA512 
9700c3d1ba1dca2c56fa75de7ba8c261635a901f263427ca70a105007c4b067a7049257fb5cf452667bd3c075761461b05034efcd04b6fa88a54c6f269f1da51
 WHIRLPOOL 
114e6a82697e9090256675b62de650a78eae38023634e2b2de6709a02855d114a21a2d4b1f1a8402157c561ba0591fad8c4a0dcc6cce963cfbbf398186a1ba20
 DIST nltk-3.2.2.tar.gz 1153499 SHA256 
1b37db344770021c9be3d68f48d1667a8dae6eeff0e502b7bfb01638d288a88e SHA512 
7a9aba4db26bc091bcba248156f74353a55cae0301ff3d675e55615967a0a1163d2d1db4e4bc51a953ced3c28d0b330a7949f4f9ec3621df300dcad23877a556
 WHIRLPOOL 
c424e9290ffa6af3cbd4576caab28e44afa138001106243c3309e927e53f88bb642ea495be2623abb9635eeb1676dabf5588bcd090c5aff7395cc0763aa52fe7

diff --git a/dev-python/nltk/nltk-3.0.4.ebuild 
b/dev-python/nltk/nltk-3.0.4.ebuild
deleted file mode 100644
index cc1ad9a8ae2..000
--- a/dev-python/nltk/nltk-3.0.4.ebuild
+++ /dev/null
@@ -1,21 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-PYTHON_COMPAT=( python{2_7,3_4} )
-PYTHON_REQ_USE="tk?,xml(+)"
-
-inherit distutils-r1
-
-DESCRIPTION="Natural Language Toolkit"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-HOMEPAGE="http://nltk.org/;
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos 
~x86-solaris"
-IUSE="numpy tk"
-
-RDEPEND="numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
-   dev-python/pyyaml[${PYTHON_USEDEP}]"

diff --git a/dev-python/nltk/nltk-3.2.1.ebuild 
b/dev-python/nltk/nltk-3.2.1.ebuild
deleted file mode 100644
index 5dae8052c66..000
--- a/dev-python/nltk/nltk-3.2.1.ebuild
+++ /dev/null
@@ -1,21 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-PYTHON_COMPAT=( python{2_7,3_4} )
-PYTHON_REQ_USE="tk?,xml(+)"
-
-inherit distutils-r1
-
-DESCRIPTION="Natural Language Toolkit"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-HOMEPAGE="http://nltk.org/;
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos 
~x86-solaris"
-IUSE="numpy tk"
-
-RDEPEND="numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )"
-DEPEND="${RDEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/

2017-03-18 Thread Göktürk Yüksek
commit: f65a1ef59e770e77e508289f64509108e6267a22
Author: Göktürk Yüksek  gentoo  org>
AuthorDate: Sat Mar 18 17:29:41 2017 +
Commit: Göktürk Yüksek  gentoo  org>
CommitDate: Sat Mar 18 17:43:11 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f65a1ef5

dev-python/nltk: remove redundant  tag from the metadata

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-python/nltk/metadata.xml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dev-python/nltk/metadata.xml b/dev-python/nltk/metadata.xml
index 9ffc5fed3f9..2e15285d683 100644
--- a/dev-python/nltk/metadata.xml
+++ b/dev-python/nltk/metadata.xml
@@ -4,7 +4,6 @@
   
 clabbe.montj...@gmail.com
 LABBE Corentin (Montjoie)
-Maintainer. Assign bugs to him
   
   
 proxy-ma...@gentoo.org



[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/

2017-03-17 Thread Marek Szuba
commit: dd3669ecd8c152c0f54dfed5caab2b8a1eae2f9e
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Mar 17 14:53:08 2017 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Mar 17 14:53:59 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd3669ec

dev-python/nltk: bump to 3.2.2

Requested-By: Corentin Labbe  gmail.com>

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-python/nltk/Manifest  |  1 +
 dev-python/nltk/nltk-3.2.2.ebuild | 21 +
 2 files changed, 22 insertions(+)

diff --git a/dev-python/nltk/Manifest b/dev-python/nltk/Manifest
index d1eee2ed6ed..9b57b94bd43 100644
--- a/dev-python/nltk/Manifest
+++ b/dev-python/nltk/Manifest
@@ -1,3 +1,4 @@
 DIST nltk-3.0.3.tar.gz 1011266 SHA256 
28d6175984445b9cdcc719f36701f034320edbecb78b69a37d1edc876843ea93 SHA512 
b058642670166bff538e2c1c417ffb2e57a217a9f3a056475ad47ffa222df7237bfb4ac00a58952dc6f79f12a32e3a40bf53a96262a4b3caced64c2c09abdfc3
 WHIRLPOOL 
4201a7d6219f437b8e8df2b7c88ae48578e69825c4fe067d777c92b24bd819172b6a831d2ed51de07a3b52bda20f5c559e2da0dcfde58cafca57c811bbb23cd2
 DIST nltk-3.0.4.tar.gz 1013321 SHA256 
e072397ed20ded6511ed97799f7c947536500b80961a1b1d164c228b8009f351 SHA512 
ddf1813256d49b2a391b2667eed4f324f963b2e57206d26e0cf757f0d9ebf4b68b7c4f622b507129086815866cba509dd2688430731ec060bbbe8800b3b12f38
 WHIRLPOOL 
06035550fe2323bbd6db0c57222e38cedbfa7541013420b54ea5aa343d3ad9898d379eb8fea514d6f3c13dd9c0494b4e963064b47b7e737e6acdbbe3bb4d0316
 DIST nltk-3.2.1.tar.gz 1121639 SHA256 
d5533b2d7106ba33d1431a3e77b903c58f07433f0ea8f7a7bc9af2ea2d5c7d6a SHA512 
9700c3d1ba1dca2c56fa75de7ba8c261635a901f263427ca70a105007c4b067a7049257fb5cf452667bd3c075761461b05034efcd04b6fa88a54c6f269f1da51
 WHIRLPOOL 
114e6a82697e9090256675b62de650a78eae38023634e2b2de6709a02855d114a21a2d4b1f1a8402157c561ba0591fad8c4a0dcc6cce963cfbbf398186a1ba20
+DIST nltk-3.2.2.tar.gz 1153499 SHA256 
1b37db344770021c9be3d68f48d1667a8dae6eeff0e502b7bfb01638d288a88e SHA512 
7a9aba4db26bc091bcba248156f74353a55cae0301ff3d675e55615967a0a1163d2d1db4e4bc51a953ced3c28d0b330a7949f4f9ec3621df300dcad23877a556
 WHIRLPOOL 
c424e9290ffa6af3cbd4576caab28e44afa138001106243c3309e927e53f88bb642ea495be2623abb9635eeb1676dabf5588bcd090c5aff7395cc0763aa52fe7

diff --git a/dev-python/nltk/nltk-3.2.2.ebuild 
b/dev-python/nltk/nltk-3.2.2.ebuild
new file mode 100644
index 000..df645a464b5
--- /dev/null
+++ b/dev-python/nltk/nltk-3.2.2.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+PYTHON_COMPAT=( python{2_7,3_4} )
+PYTHON_REQ_USE="tk?,xml(+)"
+
+inherit distutils-r1
+
+DESCRIPTION="Natural Language Toolkit"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+HOMEPAGE="http://nltk.org/;
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos 
~x86-solaris"
+IUSE="numpy tk"
+
+RDEPEND="numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )"
+DEPEND="${RDEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/

2016-06-30 Thread Sergei Trofimovich
commit: f05e3d7b9635aecd4204fa65650596fc1f271b3f
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Thu Jun 30 08:41:42 2016 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu Jun 30 08:51:07 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f05e3d7b

dev-python/nltk: bump up to 3.2.1, bug #587096

Thanks to Yury Gavrilovich who submitted the
new ebuild.

Reported-by: Yury Gavrilovich
Bug: https://bugs.gentoo.org/587096

Package-Manager: portage-2.3.0

 dev-python/nltk/Manifest  |  1 +
 dev-python/nltk/nltk-3.2.1.ebuild | 22 ++
 2 files changed, 23 insertions(+)

diff --git a/dev-python/nltk/Manifest b/dev-python/nltk/Manifest
index ce9c1fc..d1eee2e 100644
--- a/dev-python/nltk/Manifest
+++ b/dev-python/nltk/Manifest
@@ -1,2 +1,3 @@
 DIST nltk-3.0.3.tar.gz 1011266 SHA256 
28d6175984445b9cdcc719f36701f034320edbecb78b69a37d1edc876843ea93 SHA512 
b058642670166bff538e2c1c417ffb2e57a217a9f3a056475ad47ffa222df7237bfb4ac00a58952dc6f79f12a32e3a40bf53a96262a4b3caced64c2c09abdfc3
 WHIRLPOOL 
4201a7d6219f437b8e8df2b7c88ae48578e69825c4fe067d777c92b24bd819172b6a831d2ed51de07a3b52bda20f5c559e2da0dcfde58cafca57c811bbb23cd2
 DIST nltk-3.0.4.tar.gz 1013321 SHA256 
e072397ed20ded6511ed97799f7c947536500b80961a1b1d164c228b8009f351 SHA512 
ddf1813256d49b2a391b2667eed4f324f963b2e57206d26e0cf757f0d9ebf4b68b7c4f622b507129086815866cba509dd2688430731ec060bbbe8800b3b12f38
 WHIRLPOOL 
06035550fe2323bbd6db0c57222e38cedbfa7541013420b54ea5aa343d3ad9898d379eb8fea514d6f3c13dd9c0494b4e963064b47b7e737e6acdbbe3bb4d0316
+DIST nltk-3.2.1.tar.gz 1121639 SHA256 
d5533b2d7106ba33d1431a3e77b903c58f07433f0ea8f7a7bc9af2ea2d5c7d6a SHA512 
9700c3d1ba1dca2c56fa75de7ba8c261635a901f263427ca70a105007c4b067a7049257fb5cf452667bd3c075761461b05034efcd04b6fa88a54c6f269f1da51
 WHIRLPOOL 
114e6a82697e9090256675b62de650a78eae38023634e2b2de6709a02855d114a21a2d4b1f1a8402157c561ba0591fad8c4a0dcc6cce963cfbbf398186a1ba20

diff --git a/dev-python/nltk/nltk-3.2.1.ebuild 
b/dev-python/nltk/nltk-3.2.1.ebuild
new file mode 100644
index 000..d22f2d3
--- /dev/null
+++ b/dev-python/nltk/nltk-3.2.1.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+
+PYTHON_COMPAT=( python{2_7,3_4} )
+PYTHON_REQ_USE="tk?,xml(+)"
+
+inherit distutils-r1
+
+DESCRIPTION="Natural Language Toolkit"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+HOMEPAGE="http://nltk.org/;
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos 
~x86-solaris"
+IUSE="numpy tk"
+
+RDEPEND="numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )"
+DEPEND="${RDEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/, dev-python/nltk/files/

2015-09-20 Thread Justin Lecher
commit: ce06eedb672286a5fc88dc5da45a5c6cc83196be
Author: Justin Lecher  gentoo  org>
AuthorDate: Sun Sep 20 10:44:22 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Sun Sep 20 10:44:22 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce06eedb

dev-python/nltk: Clean old

Package-Manager: portage-2.2.20.1
Signed-off-by: Justin Lecher  gentoo.org>

 dev-python/nltk/Manifest |  1 -
 dev-python/nltk/files/fix-newer-setuptools.patch | 32 
 dev-python/nltk/nltk-2.0.4.ebuild| 31 ---
 3 files changed, 64 deletions(-)

diff --git a/dev-python/nltk/Manifest b/dev-python/nltk/Manifest
index 66152ba..ce9c1fc 100644
--- a/dev-python/nltk/Manifest
+++ b/dev-python/nltk/Manifest
@@ -1,3 +1,2 @@
-DIST nltk-2.0.4.tar.gz 955978 SHA256 
a554d6b9c5c7c8b597a090d8848a6f78c6fc4665ae43c9a6a6d6a5b207d98c65 SHA512 
1a1923f8819016926ad37337077a87782b1b244eb52c93b0b977946a3549a82b8b0cc4eb886f801d283b6df6f55fa8020db435dae9303371cda1dc1f8c40bc88
 WHIRLPOOL 
b0affed720034261de343c4f7a09cc1a977e695ddeb7cd592d3d7b7c960728025336b8ece5667dda090593498d33d4e64b05b1bd3d8336e0f487d5ff2da82f80
 DIST nltk-3.0.3.tar.gz 1011266 SHA256 
28d6175984445b9cdcc719f36701f034320edbecb78b69a37d1edc876843ea93 SHA512 
b058642670166bff538e2c1c417ffb2e57a217a9f3a056475ad47ffa222df7237bfb4ac00a58952dc6f79f12a32e3a40bf53a96262a4b3caced64c2c09abdfc3
 WHIRLPOOL 
4201a7d6219f437b8e8df2b7c88ae48578e69825c4fe067d777c92b24bd819172b6a831d2ed51de07a3b52bda20f5c559e2da0dcfde58cafca57c811bbb23cd2
 DIST nltk-3.0.4.tar.gz 1013321 SHA256 
e072397ed20ded6511ed97799f7c947536500b80961a1b1d164c228b8009f351 SHA512 
ddf1813256d49b2a391b2667eed4f324f963b2e57206d26e0cf757f0d9ebf4b68b7c4f622b507129086815866cba509dd2688430731ec060bbbe8800b3b12f38
 WHIRLPOOL 
06035550fe2323bbd6db0c57222e38cedbfa7541013420b54ea5aa343d3ad9898d379eb8fea514d6f3c13dd9c0494b4e963064b47b7e737e6acdbbe3bb4d0316

diff --git a/dev-python/nltk/files/fix-newer-setuptools.patch 
b/dev-python/nltk/files/fix-newer-setuptools.patch
deleted file mode 100644
index 58b8eed..000
--- a/dev-python/nltk/files/fix-newer-setuptools.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From efe85968bb23e3afdcd331293f2c2588b1590091 Mon Sep 17 00:00:00 2001
-From: Mikhail Korobov 
-Date: Fri, 9 Jan 2015 02:06:21 +0500
-Subject: [PATCH] Fixed installation with recent setuptools.
-
-These lines were introduced here: 
https://github.com/nltk/nltk/commit/1ecbd2edc32db24b4e6c7dd8555d0b89c668f041
-It seems they fix an issue with .svn folders. We use git now,
-there are no .svn folders.
-
-See also: 
http://stackoverflow.com/questions/1129180/how-can-i-make-setuptools-ignore-subversion-inventory

- setup.py | 7 ---
- 1 file changed, 7 deletions(-)
-
-diff --git a/setup.py b/setup.py
-index 3ec0949..079bcf3 100644
 a/setup.py
-+++ b/setup.py
-@@ -29,13 +29,6 @@
- # setuptools
- from setuptools import setup, find_packages
- 
--#
--# Prevent setuptools from trying to add extra files to the source code
--# manifest by scanning the version control system for its contents.
--#
--from setuptools.command import sdist
--del sdist.finders[:]
--
- setup(
- name = "nltk",
- description = "Natural Language Toolkit",

diff --git a/dev-python/nltk/nltk-2.0.4.ebuild 
b/dev-python/nltk/nltk-2.0.4.ebuild
deleted file mode 100644
index 9350d26..000
--- a/dev-python/nltk/nltk-2.0.4.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="5"
-
-PYTHON_COMPAT=( python2_7 )
-PYTHON_REQ_USE="tk?,xml(+)"
-
-inherit distutils-r1 eutils
-
-DESCRIPTION="Natural Language Toolkit"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-HOMEPAGE="http://nltk.org/;
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos 
~x86-solaris"
-IUSE="numpy tk"
-
-RDEPEND="${RDEPEND}
-   numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
-   dev-python/pyyaml[${PYTHON_USEDEP}]"
-
-DEPEND="${RDEPEND}
-   app-arch/unzip"
-
-src_prepare() {
-   epatch "${FILESDIR}"/fix-newer-setuptools.patch
-   distutils-r1_src_prepare
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/

2015-08-26 Thread Agostino Sarubbo
commit: 430a628c3f97d0b17c369d9d705ddb4be059d98e
Author: Agostino Sarubbo ago AT gentoo DOT org
AuthorDate: Wed Aug 26 11:00:00 2015 +
Commit: Agostino Sarubbo ago AT gentoo DOT org
CommitDate: Wed Aug 26 11:00:00 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=430a628c

dev-python/nltk: amd64 stable wrt bug #556908

Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches=amd64

 dev-python/nltk/nltk-3.0.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/nltk/nltk-3.0.3.ebuild 
b/dev-python/nltk/nltk-3.0.3.ebuild
index d7df607..6c4033e 100644
--- a/dev-python/nltk/nltk-3.0.3.ebuild
+++ b/dev-python/nltk/nltk-3.0.3.ebuild
@@ -15,7 +15,7 @@ HOMEPAGE=http://nltk.org/;
 
 LICENSE=Apache-2.0
 SLOT=0
-KEYWORDS=~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos 
~x86-solaris
+KEYWORDS=amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos 
~x86-solaris
 IUSE=numpy tk
 
 RDEPEND=${RDEPEND}