commit:     976a6438a723b0f5e7e8d09a914946e43c6eec37
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 22 19:22:09 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Nov 22 19:30:33 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=976a6438

dev-python/Levenshtein: Add MY_P prior to rename

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

 dev-python/Levenshtein/Levenshtein-0.26.1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev-python/Levenshtein/Levenshtein-0.26.1.ebuild 
b/dev-python/Levenshtein/Levenshtein-0.26.1.ebuild
index e3e12fecabf3..403541b68f50 100644
--- a/dev-python/Levenshtein/Levenshtein-0.26.1.ebuild
+++ b/dev-python/Levenshtein/Levenshtein-0.26.1.ebuild
@@ -9,6 +9,7 @@ PYTHON_COMPAT=( python3_{10..13} )
 
 inherit distutils-r1
 
+MY_P=${P^}
 DESCRIPTION="Functions for fast computation of Levenshtein distance, and edit 
operations"
 HOMEPAGE="
        https://pypi.org/project/Levenshtein/
@@ -16,8 +17,9 @@ HOMEPAGE="
 "
 SRC_URI="
        https://github.com/rapidfuzz/Levenshtein/archive/v${PV}.tar.gz
-               -> ${P}.gh.tar.gz
+               -> ${MY_P}.gh.tar.gz
 "
+S=${WORKDIR}/${MY_P}
 
 LICENSE="GPL-2+"
 SLOT="0"

Reply via email to