1 |
commit: b4400e0b8c0953829a00f3fae699d0bc2b686c98 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 29 10:33:19 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 29 10:33:19 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4400e0b |
7 |
|
8 |
dev-python/jaraco-collections: Modernize & cleanup |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
.../jaraco-collections/jaraco-collections-3.5.2.ebuild | 15 ++++++++------- |
13 |
1 file changed, 8 insertions(+), 7 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/jaraco-collections/jaraco-collections-3.5.2.ebuild b/dev-python/jaraco-collections/jaraco-collections-3.5.2.ebuild |
16 |
index 3962c5c51519..c05bf6e60547 100644 |
17 |
--- a/dev-python/jaraco-collections/jaraco-collections-3.5.2.ebuild |
18 |
+++ b/dev-python/jaraco-collections/jaraco-collections-3.5.2.ebuild |
19 |
@@ -5,13 +5,17 @@ EAPI=8 |
20 |
|
21 |
DISTUTILS_USE_PEP517=setuptools |
22 |
PYTHON_COMPAT=( python3_{8..11} pypy3 ) |
23 |
+ |
24 |
inherit distutils-r1 |
25 |
|
26 |
-MY_PN="${PN/-/.}" |
27 |
+MY_P=${P/-/.} |
28 |
DESCRIPTION="Models and classes to supplement the stdlib collections module" |
29 |
-HOMEPAGE="https://github.com/jaraco/jaraco.collections" |
30 |
-SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" |
31 |
-S="${WORKDIR}/${MY_PN}-${PV}" |
32 |
+HOMEPAGE=" |
33 |
+ https://github.com/jaraco/jaraco.collections/ |
34 |
+ https://pypi.org/project/jaraco.collections/ |
35 |
+" |
36 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN/-/.}/${MY_P}.tar.gz" |
37 |
+S=${WORKDIR}/${MY_P} |
38 |
|
39 |
LICENSE="MIT" |
40 |
SLOT="0" |
41 |
@@ -25,7 +29,4 @@ BDEPEND=" |
42 |
>=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}] |
43 |
" |
44 |
|
45 |
-distutils_enable_sphinx docs \ |
46 |
- '>=dev-python/jaraco-packaging-3.2' \ |
47 |
- '>=dev-python/rst-linker-1.9' |
48 |
distutils_enable_tests pytest |