summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-02-07 09:17:57 +0100
committerMichał Górny <mgorny@gentoo.org>2023-02-07 10:26:41 +0100
commita7e3d3bee74989d9d687e14a99e486dd0e892910 (patch)
treeb9644c9d0747b1d56d82d5899663661030c3a844 /dev-python/jaraco-test
parentdev-python/jaraco-stream: Use pypi.eclass (diff)
downloadgentoo-a7e3d3bee74989d9d687e14a99e486dd0e892910.tar.gz
gentoo-a7e3d3bee74989d9d687e14a99e486dd0e892910.tar.bz2
gentoo-a7e3d3bee74989d9d687e14a99e486dd0e892910.zip
dev-python/jaraco-test: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/jaraco-test')
-rw-r--r--dev-python/jaraco-test/jaraco-test-5.3.0.ebuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/dev-python/jaraco-test/jaraco-test-5.3.0.ebuild b/dev-python/jaraco-test/jaraco-test-5.3.0.ebuild
index b0ae205c84c5..0b7c88b9d685 100644
--- a/dev-python/jaraco-test/jaraco-test-5.3.0.ebuild
+++ b/dev-python/jaraco-test/jaraco-test-5.3.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="Testing support by jaraco"
HOMEPAGE="
https://github.com/jaraco/jaraco.test/
https://pypi.org/project/jaraco.test/
"
-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"