summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-02-07 09:07:36 +0100
committerMichał Górny <mgorny@gentoo.org>2023-02-07 10:26:33 +0100
commit4daac18df572d92ad09a057b56c13c962bbcad79 (patch)
tree829f6297ee5b3f64a39710134ef1b339b47177ce /dev-python/jaraco-collections
parentdev-python/jaraco-classes: Use pypi.eclass (diff)
downloadgentoo-4daac18df572d92ad09a057b56c13c962bbcad79.tar.gz
gentoo-4daac18df572d92ad09a057b56c13c962bbcad79.tar.bz2
gentoo-4daac18df572d92ad09a057b56c13c962bbcad79.zip
dev-python/jaraco-collections: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/jaraco-collections')
-rw-r--r--dev-python/jaraco-collections/jaraco-collections-3.8.0.ebuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/dev-python/jaraco-collections/jaraco-collections-3.8.0.ebuild b/dev-python/jaraco-collections/jaraco-collections-3.8.0.ebuild
index 3663727cd6fe..ae1ba08c5c13 100644
--- a/dev-python/jaraco-collections/jaraco-collections-3.8.0.ebuild
+++ b/dev-python/jaraco-collections/jaraco-collections-3.8.0.ebuild
@@ -6,16 +6,15 @@ EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..11} pypy3 )
-inherit distutils-r1
+inherit distutils-r1 pypi
-MY_P=${P/-/.}
DESCRIPTION="Models and classes to supplement the stdlib collections module"
HOMEPAGE="
https://github.com/jaraco/jaraco.collections/
https://pypi.org/project/jaraco.collections/
"
-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"