summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-06-24 13:37:47 +0200
committerMichał Górny <mgorny@gentoo.org>2022-06-24 13:39:10 +0200
commit4b07d25596b1c43c7fa7a52bc02a2e8630c3ee62 (patch)
treee93cf1aa051e8c527e389d7b216266bf94330220 /dev-python/sphinxcontrib-websupport
parentdev-python/routes: Strip .dev tag from version (diff)
downloadgentoo-4b07d25596b1c43c7fa7a52bc02a2e8630c3ee62.tar.gz
gentoo-4b07d25596b1c43c7fa7a52bc02a2e8630c3ee62.tar.bz2
gentoo-4b07d25596b1c43c7fa7a52bc02a2e8630c3ee62.zip
dev-python/sphinxcontrib-websupport: Strip .dev tag from version
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/sphinxcontrib-websupport')
-rw-r--r--dev-python/sphinxcontrib-websupport/sphinxcontrib-websupport-1.2.4-r2.ebuild (renamed from dev-python/sphinxcontrib-websupport/sphinxcontrib-websupport-1.2.4-r1.ebuild)2
1 files changed, 2 insertions, 0 deletions
diff --git a/dev-python/sphinxcontrib-websupport/sphinxcontrib-websupport-1.2.4-r1.ebuild b/dev-python/sphinxcontrib-websupport/sphinxcontrib-websupport-1.2.4-r2.ebuild
index 81c38872592d..5de0c967feaa 100644
--- a/dev-python/sphinxcontrib-websupport/sphinxcontrib-websupport-1.2.4-r1.ebuild
+++ b/dev-python/sphinxcontrib-websupport/sphinxcontrib-websupport-1.2.4-r2.ebuild
@@ -45,6 +45,8 @@ src_prepare() {
# breaks tests
sed -i -e '/pkg_resources/d' \
sphinxcontrib/websupport/__init__.py || die
+ # strip the .dev tag from version number
+ sed -i -e '/tag/d' setup.cfg || die
distutils-r1_src_prepare
}