From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0513C158086 for ; Wed, 29 Dec 2021 08:30:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 04D072BC003; Wed, 29 Dec 2021 08:30:21 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C1CFC2BC007 for ; Wed, 29 Dec 2021 08:30:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D6BA7342D33 for ; Wed, 29 Dec 2021 08:30:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 368421BF for ; Wed, 29 Dec 2021 08:30:15 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1640766565.153c66f4ba2079c2c3a7182f10cd2163b09c217f.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/nltk/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/nltk/Manifest dev-python/nltk/nltk-3.6.7.ebuild X-VCS-Directories: dev-python/nltk/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 153c66f4ba2079c2c3a7182f10cd2163b09c217f X-VCS-Branch: master Date: Wed, 29 Dec 2021 08:30:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 87a32be0-0068-4672-a5d7-954749c8f8d4 X-Archives-Hash: 3b702d5d4e4636f0f40411009458c016 commit: 153c66f4ba2079c2c3a7182f10cd2163b09c217f Author: Michał Górny gentoo org> AuthorDate: Wed Dec 29 06:39:23 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Dec 29 08:29:25 2021 +0000 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 000000000000..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 +}