summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-05-21 08:59:31 +0200
committerMichał Górny <mgorny@gentoo.org>2022-05-21 08:59:31 +0200
commitc59bf91253c21270ebe3de1f5bc305b26821f45b (patch)
treec10262fe2c91e484cebb5148903077d955986921 /dev-python/kgb
parentdev-python/pydiffx: Remove .dev tag from version (diff)
downloadgentoo-c59bf91253c21270ebe3de1f5bc305b26821f45b.tar.gz
gentoo-c59bf91253c21270ebe3de1f5bc305b26821f45b.tar.bz2
gentoo-c59bf91253c21270ebe3de1f5bc305b26821f45b.zip
dev-python/kgb: Remove .dev tag from version
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/kgb')
-rw-r--r--dev-python/kgb/kgb-7.0-r1.ebuild (renamed from dev-python/kgb/kgb-7.0.ebuild)6
1 files changed, 6 insertions, 0 deletions
diff --git a/dev-python/kgb/kgb-7.0.ebuild b/dev-python/kgb/kgb-7.0-r1.ebuild
index fc718ad7efc4..1dfcbc9ec48f 100644
--- a/dev-python/kgb/kgb-7.0.ebuild
+++ b/dev-python/kgb/kgb-7.0-r1.ebuild
@@ -25,3 +25,9 @@ SLOT="0"
KEYWORDS="~amd64"
distutils_enable_tests pytest
+
+src_prepare() {
+ # remove .dev tag that breaks revdeps
+ sed -i -e '/tag_build/d' setup.cfg || die
+ distutils-r1_src_prepare
+}