summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-03-21 07:46:26 +0100
committerMichał Górny <mgorny@gentoo.org>2023-03-21 07:49:10 +0100
commitf45f0abcb684ab0a780ec9f50944f5db82bbc496 (patch)
treed9fea49030121098708b1ebf4240d2deb02f9266
parentdev-python/zope-exceptions: Use PYPI_PN (diff)
downloadgentoo-f45f0abcb684ab0a780ec9f50944f5db82bbc496.tar.gz
gentoo-f45f0abcb684ab0a780ec9f50944f5db82bbc496.tar.bz2
gentoo-f45f0abcb684ab0a780ec9f50944f5db82bbc496.zip
dev-python/zope-hookable: Use PYPI_PN
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--dev-python/zope-hookable/zope-hookable-5.4.ebuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/dev-python/zope-hookable/zope-hookable-5.4.ebuild b/dev-python/zope-hookable/zope-hookable-5.4.ebuild
index 79b926d6e252..98c7d3214033 100644
--- a/dev-python/zope-hookable/zope-hookable-5.4.ebuild
+++ b/dev-python/zope-hookable/zope-hookable-5.4.ebuild
@@ -4,6 +4,8 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYPI_PN=${PN/-/.}
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1 pypi
@@ -13,12 +15,6 @@ HOMEPAGE="
https://pypi.org/project/zope.hookable/
https://github.com/zopefoundation/zope.hookable/
"
-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"
SLOT="0"