summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-03-21 20:35:28 +0100
committerMichał Górny <mgorny@gentoo.org>2023-03-21 21:06:15 +0100
commitcb687c98d26ec6585788cfd31c53bc44e3bf2a9b (patch)
treee9fb214061b322254c6efb7727ea9cf4df200d45 /dev-python/oslo-serialization
parentdev-python/oslo-log: Use PYPI_PN (diff)
downloadgentoo-cb687c98d26ec6585788cfd31c53bc44e3bf2a9b.tar.gz
gentoo-cb687c98d26ec6585788cfd31c53bc44e3bf2a9b.tar.bz2
gentoo-cb687c98d26ec6585788cfd31c53bc44e3bf2a9b.zip
dev-python/oslo-serialization: Use PYPI_PN
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/oslo-serialization')
-rw-r--r--dev-python/oslo-serialization/oslo-serialization-5.1.1.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-python/oslo-serialization/oslo-serialization-5.1.1.ebuild b/dev-python/oslo-serialization/oslo-serialization-5.1.1.ebuild
index 552a137a31b3..a88d8548d523 100644
--- a/dev-python/oslo-serialization/oslo-serialization-5.1.1.ebuild
+++ b/dev-python/oslo-serialization/oslo-serialization-5.1.1.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
@@ -14,8 +16,6 @@ HOMEPAGE="
https://github.com/openstack/oslo.serialization/
https://pypi.org/project/oslo.serialization/
"
-SRC_URI="$(pypi_sdist_url --no-normalize "${PN/-/.}")"
-S=${WORKDIR}/${P/-/.}
LICENSE="Apache-2.0"
SLOT="0"