summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2020-07-06 16:41:34 -0500
committerMatthew Thode <prometheanfire@gentoo.org>2020-07-06 16:43:19 -0500
commit625b2c77b51540d5633d38a81e3e612e849dedb6 (patch)
treee405a673d4cdaff2bf8486d65ae30731648be2b0 /dev-python
parentsci-libs/libsigrokdecode: Fix src_prepare() for live ebuild (diff)
downloadgentoo-625b2c77b51540d5633d38a81e3e612e849dedb6.tar.gz
gentoo-625b2c77b51540d5633d38a81e3e612e849dedb6.tar.bz2
gentoo-625b2c77b51540d5633d38a81e3e612e849dedb6.zip
dev-python/pyroute2: fix install metadata
Closes: https://bugs.gentoo.org/730762 Package-Manager: Portage-2.3.99, Repoman-2.3.23 RepoMan-Options: --force Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/pyroute2/pyroute2-0.5.12-r1.ebuild (renamed from dev-python/pyroute2/pyroute2-0.5.12.ebuild)5
1 files changed, 5 insertions, 0 deletions
diff --git a/dev-python/pyroute2/pyroute2-0.5.12.ebuild b/dev-python/pyroute2/pyroute2-0.5.12-r1.ebuild
index 101c5a98dd3a..c3889a7d63ce 100644
--- a/dev-python/pyroute2/pyroute2-0.5.12.ebuild
+++ b/dev-python/pyroute2/pyroute2-0.5.12-r1.ebuild
@@ -33,3 +33,8 @@ PATCHES=(
)
distutils_enable_tests nose
+
+python_prepare_all() {
+ sed -i "s/^release.*/release := ${PV}/" Makefile || die
+ distutils-r1_python_prepare_all
+}