1 |
commit: 08c8a438bc81f427b3a10ed48f46496ccb93874e |
2 |
Author: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 25 20:20:53 2020 +0000 |
4 |
Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 25 20:20:53 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08c8a438 |
7 |
|
8 |
dev-python/zipp: bump to 3.4.0 |
9 |
|
10 |
Package-Manager: Portage-3.0.8, Repoman-3.0.2 |
11 |
Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org> |
12 |
|
13 |
dev-python/zipp/Manifest | 1 + |
14 |
dev-python/zipp/zipp-3.4.0.ebuild | 40 +++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 41 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/zipp/Manifest b/dev-python/zipp/Manifest |
18 |
index fa7faf862b6..6ccc6ae80ef 100644 |
19 |
--- a/dev-python/zipp/Manifest |
20 |
+++ b/dev-python/zipp/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST zipp-3.1.0.tar.gz 14808 BLAKE2B fb5524c2619e51c5f8c1b85fa819d1001e6296df6c9d5320c6ab3ec88fa5c932c139161e621d51b2827ef40402bb2492b8b08e470b7333e847495ec690024879 SHA512 bb8dea71eccc4f3b18fc816dae700582c3feb72f346e115bb2d1adc336f121304a285e4d5dad48d15b386b9e137c6e1d1793ef50d22b6bd697812a661817684e |
23 |
DIST zipp-3.3.1.tar.gz 17336 BLAKE2B a71e4a059f5c1f3d7a91032f48686aeda64b5bdd83da45fadc24d6662d03944e3ac9484a1a1ec345baf9ebc4f64b73bf4d880fcdda46e23a17291b6e06a7a72e SHA512 0504e42b09148e5db45d8368e5a9d7b857474d81d18561342cac3306e26944df291c2961114b568940ef003387461ac55b673ae21b2f5e5820194119173fd732 |
24 |
DIST zipp-3.3.2.tar.gz 15570 BLAKE2B a508d22c1e938ab865e3c6495120a01f79416ac3fa31565eaa4b066b049797ee16e0850e53e0d440e135bf7605b5396cc0fc8798272b59b692d2c004682d8395 SHA512 ecd90625a92167c7751bbe077b63577f236b05a9946b7f4a0629488856e8b275e3c03e5daefc8b89140f43617c0f4440e2baa6d1ff982e3babe3954daadee75a |
25 |
+DIST zipp-3.4.0.tar.gz 15638 BLAKE2B c06f68b9a23e6ba560cf7b703150e4b14d8bbeb5c8712c54257f587de9a44eb853804495eaecff2ad17261304da9b9433951cbb9b17e3f35446406e4e4fe517d SHA512 c791e72f05a92110037cbee7153103e47ec536994d9e86cdecb34c602839c0bf5e6e4ab4ce56d6a44c7eb4f7a555ba531df8c986e302654c624f59e2217bf10f |
26 |
|
27 |
diff --git a/dev-python/zipp/zipp-3.4.0.ebuild b/dev-python/zipp/zipp-3.4.0.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..46fb971a3bc |
30 |
--- /dev/null |
31 |
+++ b/dev-python/zipp/zipp-3.4.0.ebuild |
32 |
@@ -0,0 +1,40 @@ |
33 |
+# Copyright 1999-2020 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+PYTHON_COMPAT=( pypy3 python3_{6..9} ) |
39 |
+ |
40 |
+inherit distutils-r1 |
41 |
+ |
42 |
+DESCRIPTION="Backport of pathlib-compatible object wrapper for zip files" |
43 |
+HOMEPAGE="https://github.com/jaraco/zipp" |
44 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="MIT" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
49 |
+ |
50 |
+BDEPEND=" |
51 |
+ dev-python/toml[${PYTHON_USEDEP}] |
52 |
+ >=dev-python/setuptools_scm-3.4.2[${PYTHON_USEDEP}] |
53 |
+ test? ( dev-python/jaraco-itertools[${PYTHON_USEDEP}] ) |
54 |
+" |
55 |
+ |
56 |
+distutils_enable_sphinx docs \ |
57 |
+ ">=dev-python/jaraco-packaging-3.2" \ |
58 |
+ ">=dev-python/rst-linker-1.9" |
59 |
+distutils_enable_tests pytest |
60 |
+ |
61 |
+python_prepare_all() { |
62 |
+ # Skip a potentially flaky performance test |
63 |
+ sed -i -e '/^import func_timeout\|^ *@func_timeout\.func_set_timeout/d' \ |
64 |
+ -e 's/test_implied_dirs_performance/_&/' test_zipp.py || die |
65 |
+ distutils-r1_python_prepare_all |
66 |
+} |
67 |
+ |
68 |
+python_test() { |
69 |
+ # Ignoring zipp.py from ${S} avoids ImportPathMismatchError with Python < 3.8 |
70 |
+ # by ensuring only zipp from ${BUILD_DIR} is loaded |
71 |
+ pytest --ignore zipp.py -vv || die "Tests fail with ${EPYTHON}" |
72 |
+} |