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