commit: 577cfa1d46962d21aa48ea9ffc57ac2774478151
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 14 14:20:00 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Apr 14 14:57:48 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=577cfa1d
dev-python/dulwich: Add a hack removal die
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/dulwich/dulwich-0.21.7-r1.ebuild | 1 +
1 file changed, 1 insertion(+)
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