commit:     3e74d1073bd5354dd79a91869e6b87d981126daf
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 17 17:49:06 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Mar 17 17:54:55 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e74d107

dev-python/precis-i18n: Use pypi.eclass

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

 dev-python/precis-i18n/precis-i18n-1.0.5.ebuild | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/dev-python/precis-i18n/precis-i18n-1.0.5.ebuild 
b/dev-python/precis-i18n/precis-i18n-1.0.5.ebuild
index 31c25af77de2..8576c88ad74b 100644
--- a/dev-python/precis-i18n/precis-i18n-1.0.5.ebuild
+++ b/dev-python/precis-i18n/precis-i18n-1.0.5.ebuild
@@ -6,16 +6,13 @@ EAPI=8
 DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{9..11} )
 
-inherit distutils-r1
+inherit distutils-r1 pypi
 
-MY_P=${P/-/_}
 DESCRIPTION="Internationalized Usernames and Passwords"
 HOMEPAGE="
        https://github.com/byllyfish/precis_i18n/
        https://pypi.org/project/precis-i18n/
 "
-SRC_URI="mirror://pypi/${PN:0:1}/${PN/-/_}/${P/-/_}.tar.gz"
-S=${WORKDIR}/${MY_P}
 
 LICENSE="MIT"
 SLOT="0"

Reply via email to