commit:     631c51df724c1f444365465961d9e53d2e805481
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sat Oct  7 18:46:37 2023 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sat Oct  7 18:52:02 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=631c51df

dev-python/confusable_homoglyphs: fix installed version

Closes: https://bugs.gentoo.org/915328
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 ...yphs-3.2.0-r1.ebuild => confusable_homoglyphs-3.2.0-r2.ebuild} | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git 
a/dev-python/confusable_homoglyphs/confusable_homoglyphs-3.2.0-r1.ebuild 
b/dev-python/confusable_homoglyphs/confusable_homoglyphs-3.2.0-r2.ebuild
similarity index 83%
rename from 
dev-python/confusable_homoglyphs/confusable_homoglyphs-3.2.0-r1.ebuild
rename to dev-python/confusable_homoglyphs/confusable_homoglyphs-3.2.0-r2.ebuild
index 1b9de4f368a0..a9190b96610a 100644
--- a/dev-python/confusable_homoglyphs/confusable_homoglyphs-3.2.0-r1.ebuild
+++ b/dev-python/confusable_homoglyphs/confusable_homoglyphs-3.2.0-r2.ebuild
@@ -26,3 +26,11 @@ RDEPEND="dev-python/click[${PYTHON_USEDEP}]"
 S="${WORKDIR}"/${PN}-${CommitId}
 
 distutils_enable_tests pytest
+
+python_prepare_all() {
+       sed -i \
+               -e "s:versioneer.get_version():\"${PV}\":" \
+               setup.py \
+               || die
+       distutils-r1_python_prepare_all
+}

Reply via email to