commit:     cc85c71d7891842febd510abcfbf019de915182c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 17 19:51:58 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Feb 17 19:51:58 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc85c71d

dev-python/urwid_readline: Prepare for rename

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

 dev-python/urwid_readline/urwid_readline-0.13-r1.ebuild | 17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)

diff --git a/dev-python/urwid_readline/urwid_readline-0.13-r1.ebuild 
b/dev-python/urwid_readline/urwid_readline-0.13-r1.ebuild
index 155f195f0aa6..4943672cfb7a 100644
--- a/dev-python/urwid_readline/urwid_readline-0.13-r1.ebuild
+++ b/dev-python/urwid_readline/urwid_readline-0.13-r1.ebuild
@@ -1,24 +1,31 @@
-# Copyright 2021-2023 Gentoo Authors
+# Copyright 2021-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..12} )
+PYTHON_COMPAT=( python3_{10..12} )
+
 inherit distutils-r1
 
+MY_P=urwid_readline-${PV}
 DESCRIPTION="Text input widget for urwid that supports readline shortcuts"
 HOMEPAGE="
        https://github.com/rr-/urwid_readline/
-       https://pypi.org/project/urwid-readline/";
+       https://pypi.org/project/urwid-readline/
+"
 SRC_URI="
        https://github.com/rr-/urwid_readline/archive/${PV}.tar.gz
-               -> ${P}.gh.tar.gz"
+               -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
 
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~arm64 ~x86"
 
-RDEPEND="dev-python/urwid[${PYTHON_USEDEP}]"
+RDEPEND="
+       dev-python/urwid[${PYTHON_USEDEP}]
+"
 
 distutils_enable_tests pytest

Reply via email to