summaryrefslogtreecommitdiff
path: root/dev-python/zope-exceptions/zope-exceptions-4.6.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/zope-exceptions/zope-exceptions-4.6.ebuild')
-rw-r--r--dev-python/zope-exceptions/zope-exceptions-4.6.ebuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/dev-python/zope-exceptions/zope-exceptions-4.6.ebuild b/dev-python/zope-exceptions/zope-exceptions-4.6.ebuild
index 3b4323daa488..55d8d703c531 100644
--- a/dev-python/zope-exceptions/zope-exceptions-4.6.ebuild
+++ b/dev-python/zope-exceptions/zope-exceptions-4.6.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="General purpose exceptions for Zope packages"
HOMEPAGE="
https://pypi.org/project/zope.exceptions/
https://github.com/zopefoundation/zope.exceptions/
"
-SRC_URI="mirror://pypi/${PN::1}/${PN/-/.}/${MY_P}.tar.gz"
-S="${WORKDIR}/${MY_P}"
+SRC_URI="$(pypi_sdist_url --no-normalize "${PN/-/.}")"
+S=${WORKDIR}/${P/-/.}
LICENSE="ZPL"
SLOT="0"