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