commit:     625b2c77b51540d5633d38a81e3e612e849dedb6
Author:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Mon Jul  6 21:41:34 2020 +0000
Commit:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Mon Jul  6 21:43:19 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=625b2c77

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 <AT> gentoo.org>

 .../pyroute2/{pyroute2-0.5.12.ebuild => pyroute2-0.5.12-r1.ebuild}   | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/dev-python/pyroute2/pyroute2-0.5.12.ebuild 
b/dev-python/pyroute2/pyroute2-0.5.12-r1.ebuild
similarity index 86%
rename from dev-python/pyroute2/pyroute2-0.5.12.ebuild
rename to dev-python/pyroute2/pyroute2-0.5.12-r1.ebuild
index 101c5a98dd3..c3889a7d63c 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
+}

Reply via email to