commit:     d1480e9126f097ace9ca6969a6e9de3ec42814a5
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 22 19:37:45 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Nov 22 19:46:49 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1480e91

dev-python/PeachPy: Add MY_P prior to rename

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

 dev-python/PeachPy/Manifest                     |  2 +-
 dev-python/PeachPy/PeachPy-2022.11.13-r2.ebuild | 20 +++++++++++++-------
 2 files changed, 14 insertions(+), 8 deletions(-)

diff --git a/dev-python/PeachPy/Manifest b/dev-python/PeachPy/Manifest
index eca2287dc132..30a7288874a8 100644
--- a/dev-python/PeachPy/Manifest
+++ b/dev-python/PeachPy/Manifest
@@ -1 +1 @@
-DIST PeachPy-2022.11.13.gh.tar.gz 248834 BLAKE2B 
508100af45ee2868637c9f2123d835b26a6f8fc4fe880302ec273e19f95b855c667e30e1a31a23dc621aea57b3bf1948d9c2339e35dee55d46d3205d2fe93f03
 SHA512 
adda0e1c2e417792d0799f2fb5fa92636eff493e83dacf38344ca4a9fe37344bbb73228409cdf8680290ea7f374025f8b23bcdce6ab67b5329ae4a2acbc1cf4f
+DIST PeachPy-349e8f836142b2ed0efeb6bb99b1b715d87202e9.gh.tar.gz 248834 BLAKE2B 
508100af45ee2868637c9f2123d835b26a6f8fc4fe880302ec273e19f95b855c667e30e1a31a23dc621aea57b3bf1948d9c2339e35dee55d46d3205d2fe93f03
 SHA512 
adda0e1c2e417792d0799f2fb5fa92636eff493e83dacf38344ca4a9fe37344bbb73228409cdf8680290ea7f374025f8b23bcdce6ab67b5329ae4a2acbc1cf4f

diff --git a/dev-python/PeachPy/PeachPy-2022.11.13-r2.ebuild 
b/dev-python/PeachPy/PeachPy-2022.11.13-r2.ebuild
index 395c7459ef5f..75a64e521e44 100644
--- a/dev-python/PeachPy/PeachPy-2022.11.13-r2.ebuild
+++ b/dev-python/PeachPy/PeachPy-2022.11.13-r2.ebuild
@@ -4,15 +4,23 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..12} )
+PYTHON_COMPAT=( python3_{10..12} )
+
 inherit distutils-r1
 
-CommitId=349e8f836142b2ed0efeb6bb99b1b715d87202e9
+EGIT_COMMIT=349e8f836142b2ed0efeb6bb99b1b715d87202e9
+MY_P=PeachPy-${EGIT_COMMIT}
 
 DESCRIPTION="Portable Efficient Assembly Code-generator in Higher-level Python"
-HOMEPAGE="https://pypi.org/project/PeachPy/";
-SRC_URI="https://github.com/Maratyszcza/${PN}/archive/${CommitId}.tar.gz
-       -> ${P}.gh.tar.gz"
+HOMEPAGE="
+       https://github.com/Maratyszcza/PeachPy/
+       https://pypi.org/project/PeachPy/
+"
+SRC_URI="
+       https://github.com/Maratyszcza/PeachPy/archive/${EGIT_COMMIT}.tar.gz
+               -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
 
 LICENSE="BSD-2"
 SLOT="0"
@@ -25,8 +33,6 @@ RDEPEND="
 "
 DEPEND="${RDEPEND}"
 
-S="${WORKDIR}"/${PN}-${CommitId}
-
 DOCS=README.rst
 
 distutils_enable_sphinx sphinx \

Reply via email to