summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-06-24 13:37:15 +0200
committerMichał Górny <mgorny@gentoo.org>2022-06-24 13:39:09 +0200
commitd26ccc6f808744091ca7f400dfa354b2103da24d (patch)
tree5a13986b88e75d1fc64c5d47315a0520ab0e2b3e
parentdev-python/dirty-equals: Fix version number in metadata (diff)
downloadgentoo-d26ccc6f808744091ca7f400dfa354b2103da24d.tar.gz
gentoo-d26ccc6f808744091ca7f400dfa354b2103da24d.tar.bz2
gentoo-d26ccc6f808744091ca7f400dfa354b2103da24d.zip
dev-python/routes: Strip .dev tag from version
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--dev-python/routes/routes-2.5.1-r2.ebuild (renamed from dev-python/routes/routes-2.5.1-r1.ebuild)2
1 files changed, 2 insertions, 0 deletions
diff --git a/dev-python/routes/routes-2.5.1-r1.ebuild b/dev-python/routes/routes-2.5.1-r2.ebuild
index 31c10c505693..d03227f17e9f 100644
--- a/dev-python/routes/routes-2.5.1-r1.ebuild
+++ b/dev-python/routes/routes-2.5.1-r2.ebuild
@@ -45,5 +45,7 @@ PATCHES=(
src_prepare() {
distutils-r1_src_prepare
+ # fix the version number
+ sed -i -e '/tag/d' setup.cfg || die
find tests -name '__init__.py' -delete || die
}