summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-03-21 07:46:21 +0100
committerMichał Górny <mgorny@gentoo.org>2023-03-21 07:49:07 +0100
commitfdef85c2388888e1f9bf6a31da613113d3d7bb86 (patch)
tree8126623b3d643ed09373bea5aaf0f9e633f06554 /dev-python/zope-component
parentdev-python/sh: Bump to 2.0.3 (diff)
downloadgentoo-fdef85c2388888e1f9bf6a31da613113d3d7bb86.tar.gz
gentoo-fdef85c2388888e1f9bf6a31da613113d3d7bb86.tar.bz2
gentoo-fdef85c2388888e1f9bf6a31da613113d3d7bb86.zip
dev-python/zope-component: Use PYPI_PN
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/zope-component')
-rw-r--r--dev-python/zope-component/zope-component-5.1.0.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-python/zope-component/zope-component-5.1.0.ebuild b/dev-python/zope-component/zope-component-5.1.0.ebuild
index 62c89b36eddd..ce60a9d8260d 100644
--- a/dev-python/zope-component/zope-component-5.1.0.ebuild
+++ b/dev-python/zope-component/zope-component-5.1.0.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,8 +15,6 @@ HOMEPAGE="
https://pypi.org/project/zope.component/
https://github.com/zopefoundation/zope.component/
"
-SRC_URI="$(pypi_sdist_url --no-normalize "${PN/-/.}")"
-S=${WORKDIR}/${P/-/.}
LICENSE="ZPL"
SLOT="0"