dev-python/pytz_deprecation_shim: Strip stray dep on tzdata

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2021-10-25 07:23:43 +02:00
parent 69857ba350
commit 6c29c92322

View File

@@ -19,10 +19,10 @@ SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
RDEPEND="
dev-python/pytzdata[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
dev-python/backports-zoneinfo[${PYTHON_USEDEP}]
' python3_8 pypy3)
sys-libs/timezone-data
"
BDEPEND="
test? (
@@ -35,3 +35,9 @@ BDEPEND="
distutils_enable_tests pytest
distutils_enable_sphinx docs \
dev-python/sphinx_rtd_theme
src_prepare() {
# apparently used only as a fallback
sed -i -e '/tzdata/d' setup.cfg || die
distutils-r1_src_prepare
}