1 |
commit: f19ff2561a5e128930783e7e8d4748c3ab63b4cd |
2 |
Author: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Oct 18 19:03:17 2018 +0000 |
4 |
Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 18 19:04:38 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f19ff256 |
7 |
|
8 |
dev-python/jaraco-collections: bump to 1.6.0 |
9 |
|
10 |
Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
12 |
|
13 |
dev-python/jaraco-collections/Manifest | 1 + |
14 |
.../jaraco-collections-1.6.0.ebuild | 59 ++++++++++++++++++++++ |
15 |
2 files changed, 60 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/jaraco-collections/Manifest b/dev-python/jaraco-collections/Manifest |
18 |
index d5ab850f99f..8ecc5d91d29 100644 |
19 |
--- a/dev-python/jaraco-collections/Manifest |
20 |
+++ b/dev-python/jaraco-collections/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST jaraco.collections-1.5.3.tar.gz 11669 BLAKE2B 2dbcac99edf28f4544e354724f8d95c0cbcdd793b33bcf892b403e72410f3b5b72b6eae62a49f0e56991cfb19b4ad5da0e95a3327f11fe5ae885e9a0029a92be SHA512 6e1fa88b468b9d971a7a302ebfdf8b9762404c2fdc1b003eee6653704b9f385f0f2e0c84ac075bdc81f8693195781cc5532c4adb31bcabd87974624a14e287ed |
23 |
DIST jaraco.collections-1.5.tar.gz 10615 BLAKE2B 4331a1df4a1232817e5bde97ce22b019ecb50711c0f4dfd18d050233b820a51c420719ff2a0d013e60da4710a63ab34293ee15f091b86392ec0d5e36e8262880 SHA512 7e2d3849d26422d687cfeb560f8096fb099a9c7b99b3061a06f9ad7037c3805b577754f62e5d5ead3f6f89bcd7dbf574df2844aa3c28928941ea2c99d50fc161 |
24 |
+DIST jaraco.collections-1.6.0.tar.gz 11991 BLAKE2B 8f8b3da18641d6348a28ef3792afabd504771f31f1de17ebb621aff493cbb7357e11d49d8b3f4ab4fc7b9a662986d10a90d20734cd802c6d34be1d169390aa96 SHA512 9bd472b51668129f12fabb90b86ed929e135a17217bc850d67d945a786d1952cf1f11b0cd8f5d4ae16b3b19ac35cf87e0584df622877185362e93ba3915dbe6b |
25 |
|
26 |
diff --git a/dev-python/jaraco-collections/jaraco-collections-1.6.0.ebuild b/dev-python/jaraco-collections/jaraco-collections-1.6.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..e604a649977 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/jaraco-collections/jaraco-collections-1.6.0.ebuild |
31 |
@@ -0,0 +1,59 @@ |
32 |
+# Copyright 1999-2018 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python{2_7,3_{4,5,6,7}} ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+MY_PN="${PN/-/.}" |
42 |
+DESCRIPTION="Models and classes to supplement the stdlib collections module" |
43 |
+HOMEPAGE="https://github.com/jaraco/jaraco.collections" |
44 |
+SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" |
45 |
+ |
46 |
+LICENSE="MIT" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~x86" |
49 |
+IUSE="doc test" |
50 |
+ |
51 |
+PDEPEND="dev-python/jaraco-text[${PYTHON_USEDEP}]" |
52 |
+RDEPEND=" |
53 |
+ dev-python/namespace-jaraco[${PYTHON_USEDEP}] |
54 |
+ dev-python/jaraco-classes[${PYTHON_USEDEP}] |
55 |
+ >=dev-python/six-1.7.0[${PYTHON_USEDEP}] |
56 |
+" |
57 |
+DEPEND=" |
58 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
59 |
+ >=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}] |
60 |
+ doc? ( |
61 |
+ >=dev-python/jaraco-packaging-3.2[${PYTHON_USEDEP}] |
62 |
+ >=dev-python/rst-linker-1.9[${PYTHON_USEDEP}] |
63 |
+ dev-python/sphinx[${PYTHON_USEDEP}] |
64 |
+ ) |
65 |
+ test? ( |
66 |
+ ${PDEPEND} |
67 |
+ ${RDEPEND} |
68 |
+ >=dev-python/pytest-2.8[${PYTHON_USEDEP}] |
69 |
+ ) |
70 |
+" |
71 |
+ |
72 |
+S="${WORKDIR}/${MY_PN}-${PV}" |
73 |
+ |
74 |
+python_compile_all() { |
75 |
+ if use doc; then |
76 |
+ sphinx-build docs docs/_build/html || die |
77 |
+ HTML_DOCS=( docs/_build/html/. ) |
78 |
+ fi |
79 |
+} |
80 |
+ |
81 |
+python_test() { |
82 |
+ # Override pytest options to skip flake8 |
83 |
+ PYTHONPATH=. pytest -vv --override-ini="addopts=--doctest-modules" \ |
84 |
+ || die "tests failed with ${EPYTHON}" |
85 |
+} |
86 |
+ |
87 |
+python_install_all() { |
88 |
+ distutils-r1_python_install_all |
89 |
+ find "${ED}" -name '*.pth' -delete || die |
90 |
+} |