mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-19 07:49:00 -04:00
dev-python/dateparser: drop 1.1.7, 1.1.8
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
parent
8644456eae
commit
ed25991dea
@ -1,3 +1 @@
|
||||
DIST dateparser-1.1.7.tar.gz 295818 BLAKE2B 11bb07f6c3c46a5e19111715a8801b8789d7f1fd0fd407232a071ddd40b337153dce3b42197f3a2fd8081c505f4418abb3ff265e25641a95eed31575c6ad2a70 SHA512 d333fa2007c069f7424def9694544767a8885eec5d476e9dd73605754fd53f5a9dbbeb19f24291ac6c6ffa09b4014a3135ad8fbabadae1655c78a8d5fe36f907
|
||||
DIST dateparser-1.1.8.tar.gz 296595 BLAKE2B 0e1bedbfc0b54d3a763a5f982774685e0c4aebe418dcfe5190c613a6de1e8d445c9906b9c7e8ca87ea37b2ef508eb8bd789e07b7b5f11fac3df7d16f24a08c00 SHA512 45fc6ee67be77ae9ece818b25e680a9416c30bbe8d71746a2b08910b57406d65e6b9f0c51ada1697034ea1f3f9a0952c2f0616c9fa1be4c7886e459e1cc2d898
|
||||
DIST dateparser-1.2.0.tar.gz 307260 BLAKE2B b4611dfc4fccaf5f129e4d9aa3debe4a6d4242a44896305b909e6c34728ba153be92659b2f0c3a5da028d3863789d9c3a4236676087346b5f3f4aeb1f57b7a1e SHA512 74d5975f515dee096d83d10b72e5dc66ab197d50f24c129560ffb87eef4abd1422d8236555496d1ab1c0bfb832729e9c0d3ea2ca2c9c49da19963f0f2c1c1eb4
|
||||
|
@ -1,53 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
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-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
|
||||
}
|
@ -1,58 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
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-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}
|
||||
# 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
|
||||
)
|
||||
|
||||
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
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user