From 12e07fc3e8f846b920872d33d43c5aa55790d334 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Tue, 14 Feb 2023 16:49:49 +0100 Subject: [PATCH] dev-python/keystoneauth: Add MY_P prior to rename MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/keystoneauth/keystoneauth-5.1.0.ebuild | 5 +++-- dev-python/keystoneauth/keystoneauth-5.1.1.ebuild | 5 +++-- 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 c6cf45d5c6794..092b4dde4cb91 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 4af2a2f4a7c16..d454d61a3df09 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"