From 9e69efe984a6a3f7e171d9b5ec7ff8d8ab88a010 Mon Sep 17 00:00:00 2001 From: Marcin Deranek Date: Sun, 9 Jul 2023 20:43:17 +0200 Subject: dev-python/dateparser version bump --- dev-python/dateparser/Manifest | 4 +- dev-python/dateparser/dateparser-1.1.4.ebuild | 52 ------------------------ dev-python/dateparser/dateparser-1.1.8.ebuild | 57 +++++++++++++++++++++++++++ 3 files changed, 59 insertions(+), 54 deletions(-) delete mode 100644 dev-python/dateparser/dateparser-1.1.4.ebuild create mode 100644 dev-python/dateparser/dateparser-1.1.8.ebuild (limited to 'dev-python/dateparser') diff --git a/dev-python/dateparser/Manifest b/dev-python/dateparser/Manifest index af8a59e..b14eaf4 100644 --- a/dev-python/dateparser/Manifest +++ b/dev-python/dateparser/Manifest @@ -1,3 +1,3 @@ -DIST dateparser-1.1.4.tar.gz 294406 BLAKE2B 5e13a76f1a11dfdb322494a06f288b404149f22481beaf991b0256874aaabb65120fb3e217da5f18d3152cd1786354e2dc8a237591821458be27d5cbac6beac0 SHA512 a20f821dea1ec8e6eb7033de91b1e74777607c4b31286a87e06d85c7278dad3c164ddc88640e0372d9f32eed72a40e28c58bea26a77fdc01c59d2d9fc70bb2d7 -EBUILD dateparser-1.1.4.ebuild 1360 BLAKE2B 5ff4382cf4f7016a890f73657bb541b97eaaf398fb383f5c7d1c4bc1da06e656d94643985cb7c27e2807a2b9bf7951aa5ca430ac188ff9afe16e005f7988b9b5 SHA512 913072c80d0381f4b011efa7b8e54e74f0d26624fea1515a2472231d78adff8c8f7c79acef031badea74a7e4bf058b5abe250eb04d104068b3ef8656fab9feb5 +DIST dateparser-1.1.8.tar.gz 296595 BLAKE2B 0e1bedbfc0b54d3a763a5f982774685e0c4aebe418dcfe5190c613a6de1e8d445c9906b9c7e8ca87ea37b2ef508eb8bd789e07b7b5f11fac3df7d16f24a08c00 SHA512 45fc6ee67be77ae9ece818b25e680a9416c30bbe8d71746a2b08910b57406d65e6b9f0c51ada1697034ea1f3f9a0952c2f0616c9fa1be4c7886e459e1cc2d898 +EBUILD dateparser-1.1.8.ebuild 1743 BLAKE2B 9413cff6ac05bfcec9d1f037cd1020b41183b417994bfac47917d124b7e4fa15ab2299c34899a1e8c4534ee52a0b06aa403362754f48f62c09ad419c51526fd2 SHA512 4aeedec42a7d15551e80097d5071c5b48a20024c3cd4a2623fe296b53800a69b5b8f1906075afea3f45b07aae9efb97c82636e6e27b747e4caa8ebbef45d9ceb MISC metadata.xml 461 BLAKE2B 079fbcba6175c6211350e505b57f42392e1e06207af98cbe7accf832e3529967b7267989c63af80dae7ae998e0b54a06d3983f29d0a7dce3be0427f310d4a3c8 SHA512 d2ea96814d08ae7a058bfbe8c507dcaadb0095397f7b4dd79739ee6a9acb02db6c1db8936a9e6020e9fd90c6d499883699fe6e0e42a567720879c166d1695f1c diff --git a/dev-python/dateparser/dateparser-1.1.4.ebuild b/dev-python/dateparser/dateparser-1.1.4.ebuild deleted file mode 100644 index cae087e..0000000 --- a/dev-python/dateparser/dateparser-1.1.4.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..11} ) -DISTUTILS_USE_PEP517=setuptools -inherit distutils-r1 optfeature pypi - -DESCRIPTION="Date parsing library designed to parse dates from HTML pages" -HOMEPAGE="https://github.com/scrapinghub/dateparser" - -LICENSE="BSD-4" -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/hijri-converter[${PYTHON_USEDEP}] - dev-python/langdetect[${PYTHON_USEDEP}] - dev-python/parameterized[${PYTHON_USEDEP}] - ) -" - -EPYTEST_IGNORE=( - # tests that require network - tests/test_dateparser_data_integrity.py -) - -EPYTEST_DESELECT=( - # tests that require network - tests/test_language_detect.py::CustomLangDetectParserTest::test_custom_language_detect_fast_text_{0,1} -) - -distutils_enable_tests pytest - -distutils_enable_sphinx docs \ - dev-python/sphinx-rtd-theme - -pkg_postinst() { - optfeature "calendars support" "dev-python/hijri-converter dev-python/convertdate" - optfeature "fasttext support" "dev-libs/fastText[python]" - optfeature "langdetect support" dev-python/langdetect -} diff --git a/dev-python/dateparser/dateparser-1.1.8.ebuild b/dev-python/dateparser/dateparser-1.1.8.ebuild new file mode 100644 index 0000000..7c3998a --- /dev/null +++ b/dev-python/dateparser/dateparser-1.1.8.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 optfeature pypi + +DESCRIPTION="Date parsing library designed to parse dates from HTML pages" +HOMEPAGE="https://github.com/scrapinghub/dateparser" + +LICENSE="BSD-4" +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/hijri-converter[${PYTHON_USEDEP}] + dev-python/langdetect[${PYTHON_USEDEP}] + dev-python/parameterized[${PYTHON_USEDEP}] + ) +" + +EPYTEST_IGNORE=( + # tests that require network + tests/test_language_detect.py::CustomLangDetectParserTest::test_custom_language_detect_fast_text_{0,1} + # broken + tests/test_search.py::TestTranslateSearch::test_relative_base_setting_1_en + tests/test_search.py::TestTranslateSearch::test_splitting_of_not_parsed_1_en + tests/test_search.py::TestTranslateSearch::test_splitting_of_not_parsed_5_en + tests/test_search.py::TestTranslateSearch::test_splitting_of_not_parsed_6_sv +) + +EPYTEST_DESELECT=( + # tests that require network + tests/test_language_detect.py::CustomLangDetectParserTest::test_custom_language_detect_fast_text_{0,1} +) + +distutils_enable_tests pytest + +distutils_enable_sphinx docs \ + dev-python/sphinx-rtd-theme + +pkg_postinst() { + optfeature "calendars support" "dev-python/hijri-converter dev-python/convertdate" + optfeature "fasttext support" "dev-libs/fastText[python]" + optfeature "langdetect support" dev-python/langdetect +} -- cgit v1.2.3