1 |
commit: 09f57e979aa4f79ebed0cecad7694109a0a48d64 |
2 |
Author: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 31 01:25:40 2021 +0000 |
4 |
Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 31 01:25:51 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09f57e97 |
7 |
|
8 |
dev-python/zipp: add 3.7.0 |
9 |
|
10 |
Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org> |
11 |
|
12 |
dev-python/zipp/Manifest | 1 + |
13 |
dev-python/zipp/zipp-3.7.0.ebuild | 43 +++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 44 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/zipp/Manifest b/dev-python/zipp/Manifest |
17 |
index 002987f12f33..1f3863b5bce0 100644 |
18 |
--- a/dev-python/zipp/Manifest |
19 |
+++ b/dev-python/zipp/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST zipp-3.6.0.tar.gz 13047 BLAKE2B 2e3f5fd0acf9f931f5a74957e9ae29f12a42bc824eb36d769720282ec0413d90b0b45f0524f3b319ce614f43c061ae324fb29f7f2a83e7aeb393283827bca5d1 SHA512 8e21b0a757ed9ebddeca43d3e4b64549dc4e59f781704626b0b2b0a117752b84798a0484cceedd4684ee0459643df4d0f479e64a143c8d9337d2b66951a7b227 |
22 |
+DIST zipp-3.7.0.tar.gz 12989 BLAKE2B 8a315dfd28c8aa1d5a568699886ea47b34000381981d1f4e578bcc10d7c9dc772bfd99ae9d720836e300dd1aaa5e12f0667bbe40d69668306f90aed23ec0cc8f SHA512 bf0c00382273453286ce597fb5a0059b8b279edd01dc4f2d5accef41cc53d69ddda1a2b00f4c38ed4057eeac69ef225ba4bd3a70a16da025b33947cdd6a69ed8 |
23 |
|
24 |
diff --git a/dev-python/zipp/zipp-3.7.0.ebuild b/dev-python/zipp/zipp-3.7.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..bef59282ca20 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/zipp/zipp-3.7.0.ebuild |
29 |
@@ -0,0 +1,43 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+PYTHON_COMPAT=( pypy3 python3_{8..10} ) |
36 |
+inherit distutils-r1 |
37 |
+ |
38 |
+DESCRIPTION="Backport of pathlib-compatible object wrapper for zip files" |
39 |
+HOMEPAGE="https://github.com/jaraco/zipp" |
40 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="MIT" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" |
45 |
+ |
46 |
+BDEPEND=" |
47 |
+ dev-python/toml[${PYTHON_USEDEP}] |
48 |
+ >=dev-python/setuptools_scm-3.4.2[${PYTHON_USEDEP}] |
49 |
+ test? ( dev-python/jaraco-itertools[${PYTHON_USEDEP}] ) |
50 |
+" |
51 |
+ |
52 |
+distutils_enable_sphinx docs \ |
53 |
+ ">=dev-python/jaraco-packaging-3.2" \ |
54 |
+ ">=dev-python/rst-linker-1.9" |
55 |
+distutils_enable_tests pytest |
56 |
+ |
57 |
+EPYTEST_DESELECT=( |
58 |
+ # speed tests are flaky by design |
59 |
+ test_zipp.py::TestPath::test_implied_dirs_performance |
60 |
+) |
61 |
+ |
62 |
+EPYTEST_IGNORE=( |
63 |
+ # Ignoring zipp.py from ${S} avoids ImportPathMismatchError with Python < 3.8 |
64 |
+ # by ensuring only zipp from ${BUILD_DIR} is loaded |
65 |
+ zipp.py |
66 |
+) |
67 |
+ |
68 |
+python_prepare_all() { |
69 |
+ # dep of disabled test |
70 |
+ sed -i -e '/func_timeout/d' test_zipp.py || die |
71 |
+ distutils-r1_python_prepare_all |
72 |
+} |