summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-04-14 16:20:00 +0200
committerMichał Górny <mgorny@gentoo.org>2024-04-14 16:57:48 +0200
commit577cfa1d46962d21aa48ea9ffc57ac2774478151 (patch)
treec64ab3891000eb0a065513c3091bc58da23d8e06 /dev-python/dulwich
parentsci-electronics/kicad: drop opencascade restriction in live (diff)
downloadgentoo-577cfa1d46962d21aa48ea9ffc57ac2774478151.tar.gz
gentoo-577cfa1d46962d21aa48ea9ffc57ac2774478151.tar.bz2
gentoo-577cfa1d46962d21aa48ea9ffc57ac2774478151.zip
dev-python/dulwich: Add a hack removal die
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/dulwich')
-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