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

dev-python/flit_scm: Add MY_P prior to rename

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

 dev-python/flit_scm/flit_scm-1.7.0.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-python/flit_scm/flit_scm-1.7.0.ebuild 
b/dev-python/flit_scm/flit_scm-1.7.0.ebuild
index 86aa856335c7..046051c4e61f 100644
--- a/dev-python/flit_scm/flit_scm-1.7.0.ebuild
+++ b/dev-python/flit_scm/flit_scm-1.7.0.ebuild
@@ -8,14 +8,16 @@ PYTHON_COMPAT=( pypy3 python3_{10..13} )
 
 inherit distutils-r1
 
+MY_P=flit_scm-${PV}
 DESCRIPTION="A PEP 518 build backend combining flit with setuptools_scm"
 HOMEPAGE="
        https://gitlab.com/WillDaSilva/flit_scm/
        https://pypi.org/project/flit-scm/
 "
 SRC_URI="
-       https://gitlab.com/WillDaSilva/flit_scm/-/archive/${PV}/${P}.tar.bz2
+       https://gitlab.com/WillDaSilva/flit_scm/-/archive/${PV}/${MY_P}.tar.bz2
 "
+S=${WORKDIR}/${MY_P}
 
 LICENSE="MIT"
 SLOT="0"
@@ -27,7 +29,7 @@ RDEPEND="
        $(python_gen_cond_dep '
                <dev-python/tomli-3[${PYTHON_USEDEP}]
                >=dev-python/tomli-2[${PYTHON_USEDEP}]
-       ' 3.8 3.9 3.10 )
+       ' 3.10)
 "
 BDEPEND="
        ${RDEPEND}

Reply via email to