From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/
Date: Mon, 20 Sep 2021 13:41:28 +0000 (UTC) [thread overview]
Message-ID: <1632145175.23453bd55076b23a0aa205aded7d81e8ceb91148.mgorny@gentoo> (raw)
commit: 23453bd55076b23a0aa205aded7d81e8ceb91148
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 20 07:12:37 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Sep 20 13:39:35 2021 +0000
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 <mgorny <AT> 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 00000000000..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
+}
next reply other threads:[~2021-09-20 13:41 UTC|newest]
Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-20 13:41 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-11-19 16:57 [gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/ Arthur Zamarin
2022-10-28 10:32 Andrew Ammerlaan
2022-04-24 11:06 Jakov Smolić
2022-03-15 14:17 Michał Górny
2022-03-15 12:33 Jakov Smolić
2022-02-09 19:45 Michał Górny
2022-01-29 10:04 Jakov Smolić
2022-01-06 13:04 Sam James
2021-12-29 8:30 Michał Górny
2021-12-21 9:42 Michał Górny
2021-11-29 8:42 Agostino Sarubbo
2021-11-28 19:33 Andrew Ammerlaan
2021-10-11 7:56 Michał Górny
2021-10-01 6:36 Michał Górny
2021-09-20 15:01 Arthur Zamarin
2021-09-16 5:54 Arthur Zamarin
2021-09-16 5:32 Arthur Zamarin
2021-06-25 7:10 Michał Górny
2021-06-25 6:19 Agostino Sarubbo
2021-06-25 6:18 Agostino Sarubbo
2021-04-21 6:40 Michał Górny
2021-04-08 8:51 Michał Górny
2021-04-08 7:41 Michał Górny
2020-06-02 11:22 Michał Górny
2020-05-09 11:24 Mikle Kolyada
2020-05-09 11:24 Mikle Kolyada
2020-05-04 11:26 Michał Górny
2020-04-30 20:22 Jason A. Donenfeld
2020-04-13 10:32 Michał Górny
2020-04-13 10:32 Michał Górny
2020-04-13 10:32 Michał Górny
2020-04-09 8:19 Joonas Niilola
2020-03-28 9:20 Michał Górny
2019-03-01 0:26 Aaron Bauman
2018-06-26 22:22 Jonas Stein
2018-01-05 13:26 Michał Górny
2017-09-29 16:58 Patrick Lauer
2017-08-05 9:30 Michael Palimaka
2017-07-31 10:37 Tobias Klausmann
2017-07-28 14:08 Matthias Maier
2017-05-20 0:38 Tim Harder
2017-05-02 11:58 Michał Górny
2017-03-18 17:43 Göktürk Yüksek
2017-03-17 14:54 Marek Szuba
2016-06-30 8:51 Sergei Trofimovich
2015-08-26 11:00 Agostino Sarubbo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1632145175.23453bd55076b23a0aa205aded7d81e8ceb91148.mgorny@gentoo \
--to=mgorny@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox