summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pyroute2')
-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
+}