commit: 922c21deba467adacd5bbfcaa05f7e6e6d4ad4c3
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat May 21 06:59:13 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat May 21 06:59:13 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=922c21de
dev-python/pydiffx: Remove .dev tag from version
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
.../pydiffx/{pydiffx-1.0.1.ebuild => pydiffx-1.0.1-r1.ebuild} | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/dev-python/pydiffx/pydiffx-1.0.1.ebuild
b/dev-python/pydiffx/pydiffx-1.0.1-r1.ebuild
similarity index 85%
rename from dev-python/pydiffx/pydiffx-1.0.1.ebuild
rename to dev-python/pydiffx/pydiffx-1.0.1-r1.ebuild
index baa4b006060e..d20ee3c8b60d 100644
--- a/dev-python/pydiffx/pydiffx-1.0.1.ebuild
+++ b/dev-python/pydiffx/pydiffx-1.0.1-r1.ebuild
@@ -35,3 +35,9 @@ BDEPEND="
"
distutils_enable_tests unittest
+
+src_prepare() {
+ # remove .dev tag that breaks revdeps
+ sed -i -e '/tag_build/d' setup.cfg || die
+ distutils-r1_src_prepare
+}