mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/pytz_deprecation_shim: Strip stray dep on tzdata
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user