summaryrefslogtreecommitdiff
path: root/dev-python/dulwich/dulwich-0.21.7-r1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/dulwich/dulwich-0.21.7-r1.ebuild')
-rw-r--r--dev-python/dulwich/dulwich-0.21.7-r1.ebuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/dev-python/dulwich/dulwich-0.21.7-r1.ebuild b/dev-python/dulwich/dulwich-0.21.7-r1.ebuild
index 3369252c2d5f..8ad2d542b4e2 100644
--- a/dev-python/dulwich/dulwich-0.21.7-r1.ebuild
+++ b/dev-python/dulwich/dulwich-0.21.7-r1.ebuild
@@ -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