Install this version:
emerge -a =dev-python/dateparser-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/dateparser-9999
Or alternatively:
emerge --autounmask-write -a =dev-python/dateparser-9999
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 8 | 0 |
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1 git-r3 optfeature
DESCRIPTION="Date parsing library designed to parse dates from HTML pages"
HOMEPAGE="https://github.com/scrapinghub/dateparser"
EGIT_REPO_URI="https://github.com/scrapinghub/${PN}.git"
LICENSE="BSD-4"
SLOT="0"
IUSE="test"
RESTRICT="test"
PROPERTIES="test_network"
RDEPEND="dev-python/convertdate[${PYTHON_USEDEP}]
dev-python/hijridate[${PYTHON_USEDEP}]
dev-python/python-dateutil[${PYTHON_USEDEP}]
dev-python/pytz[${PYTHON_USEDEP}]
dev-python/regex[${PYTHON_USEDEP}]
dev-python/tzlocal[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"
BDEPEND="test? ( dev-libs/fastText[python,${PYTHON_USEDEP}]
dev-python/gitpython[${PYTHON_USEDEP}]
dev-python/langdetect[${PYTHON_USEDEP}]
dev-python/parameterized[${PYTHON_USEDEP}]
dev-python/parsel[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/ruamel-yaml[${PYTHON_USEDEP}] )"
EPYTEST_PLUGINS=()
distutils_enable_tests pytest
EPYTEST_DESELECT=(
dateparser/date.py::dateparser.date.DateDataParser.get_date_data
dateparser/search/__init__.py::dateparser.search.search_dates
tests/test_language_detect.py::CustomLangDetectParserTest::test_custom_language_detect_fast_text_0
tests/test_language_detect.py::CustomLangDetectParserTest::test_custom_language_detect_fast_text_1
)
EPYTEST_IGNORE=(
# ignore fuzzing test
fuzzing
)
pkg_postinst() {
optfeature "operations on language files" dev-python/ruamel-yaml \
dev-python/langdetect
}
Manage flags for this package:
euse -i <flag> -p dev-python/dateparser |
euse -E <flag> -p dev-python/dateparser |
euse -D <flag> -p dev-python/dateparser
dev-python/convertdate[] dev-python/hijridate[] dev-python/python-dateutil[] dev-python/pytz[] dev-python/regex[] dev-python/tzlocal[]
dev-python/convertdate[] dev-python/hijridate[] dev-python/python-dateutil[] dev-python/pytz[] dev-python/regex[] dev-python/tzlocal[]
test? ( dev-libs/fastText[python,] dev-python/gitpython[] dev-python/langdetect[] dev-python/parameterized[] dev-python/parsel[] dev-python/requests[] dev-python/ruamel-yaml[] )