summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-03-21 20:35:25 +0100
committerMichał Górny <mgorny@gentoo.org>2023-03-21 21:06:12 +0100
commit00182cf34bdcd51c84f57fe18c1a09f7bede950b (patch)
tree7f94ad89cdc3589edb6327d5db75a9f9622c8604 /dev-python/oslo-context
parentdev-python/oslo-config: Use PYPI_PN (diff)
downloadgentoo-00182cf34bdcd51c84f57fe18c1a09f7bede950b.tar.gz
gentoo-00182cf34bdcd51c84f57fe18c1a09f7bede950b.tar.bz2
gentoo-00182cf34bdcd51c84f57fe18c1a09f7bede950b.zip
dev-python/oslo-context: Use PYPI_PN
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/oslo-context')
-rw-r--r--dev-python/oslo-context/oslo-context-5.1.1.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-python/oslo-context/oslo-context-5.1.1.ebuild b/dev-python/oslo-context/oslo-context-5.1.1.ebuild
index acf9c83bdc90..0c8bf9e831eb 100644
--- a/dev-python/oslo-context/oslo-context-5.1.1.ebuild
+++ b/dev-python/oslo-context/oslo-context-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.context/
https://pypi.org/project/oslo.context/
"
-SRC_URI="$(pypi_sdist_url --no-normalize "${PN/-/.}")"
-S=${WORKDIR}/${P/-/.}
LICENSE="Apache-2.0"
SLOT="0"