summaryrefslogtreecommitdiff
path: root/dev-python/zope-hookable/zope-hookable-5.4.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/zope-hookable/zope-hookable-5.4.ebuild')
-rw-r--r--dev-python/zope-hookable/zope-hookable-5.4.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-python/zope-hookable/zope-hookable-5.4.ebuild b/dev-python/zope-hookable/zope-hookable-5.4.ebuild
index 7f0b35878a7e..79b926d6e252 100644
--- a/dev-python/zope-hookable/zope-hookable-5.4.ebuild
+++ b/dev-python/zope-hookable/zope-hookable-5.4.ebuild
@@ -6,7 +6,7 @@ EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..11} )
-inherit distutils-r1
+inherit distutils-r1 pypi
DESCRIPTION="Efficient creation of 'hookable' objects"
HOMEPAGE="
@@ -17,6 +17,7 @@ SRC_URI="
https://github.com/zopefoundation/zope.hookable/archive/${PV}.tar.gz
-> ${P}.gh.tar.gz
"
+SRC_URI="$(pypi_sdist_url --no-normalize "${PN/-/.}")"
S=${WORKDIR}/${P/-/.}
LICENSE="ZPL"