mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 10:17:08 -08:00
dev-python/Babel: finish off pytz fix
Closes: https://bugs.gentoo.org/852158 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -44,6 +44,14 @@ BDEPEND="
|
||||
distutils_enable_sphinx docs
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_check_deps() {
|
||||
if [[ ${EPYTHON} == python3.8 ]] ; then
|
||||
python_has_version "dev-python/backports-zoneinfo[${PYTHON_USEDEP}]" || return 1
|
||||
fi
|
||||
|
||||
python_has_version "dev-python/pytz[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
python_configure_all() {
|
||||
rm babel/locale-data/*.dat || die
|
||||
rm babel/global.dat || die
|
||||
|
||||
Reference in New Issue
Block a user