summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-03-21 20:36:34 +0100
committerMichał Górny <mgorny@gentoo.org>2023-03-21 21:06:16 +0100
commit3ea9509a57dda4fa6ad2e660906724901410f4ea (patch)
tree66b475599fdb8862271c3f1463597cab1b6bcc11 /dev-python/oslo-utils
parentdev-python/oslo-serialization: Use PYPI_PN (diff)
downloadgentoo-3ea9509a57dda4fa6ad2e660906724901410f4ea.tar.gz
gentoo-3ea9509a57dda4fa6ad2e660906724901410f4ea.tar.bz2
gentoo-3ea9509a57dda4fa6ad2e660906724901410f4ea.zip
dev-python/oslo-utils: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/oslo-utils')
-rw-r--r--dev-python/oslo-utils/oslo-utils-6.1.0.ebuild13
1 files changed, 8 insertions, 5 deletions
diff --git a/dev-python/oslo-utils/oslo-utils-6.1.0.ebuild b/dev-python/oslo-utils/oslo-utils-6.1.0.ebuild
index 03d7e7beb37d..653f90908b50 100644
--- a/dev-python/oslo-utils/oslo-utils-6.1.0.ebuild
+++ b/dev-python/oslo-utils/oslo-utils-6.1.0.ebuild
@@ -4,15 +4,18 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYPI_PN=${PN/-/.}
PYTHON_COMPAT=( python3_{9..11} )
-inherit distutils-r1
+inherit distutils-r1 pypi
-MY_P=${P/-/.}
DESCRIPTION="Oslo Utility library"
-HOMEPAGE="https://launchpad.net/oslo"
-SRC_URI="mirror://pypi/${PN::1}/${PN/-/.}/${MY_P}.tar.gz"
-S="${WORKDIR}/${MY_P}"
+HOMEPAGE="
+ https://opendev.org/openstack/oslo.utils/
+ https://github.com/openstack/oslo.utils/
+ https://pypi.org/project/oslo.utils/
+"
LICENSE="Apache-2.0"
SLOT="0"