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:
Sam James
2022-06-15 15:55:05 +01:00
parent 19cdd7edb2
commit fbb8e48c4b
+8
View File
@@ -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