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

dev-python/PyRSS2Gen: Add MY_P prior to rename

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

 dev-python/PyRSS2Gen/PyRSS2Gen-1.1-r2.ebuild | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/dev-python/PyRSS2Gen/PyRSS2Gen-1.1-r2.ebuild 
b/dev-python/PyRSS2Gen/PyRSS2Gen-1.1-r2.ebuild
index 6cdf17e81365..1f555ea552e0 100644
--- a/dev-python/PyRSS2Gen/PyRSS2Gen-1.1-r2.ebuild
+++ b/dev-python/PyRSS2Gen/PyRSS2Gen-1.1-r2.ebuild
@@ -4,13 +4,18 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9,10,11,12} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit distutils-r1
 
+MY_P=PyRSS2Gen-${PV}
 DESCRIPTION="RSS feed generator written in Python"
-HOMEPAGE="http://www.dalkescientific.com/Python/PyRSS2Gen.html 
https://pypi.org/project/PyRSS2Gen/";
-SRC_URI="http://www.dalkescientific.com/Python/${P}.tar.gz";
+HOMEPAGE="
+       http://www.dalkescientific.com/Python/PyRSS2Gen.html
+       https://pypi.org/project/PyRSS2Gen/
+"
+SRC_URI="http://www.dalkescientific.com/Python/${MY_P}.tar.gz";
+S=${WORKDIR}/${MY_P}
 
 LICENSE="BSD"
 SLOT="0"

Reply via email to