summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-02-14 16:49:49 +0100
committerMichał Górny <mgorny@gentoo.org>2023-02-14 17:23:10 +0100
commit12e07fc3e8f846b920872d33d43c5aa55790d334 (patch)
treee2f1e778cebc4f26fcff7dcb2f9ee615b4d4a628 /dev-python
parentRename dev-python/{python-zeroconf → zeroconf} (diff)
downloadgentoo-12e07fc3e8f846b920872d33d43c5aa55790d334.tar.gz
gentoo-12e07fc3e8f846b920872d33d43c5aa55790d334.tar.bz2
gentoo-12e07fc3e8f846b920872d33d43c5aa55790d334.zip
dev-python/keystoneauth: Add MY_P prior to rename
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/keystoneauth/keystoneauth-5.1.0.ebuild5
-rw-r--r--dev-python/keystoneauth/keystoneauth-5.1.1.ebuild5
2 files changed, 6 insertions, 4 deletions
diff --git a/dev-python/keystoneauth/keystoneauth-5.1.0.ebuild b/dev-python/keystoneauth/keystoneauth-5.1.0.ebuild
index c6cf45d5c679..092b4dde4cb9 100644
--- a/dev-python/keystoneauth/keystoneauth-5.1.0.ebuild
+++ b/dev-python/keystoneauth/keystoneauth-5.1.0.ebuild
@@ -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"
diff --git a/dev-python/keystoneauth/keystoneauth-5.1.1.ebuild b/dev-python/keystoneauth/keystoneauth-5.1.1.ebuild
index 4af2a2f4a7c1..d454d61a3df0 100644
--- a/dev-python/keystoneauth/keystoneauth-5.1.1.ebuild
+++ b/dev-python/keystoneauth/keystoneauth-5.1.1.ebuild
@@ -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"