commit:     b0fadaee46203318c12a36875a64680deb47dffe
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 21 06:48:18 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Mar 21 06:49:14 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0fadaee

dev-python/zc-lockfile: Use PYPI_PN

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

 dev-python/zc-lockfile/zc-lockfile-3.0_p1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/zc-lockfile/zc-lockfile-3.0_p1.ebuild 
b/dev-python/zc-lockfile/zc-lockfile-3.0_p1.ebuild
index db027ffcd598..7a435eac5dfe 100644
--- a/dev-python/zc-lockfile/zc-lockfile-3.0_p1.ebuild
+++ b/dev-python/zc-lockfile/zc-lockfile-3.0_p1.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://github.com/zopefoundation/zc.lockfile/
        https://pypi.org/project/zc.lockfile/
 "
-SRC_URI="$(pypi_sdist_url --no-normalize "${PN/-/.}")"
-S=${WORKDIR}/${PN/-/.}-${PV/_p/.post}
 
 LICENSE="ZPL"
 SLOT="0"

Reply via email to