diff options
Diffstat (limited to 'dev-python/oslo-i18n/oslo-i18n-6.0.0.ebuild')
-rw-r--r-- | dev-python/oslo-i18n/oslo-i18n-6.0.0.ebuild | 9 |
1 files changed, 3 insertions, 6 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 af940e767e5e..aa429dc1edf5 100644 --- a/dev-python/oslo-i18n/oslo-i18n-6.0.0.ebuild +++ b/dev-python/oslo-i18n/oslo-i18n-6.0.0.ebuild @@ -6,10 +6,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{9..11} ) -inherit distutils-r1 - -MY_PN=${PN/-/.} -MY_P=${MY_PN}-${PV} +inherit distutils-r1 pypi DESCRIPTION="Oslo i18n library" HOMEPAGE=" @@ -17,8 +14,8 @@ HOMEPAGE=" https://github.com/openstack/oslo.i18n/ https://pypi.org/project/oslo.i18n/ " -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" -S=${WORKDIR}/${MY_P} +SRC_URI="$(pypi_sdist_url --no-normalize "${PN/-/.}")" +S=${WORKDIR}/${P/-/.} LICENSE="Apache-2.0" SLOT="0" |