summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2023-10-07 20:46:37 +0200
committerAlfredo Tupone <tupone@gentoo.org>2023-10-07 20:52:02 +0200
commit631c51df724c1f444365465961d9e53d2e805481 (patch)
tree9b1059f58bdfcb5fd2f7d8a2c0d2928999adb459 /dev-python
parentapp-crypt/debian-archive-keyring: Drop old (diff)
downloadgentoo-631c51df724c1f444365465961d9e53d2e805481.tar.gz
gentoo-631c51df724c1f444365465961d9e53d2e805481.tar.bz2
gentoo-631c51df724c1f444365465961d9e53d2e805481.zip
dev-python/confusable_homoglyphs: fix installed version
Closes: https://bugs.gentoo.org/915328 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/confusable_homoglyphs/confusable_homoglyphs-3.2.0-r2.ebuild (renamed from dev-python/confusable_homoglyphs/confusable_homoglyphs-3.2.0-r1.ebuild)8
1 files changed, 8 insertions, 0 deletions
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
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
+}