commit:     411165a997cf479874dcffbf421869a9c8a3bc37
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 21 06:46:28 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Mar 21 06:49:13 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=411165a9

dev-python/zope-schema: Use PYPI_PN

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/zope-schema/zope-schema-7.0.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/zope-schema/zope-schema-7.0.1.ebuild 
b/dev-python/zope-schema/zope-schema-7.0.1.ebuild
index 9bc480a73519..6ff494d3e0f2 100644
--- a/dev-python/zope-schema/zope-schema-7.0.1.ebuild
+++ b/dev-python/zope-schema/zope-schema-7.0.1.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.schema/
        https://github.com/zopefoundation/zope.schema/
 "
-SRC_URI="$(pypi_sdist_url --no-normalize "${PN/-/.}")"
-S=${WORKDIR}/${P/-/.}
 
 LICENSE="ZPL"
 SLOT="0"

Reply via email to