commit:     03b46a2a94d3f73081dd947c5edb585b99736c49
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 13 20:03:36 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Nov 13 20:40:53 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03b46a2a

dev-python/tlsh: Cleanup prior to rename

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

 dev-python/tlsh/tlsh-4.8.2-r1.ebuild | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/dev-python/tlsh/tlsh-4.8.2-r1.ebuild 
b/dev-python/tlsh/tlsh-4.8.2-r1.ebuild
index 1215717df97d..2598c104be88 100644
--- a/dev-python/tlsh/tlsh-4.8.2-r1.ebuild
+++ b/dev-python/tlsh/tlsh-4.8.2-r1.ebuild
@@ -3,15 +3,23 @@
 
 EAPI=8
 
+DISTUTILS_EXT=1
 DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{10..13} )
-DISTUTILS_EXT=1
+
 inherit distutils-r1
 
+MY_P=tlsh-${PV}
 DESCRIPTION="Fuzzy matching library - C++ extension for Python"
-HOMEPAGE="https://pypi.org/project/python-tlsh/";
-SRC_URI="https://github.com/trendmicro/${PN}/archive/${PV}.tar.gz -> 
${P}.gh.tar.gz"
-S=${WORKDIR}/${P}/py_ext
+HOMEPAGE="
+       https://github.com/trendmicro/tlsh/
+       https://pypi.org/project/python-tlsh/
+"
+SRC_URI="
+       https://github.com/trendmicro/tlsh/archive/${PV}.tar.gz
+               -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}/py_ext
 
 LICENSE="|| ( Apache-2.0 BSD )"
 SLOT="0"

Reply via email to