commit:     4b07d25596b1c43c7fa7a52bc02a2e8630c3ee62
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 24 11:37:47 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jun 24 11:39:10 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b07d255

dev-python/sphinxcontrib-websupport: Strip .dev tag from version

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 ...support-1.2.4-r1.ebuild => sphinxcontrib-websupport-1.2.4-r2.ebuild} | 2 ++
 1 file changed, 2 insertions(+)

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
similarity index 94%
rename from 
dev-python/sphinxcontrib-websupport/sphinxcontrib-websupport-1.2.4-r1.ebuild
rename to 
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
 }
 

Reply via email to