dev-python/dulwich: Add a hack removal die

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2024-04-14 16:20:00 +02:00
parent 7d53816844
commit 577cfa1d46

View File

@@ -37,6 +37,7 @@ distutils_enable_sphinx docs
src_prepare() {
# Do not install "docs" directory into site-packages
# https://github.com/jelmer/dulwich/issues/1248
[[ ${PV} != 0.21.7 ]] && die "Remove the hack!"
sed -i -e '/package_data/d' setup.py || die
rm -r *.egg-info || die