diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-03-17 19:04:11 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-03-17 19:28:11 +0100 |
commit | fd8c9994243827dcb6489f0876685876b7005acf (patch) | |
tree | fac603a371e9524f1c81530f5ad6e68aecaee94a /dev-python/zope-testing | |
parent | dev-python/zope-schema: Use pypi.eclass (diff) | |
download | gentoo-fd8c9994243827dcb6489f0876685876b7005acf.tar.gz gentoo-fd8c9994243827dcb6489f0876685876b7005acf.tar.bz2 gentoo-fd8c9994243827dcb6489f0876685876b7005acf.zip |
dev-python/zope-testing: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/zope-testing')
-rw-r--r-- | dev-python/zope-testing/zope-testing-5.0.1.ebuild | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/dev-python/zope-testing/zope-testing-5.0.1.ebuild b/dev-python/zope-testing/zope-testing-5.0.1.ebuild index 19c1cd811d02..0111e1a87bf7 100644 --- a/dev-python/zope-testing/zope-testing-5.0.1.ebuild +++ b/dev-python/zope-testing/zope-testing-5.0.1.ebuild @@ -6,18 +6,15 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{9..11} pypy3 ) -inherit distutils-r1 - -MY_PN=${PN/-/.} -MY_P=${MY_PN}-${PV} +inherit distutils-r1 pypi DESCRIPTION="Zope testing helpers" HOMEPAGE=" https://pypi.org/project/zope.testing/ https://github.com/zopefoundation/zope.testing/ " -SRC_URI="mirror://pypi/${P::1}/${MY_PN}/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" +SRC_URI="$(pypi_sdist_url --no-normalize "${PN/-/.}")" +S=${WORKDIR}/${P/-/.} LICENSE="ZPL" SLOT="0" |