1 |
commit: eada6d58cee2492da29e3e293ef857b3f9540507 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 2 11:55:28 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 2 12:01:08 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eada6d58 |
7 |
|
8 |
dev-python/IPy: Clean MY_P up |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/IPy/IPy-1.01-r1.ebuild | 5 +---- |
13 |
1 file changed, 1 insertion(+), 4 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/IPy/IPy-1.01-r1.ebuild b/dev-python/IPy/IPy-1.01-r1.ebuild |
16 |
index c22c927a15dc..3e7455c57296 100644 |
17 |
--- a/dev-python/IPy/IPy-1.01-r1.ebuild |
18 |
+++ b/dev-python/IPy/IPy-1.01-r1.ebuild |
19 |
@@ -8,15 +8,12 @@ PYTHON_COMPAT=( python3_{8..11} ) |
20 |
|
21 |
inherit distutils-r1 |
22 |
|
23 |
-MY_PN="IPy" |
24 |
-MY_P="${MY_PN}-${PV}" |
25 |
DESCRIPTION="Class and tools for handling of IPv4 and IPv6 addresses and networks" |
26 |
HOMEPAGE=" |
27 |
https://github.com/autocracy/python-ipy/ |
28 |
https://pypi.org/project/IPy/ |
29 |
" |
30 |
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
31 |
-S="${WORKDIR}/${MY_PN}-${PV}" |
32 |
+SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" |
33 |
|
34 |
LICENSE="BSD" |
35 |
SLOT="0" |