diff options
Diffstat (limited to 'dev-python/dateparser')
| -rw-r--r-- | dev-python/dateparser/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/dateparser/dateparser-1.2.1.ebuild | 61 | ||||
| -rw-r--r-- | dev-python/dateparser/dateparser-1.2.2.ebuild | 2 |
3 files changed, 1 insertions, 63 deletions
diff --git a/dev-python/dateparser/Manifest b/dev-python/dateparser/Manifest index 09056b5bc1b4..49d91572bda3 100644 --- a/dev-python/dateparser/Manifest +++ b/dev-python/dateparser/Manifest @@ -1,2 +1 @@ -DIST dateparser-1.2.1.tar.gz 309924 BLAKE2B 09b7cf4148edea37bb80d1734b2f5a3ddac7965e6d46bc1775f2f0807d3421c80bd3927dd62135a80adc99451a85a2961b61335784d191cfdd1fdc51b3d81298 SHA512 85e1c5cabb8acebd63ec60c0913ac89b362b64edfbe5af06bcd5968ed7be6383d4035ec9f45afadc0d10fc95a3f538702285d75365c4f8e4522ac9643f4ed4da DIST dateparser-1.2.2.tar.gz 329840 BLAKE2B 7f17feb402cd72d6b99c1c5e75627588e085963193aef72eaaeada82ea448d5d45c19d3aa5b8986500cecbc7b2417c9fc5f8526de47560455a6e9f12b2e500f1 SHA512 96ebc214843f57f3cdede79f63fd3067e9b26e17882a0dea023830e7a2a3f50b07145ae34d174bd3cd11f4f42980110111f90e7175fd38a4b0c428ac5f26428d diff --git a/dev-python/dateparser/dateparser-1.2.1.ebuild b/dev-python/dateparser/dateparser-1.2.1.ebuild deleted file mode 100644 index 838987d5f124..000000000000 --- a/dev-python/dateparser/dateparser-1.2.1.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) -DISTUTILS_USE_PEP517=setuptools -inherit distutils-r1 optfeature pypi - -DESCRIPTION="Date parsing library designed to parse dates from HTML pages" -HOMEPAGE=" - https://pypi.org/project/dateparser/ - https://github.com/scrapinghub/dateparser -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - dev-python/regex[${PYTHON_USEDEP}] - dev-python/tzlocal[${PYTHON_USEDEP}] -" -BDEPEND="test? ( - dev-libs/fastText[python,${PYTHON_USEDEP}] - dev-python/convertdate[${PYTHON_USEDEP}] - dev-python/hijridate[${PYTHON_USEDEP}] - dev-python/langdetect[${PYTHON_USEDEP}] - dev-python/parameterized[${PYTHON_USEDEP}] -)" - -distutils_enable_tests pytest - -distutils_enable_sphinx docs \ - dev-python/sphinx-rtd-theme - -python_test() { - # Need to set TZ when testing with gentoo docker images. - # Their /etc/{timezone,localtime} are inconsistent, which causes - # to tests to fail. - local -x TZ=UTC - - local EPYTEST_IGNORE=( - # tests that require network - tests/test_dateparser_data_integrity.py - ) - local EPYTEST_DESELECT=( - # tests that require network - tests/test_language_detect.py::CustomLangDetectParserTest::test_custom_language_detect_fast_text_{0,1} - ) - - epytest -} - -pkg_postinst() { - optfeature "calendars support" "dev-python/hijridate dev-python/convertdate" - optfeature "fasttext support" "dev-libs/fastText[python]" - optfeature "langdetect support" dev-python/langdetect -} diff --git a/dev-python/dateparser/dateparser-1.2.2.ebuild b/dev-python/dateparser/dateparser-1.2.2.ebuild index 838987d5f124..221cbef89521 100644 --- a/dev-python/dateparser/dateparser-1.2.2.ebuild +++ b/dev-python/dateparser/dateparser-1.2.2.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +PYTHON_COMPAT=( python3_{11..14} ) DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 optfeature pypi |
