summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-03-21 07:46:25 +0100
committerMichał Górny <mgorny@gentoo.org>2023-03-21 07:49:10 +0100
commit8d8f96fd1bd3d74b50d6f98e3b781dc1c27ac20c (patch)
tree3c0f627eda5838aa356f89db19661e2cc4a4dbb6 /dev-python/zope-exceptions
parentdev-python/zope-event: Use PYPI_PN (diff)
downloadgentoo-8d8f96fd1bd3d74b50d6f98e3b781dc1c27ac20c.tar.gz
gentoo-8d8f96fd1bd3d74b50d6f98e3b781dc1c27ac20c.tar.bz2
gentoo-8d8f96fd1bd3d74b50d6f98e3b781dc1c27ac20c.zip
dev-python/zope-exceptions: Use PYPI_PN
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/zope-exceptions')
-rw-r--r--dev-python/zope-exceptions/zope-exceptions-4.6.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-python/zope-exceptions/zope-exceptions-4.6.ebuild b/dev-python/zope-exceptions/zope-exceptions-4.6.ebuild
index 55d8d703c531..dfe63480f383 100644
--- a/dev-python/zope-exceptions/zope-exceptions-4.6.ebuild
+++ b/dev-python/zope-exceptions/zope-exceptions-4.6.ebuild
@@ -4,6 +4,8 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYPI_PN=${PN/-/.}
PYTHON_COMPAT=( python3_{9..11} pypy3 )
inherit distutils-r1 pypi
@@ -13,8 +15,6 @@ HOMEPAGE="
https://pypi.org/project/zope.exceptions/
https://github.com/zopefoundation/zope.exceptions/
"
-SRC_URI="$(pypi_sdist_url --no-normalize "${PN/-/.}")"
-S=${WORKDIR}/${P/-/.}
LICENSE="ZPL"
SLOT="0"