1 |
commit: e8dd0407404553f70b0021f0be577cf5c8dd683b |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Dec 28 08:34:19 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 28 08:36:29 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8dd0407 |
7 |
|
8 |
dev-python/jaraco-collections: Bump to 3.1.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/jaraco-collections/Manifest | 1 + |
13 |
.../jaraco-collections-3.1.0.ebuild | 46 ++++++++++++++++++++++ |
14 |
2 files changed, 47 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/jaraco-collections/Manifest b/dev-python/jaraco-collections/Manifest |
17 |
index 8a812fbe252..60dae7e2fbd 100644 |
18 |
--- a/dev-python/jaraco-collections/Manifest |
19 |
+++ b/dev-python/jaraco-collections/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST jaraco.collections-3.0.0.tar.gz 16439 BLAKE2B ff3690d85d91da8d88945e9ab8d16d13c7d0f67a9334f706701f9b392d8cffdd9450b2d6051a92799564cfc81310e45f50368ab729a0b68c08a9c8b0ccd9627d SHA512 c6c5d28fe4b3940c81c68bf877249805db3f508d83a0071947c7a5596d3636631df91cc6e87802b0fa6cd5c8bdd1ef2f39b924471666b44d2147cb64ad1533ad |
22 |
+DIST jaraco.collections-3.1.0.tar.gz 18206 BLAKE2B c420b3c65c048840f2957ebff0e69a7e2d3db515801a54d829bc2dd9f77b804066ef15766c915b764a148eaa945fc9a30576bb00a645f4c124c031b6ccc64184 SHA512 9a3e4e60cd497ee2ed4a092bd823ecffe0d20293dd9ba491fd2c4e5df2481042efa8ba52503b001e11908982608852a0588cd70b4957d0551c066be97389652c |
23 |
|
24 |
diff --git a/dev-python/jaraco-collections/jaraco-collections-3.1.0.ebuild b/dev-python/jaraco-collections/jaraco-collections-3.1.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..57a148e6aa8 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/jaraco-collections/jaraco-collections-3.1.0.ebuild |
29 |
@@ -0,0 +1,46 @@ |
30 |
+# Copyright 1999-2020 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{6..9} pypy3 ) |
36 |
+inherit distutils-r1 |
37 |
+ |
38 |
+MY_PN="${PN/-/.}" |
39 |
+DESCRIPTION="Models and classes to supplement the stdlib collections module" |
40 |
+HOMEPAGE="https://github.com/jaraco/jaraco.collections" |
41 |
+SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" |
42 |
+S="${WORKDIR}/${MY_PN}-${PV}" |
43 |
+ |
44 |
+LICENSE="MIT" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86" |
47 |
+ |
48 |
+RDEPEND=" |
49 |
+ dev-python/jaraco-classes[${PYTHON_USEDEP}] |
50 |
+ dev-python/jaraco-text[${PYTHON_USEDEP}] |
51 |
+" |
52 |
+BDEPEND=" |
53 |
+ >=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}] |
54 |
+" |
55 |
+ |
56 |
+PATCHES=( |
57 |
+ "${FILESDIR}/jaraco-collections-3.0.0-pypy.patch" |
58 |
+) |
59 |
+ |
60 |
+distutils_enable_sphinx docs '>=dev-python/jaraco-packaging-3.2' \ |
61 |
+ '>=dev-python/rst-linker-1.9' |
62 |
+distutils_enable_tests pytest |
63 |
+ |
64 |
+python_test() { |
65 |
+ # Override pytest options to skip flake8 |
66 |
+ PYTHONPATH=. pytest -vv --override-ini="addopts=--doctest-modules" \ |
67 |
+ || die "tests failed with ${EPYTHON}" |
68 |
+} |
69 |
+ |
70 |
+# https://wiki.gentoo.org/wiki/Project:Python/Namespace_packages#File_collisions_between_pkgutil-style_packages |
71 |
+python_install() { |
72 |
+ rm "${BUILD_DIR}"/lib/jaraco/__init__.py || die |
73 |
+ # note: eclass may default to --skip-build in the future |
74 |
+ distutils-r1_python_install --skip-build |
75 |
+} |