dev-python/zope-component: Use PYPI_PN

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2023-03-21 07:46:21 +01:00
parent b021cf5751
commit fdef85c238

View File

@@ -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"