commit:     91a2091142d5b077a4b308596fa97ac5ad25bb03
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 14 05:14:00 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Feb 14 05:14:00 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91a20911

dev-python/podman-py: Add MY_P prior to rename

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/podman-py/podman-py-4.4.0.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev-python/podman-py/podman-py-4.4.0.ebuild 
b/dev-python/podman-py/podman-py-4.4.0.ebuild
index a7a8eed2e9b6..843534a57bf8 100644
--- a/dev-python/podman-py/podman-py-4.4.0.ebuild
+++ b/dev-python/podman-py/podman-py-4.4.0.ebuild
@@ -8,6 +8,7 @@ PYTHON_COMPAT=( python3_{9..11} )
 
 inherit distutils-r1
 
+MY_P=podman-py-${PV}
 DESCRIPTION="A library to interact with a Podman server"
 HOMEPAGE="
        https://github.com/containers/podman-py/
@@ -15,8 +16,9 @@ HOMEPAGE="
 "
 SRC_URI="
        https://github.com/containers/podman-py/archive/v${PV}.tar.gz
-               -> ${P}.gh.tar.gz
+               -> ${MY_P}.gh.tar.gz
 "
+S=${WORKDIR}/${MY_P}
 
 LICENSE="Apache-2.0"
 SLOT="0"

Reply via email to