From 7bd31fe1aa83cc564d482b480c02dab16333369e Mon Sep 17 00:00:00 2001 From: Marcin Deranek Date: Sun, 16 Jul 2023 21:03:17 +0200 Subject: dev-python/nltk version bump --- dev-python/nltk/nltk-3.8.1.ebuild | 47 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 dev-python/nltk/nltk-3.8.1.ebuild (limited to 'dev-python/nltk/nltk-3.8.1.ebuild') diff --git a/dev-python/nltk/nltk-3.8.1.ebuild b/dev-python/nltk/nltk-3.8.1.ebuild new file mode 100644 index 0000000..8a88c8b --- /dev/null +++ b/dev-python/nltk/nltk-3.8.1.ebuild @@ -0,0 +1,47 @@ +# 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}.gh.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 + nltk/test/unit/test_downloader.py::test_downloader_using_existing_parent_download_dir + nltk/test/unit/test_downloader.py::test_downloader_using_non_existing_parent_download_dir +) -- cgit v1.2.3