summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-03-14 06:00:45 +0100
committerMichał Górny <mgorny@gentoo.org>2023-03-14 06:00:45 +0100
commita99c15244eb02d47fb567c612b10563557e66cf7 (patch)
tree9d20602b98f2f3bdadd79391eb81bb7593ea4b63 /dev-python/oslo-log
parentdev-python/oslo-i18n: Use pypi.eclass (diff)
downloadgentoo-a99c15244eb02d47fb567c612b10563557e66cf7.tar.gz
gentoo-a99c15244eb02d47fb567c612b10563557e66cf7.tar.bz2
gentoo-a99c15244eb02d47fb567c612b10563557e66cf7.zip
dev-python/oslo-log: Use pypi.eclass
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.ebuild6
1 files changed, 3 insertions, 3 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 d0041308d78c..fe3f197f4c1a 100644
--- a/dev-python/oslo-log/oslo-log-5.1.0.ebuild
+++ b/dev-python/oslo-log/oslo-log-5.1.0.ebuild
@@ -6,7 +6,7 @@ EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..11} )
-inherit distutils-r1
+inherit distutils-r1 pypi
DESCRIPTION="OpenStack logging config library, configuration for all openstack projects"
HOMEPAGE="
@@ -14,8 +14,8 @@ HOMEPAGE="
https://github.com/openstack/oslo.log/
https://pypi.org/project/oslo.log/
"
-SRC_URI="mirror://pypi/o/oslo.log/oslo.log-${PV}.tar.gz"
-S="${WORKDIR}/oslo.log-${PV}"
+SRC_URI="$(pypi_sdist_url --no-normalize "${PN/-/.}")"
+S=${WORKDIR}/${P/-/.}
LICENSE="Apache-2.0"
SLOT="0"