dev-python/keystoneauth: Add MY_P prior to rename

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2023-02-14 16:49:49 +01:00
parent 29153ca563
commit 12e07fc3e8
2 changed files with 6 additions and 4 deletions

View File

@@ -8,6 +8,7 @@ PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1
MY_P=keystoneauth1-${PV}
DESCRIPTION="This package contains tools for authenticating to an OpenStack-based cloud"
HOMEPAGE="https://github.com/openstack/keystoneauth"
HOMEPAGE="
@@ -15,8 +16,8 @@ HOMEPAGE="
https://github.com/openstack/keystoneauth/
https://pypi.org/project/keystoneauth1/
"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}1/${PN}1-${PV}.tar.gz"
S="${WORKDIR}/${PN}1-${PV}"
SRC_URI="mirror://pypi/${MY_P::1}/keystoneauth1/${MY_P}.tar.gz"
S=${WORKDIR}/${MY_P}
LICENSE="Apache-2.0"
SLOT="0"

View File

@@ -8,6 +8,7 @@ PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1
MY_P=keystoneauth1-${PV}
DESCRIPTION="This package contains tools for authenticating to an OpenStack-based cloud"
HOMEPAGE="https://github.com/openstack/keystoneauth"
HOMEPAGE="
@@ -15,8 +16,8 @@ HOMEPAGE="
https://github.com/openstack/keystoneauth/
https://pypi.org/project/keystoneauth1/
"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}1/${PN}1-${PV}.tar.gz"
S="${WORKDIR}/${PN}1-${PV}"
SRC_URI="mirror://pypi/${MY_P::1}/keystoneauth1/${MY_P}.tar.gz"
S=${WORKDIR}/${MY_P}
LICENSE="Apache-2.0"
SLOT="0"