diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-02-07 09:06:34 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-02-07 10:26:33 +0100 |
commit | 30748855870322883409d3beba61623a2b965aad (patch) | |
tree | d0d99a5d6e1f9417b813f6fedd9c5a978e3ec5d2 | |
parent | dev-python/irc: Use pypi.eclass (diff) | |
download | gentoo-30748855870322883409d3beba61623a2b965aad.tar.gz gentoo-30748855870322883409d3beba61623a2b965aad.tar.bz2 gentoo-30748855870322883409d3beba61623a2b965aad.zip |
dev-python/jaraco-classes: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r-- | dev-python/jaraco-classes/jaraco-classes-3.2.3.ebuild | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/dev-python/jaraco-classes/jaraco-classes-3.2.3.ebuild b/dev-python/jaraco-classes/jaraco-classes-3.2.3.ebuild index 2e24fdbc7d0a..f990153fe649 100644 --- a/dev-python/jaraco-classes/jaraco-classes-3.2.3.ebuild +++ b/dev-python/jaraco-classes/jaraco-classes-3.2.3.ebuild @@ -6,16 +6,15 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( pypy3 python3_{9..11} ) -inherit distutils-r1 +inherit distutils-r1 pypi -MY_P="${P/-/.}" DESCRIPTION="Classes used by other projects by developer jaraco" HOMEPAGE=" https://github.com/jaraco/jaraco.classes/ https://pypi.org/project/jaraco.classes/ " -SRC_URI="mirror://pypi/${PN:0:1}/${PN/-/.}/${MY_P}.tar.gz" -S=${WORKDIR}/${MY_P} +SRC_URI="$(pypi_sdist_url "${PN/-/.}")" +S=${WORKDIR}/${P/-/.} LICENSE="MIT" SLOT="0" |