commit: 0db6a38c5d9a14f670b7cd9066138104fbe35b13
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 22 19:48:02 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Nov 22 20:00:08 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0db6a38c
dev-python/requests_download: Add MY_P prior to rename
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/requests_download/requests_download-0.1.2-r2.ebuild | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/dev-python/requests_download/requests_download-0.1.2-r2.ebuild
b/dev-python/requests_download/requests_download-0.1.2-r2.ebuild
index 92aaeeecb585..4e5b9fd41874 100644
--- a/dev-python/requests_download/requests_download-0.1.2-r2.ebuild
+++ b/dev-python/requests_download/requests_download-0.1.2-r2.ebuild
@@ -8,15 +8,17 @@ PYTHON_COMPAT=( python3_{10..12} pypy3 )
inherit distutils-r1
+MY_P=requests_download-${PV}
DESCRIPTION="A convenient function to download to a file using requests"
HOMEPAGE="
- https://github.com/takluyver/requests_download
+ https://github.com/takluyver/requests_download/
https://pypi.org/project/requests_download/
"
SRC_URI="
https://github.com/takluyver/requests_download/archive/${PV}.tar.gz
- -> ${P}.gh.tar.gz
+ -> ${MY_P}.gh.tar.gz
"
+S=${WORKDIR}/${MY_P}
LICENSE="MIT"
SLOT="0"