1 |
commit: 41c32dd4fdd0f4a4b747e566216186d9a50c5705 |
2 |
Author: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 26 23:02:09 2019 +0000 |
4 |
Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 26 23:03:13 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41c32dd4 |
7 |
|
8 |
dev-python/zipp: bump to 0.6.0, now depends on more-itertools |
9 |
|
10 |
Package-Manager: Portage-2.3.71, Repoman-2.3.16 |
11 |
Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org> |
12 |
|
13 |
dev-python/zipp/Manifest | 1 + |
14 |
dev-python/zipp/zipp-0.6.0.ebuild | 46 +++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 47 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/zipp/Manifest b/dev-python/zipp/Manifest |
18 |
index 84258d759a3..7d4954a3d13 100644 |
19 |
--- a/dev-python/zipp/Manifest |
20 |
+++ b/dev-python/zipp/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST zipp-0.5.1.tar.gz 10763 BLAKE2B 4f70d6ed94203d4b9fb9127930a07797c3cbfa023e0cd472e9d3a18e1877619dbefee654cd0364592a594b6e9e0aabc813e0560695bb18f8e3a64cb4ce76f0e2 SHA512 d4486ae98159677cd481cddb3bd00d5d2237dc94f0f3129b03994800b0e136c12b05e02d2ca7d628043dabce323f34dd919b9ba731549656802527abdcfea120 |
23 |
DIST zipp-0.5.2.tar.gz 10875 BLAKE2B 97e56b8e1cbff2344ee6b385085e6c821d61bd2c2510ac54e50a3f706515f1e22789168c97599787787b47f09dabe55abb594f5724d1d540f62d8d68fc32e36f SHA512 8c84b620844315ab1f1aa3c5bb29dcdf1271a0139198b5c3d6aa31ecb9a86f0dcef963819403d971ae0461c737312c064572c57ecf32d73dc973a5f69cf0375c |
24 |
+DIST zipp-0.6.0.tar.gz 10778 BLAKE2B 165ae85f51fe0c0232f6cf2dde70e2d7f8064413c15616d15e1ebd65cfe3c345bbd5b1b9713fa1171cad18015b605862509790bedd734edf5a7d8c80c5378af3 SHA512 18bef5aa3388ab3901bf08888127fc9cc17d8972a52f23ccf9a8035f09ee5598e17ddff833a10b81b2118461e0c517e88413518736763425a728cd0b19cc2052 |
25 |
|
26 |
diff --git a/dev-python/zipp/zipp-0.6.0.ebuild b/dev-python/zipp/zipp-0.6.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..46f6ff27079 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/zipp/zipp-0.6.0.ebuild |
31 |
@@ -0,0 +1,46 @@ |
32 |
+# Copyright 1999-2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+PYTHON_COMPAT=( pypy{,3} python{2_7,3_{5,6,7}} ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="Backport of pathlib-compatible object wrapper for zip files" |
42 |
+HOMEPAGE="https://github.com/jaraco/zipp" |
43 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="MIT" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" |
48 |
+IUSE="doc test" |
49 |
+ |
50 |
+RDEPEND="dev-python/more-itertools[${PYTHON_USEDEP}]" |
51 |
+BDEPEND=" |
52 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
53 |
+ >=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}] |
54 |
+ test? ( |
55 |
+ ${RDEPEND} |
56 |
+ dev-python/contextlib2[${PYTHON_USEDEP}] |
57 |
+ dev-python/pathlib2[${PYTHON_USEDEP}] |
58 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
59 |
+ dev-python/unittest2[${PYTHON_USEDEP}] |
60 |
+ ) |
61 |
+ doc? ( |
62 |
+ >=dev-python/jaraco-packaging-3.2[${PYTHON_USEDEP}] |
63 |
+ >=dev-python/rst-linker-1.9[${PYTHON_USEDEP}] |
64 |
+ dev-python/sphinx[${PYTHON_USEDEP}] |
65 |
+ ) |
66 |
+" |
67 |
+ |
68 |
+python_compile_all() { |
69 |
+ if use doc; then |
70 |
+ sphinx-build docs docs/_build/html || die |
71 |
+ HTML_DOCS=( docs/_build/html/. ) |
72 |
+ fi |
73 |
+} |
74 |
+ |
75 |
+python_test() { |
76 |
+ pytest -vv || die "tests failed with ${EPYTHON}" |
77 |
+} |