commit: 49ef5c1e3cd02662aaa2368a262b41c8263a5cda Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Thu Jan 19 06:16:53 2023 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Thu Jan 19 06:16:53 2023 +0000 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 <mgorny <AT> 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..000000000000 --- 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..000000000000 --- a/dev-python/nltk/metadata.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>pyt...@gentoo.org</email> - <name>Python</name> - </maintainer> - <stabilize-allarches/> - <upstream> - <remote-id type="google-code">nltk</remote-id> - <remote-id type="pypi">nltk</remote-id> - <remote-id type="github">nltk/nltk</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-python/nltk/nltk-3.7.ebuild b/dev-python/nltk/nltk-3.7.ebuild deleted file mode 100644 index 09aa17ecf9f4..000000000000 --- 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 <j...@uls.co.za> (2022-12-14)