commit:     ff30296b02fc51e0499c07b1c857b23d9c590a5f
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat May 20 06:23:40 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat May 20 06:26:08 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff30296b

app-editors/retext: Use pypi.eclass in 7.2.3

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

 app-editors/retext/retext-7.2.3.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/app-editors/retext/retext-7.2.3.ebuild 
b/app-editors/retext/retext-7.2.3.ebuild
index 3d801309e7a0..700a1e8d40b0 100644
--- a/app-editors/retext/retext-7.2.3.ebuild
+++ b/app-editors/retext/retext-7.2.3.ebuild
@@ -7,6 +7,8 @@ EAPI=8
 # old compat matrix is no longer accessible as of 2021-02-13 but stated back
 # in 2020-07-05 that PyQt5 was explicitly not supported.
 PYTHON_COMPAT=( python3_{9,10} )
+PYPI_NO_NORMALIZE=1
+PYPI_PN="ReText"
 
 inherit distutils-r1 optfeature qmake-utils virtualx xdg
 
@@ -20,9 +22,7 @@ if [[ ${PV} == *9999 ]]; then
        inherit git-r3
        EGIT_REPO_URI="https://github.com/retext-project/retext.git";
 else
-       SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
-       S="${WORKDIR}/${MY_P}"
-
+       inherit pypi
        KEYWORDS="amd64 ~riscv ~x86"
 fi
 

Reply via email to