commit: 12e07fc3e8f846b920872d33d43c5aa55790d334 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Tue Feb 14 15:49:49 2023 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Tue Feb 14 16:23:10 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12e07fc3
dev-python/keystoneauth: Add MY_P prior to rename Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> 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 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"