Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/zipp/
Date: Wed, 29 Sep 2021 08:16:28
Message-Id: 1632903377.ee7c6f800a9231919959a730443d587fc86e3b44.mgorny@gentoo
1 commit: ee7c6f800a9231919959a730443d587fc86e3b44
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 29 07:23:11 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 29 08:16:17 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee7c6f80
7
8 dev-python/zipp: Bump to 3.5.1
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/zipp/Manifest | 1 +
13 dev-python/zipp/zipp-3.5.1.ebuild | 43 +++++++++++++++++++++++++++++++++++++++
14 2 files changed, 44 insertions(+)
15
16 diff --git a/dev-python/zipp/Manifest b/dev-python/zipp/Manifest
17 index 1d0a4877f37..c72c5f34bc5 100644
18 --- a/dev-python/zipp/Manifest
19 +++ b/dev-python/zipp/Manifest
20 @@ -1 +1,2 @@
21 DIST zipp-3.5.0.tar.gz 13270 BLAKE2B ba3b6f82ed0f1a902050ee8a89b6876a839d180dc048dd19cd31ddbaf89ec0494b9444f2ac082ed347e3183ccaf2e8342748737c2a29e1a2bbc492a0bc34767c SHA512 676d7e9a7fde386b57a213975121aba015461453f0809a97d39d030b06918a4c54ba1cad21877ddf007560941ae285883098d81d5e6f17eb4636379345b4513d
22 +DIST zipp-3.5.1.tar.gz 13005 BLAKE2B fe50ce8467dcb62a3685a56d3feab0b227832320f4d97ba7eb12a07a66065c1acee8ecb391812e2c772e7c55bbd4966743891f9fd80adf1138b289ed0bc06cd6 SHA512 7043d491a7f5588416973c4ea9d1fb5e47ee7febe423d01ee131662867ed1d616e2df4d2c87ad327ff1b8b297a8b10c6584cfce5de27d09a81d7a7ce4fcc4815
23
24 diff --git a/dev-python/zipp/zipp-3.5.1.ebuild b/dev-python/zipp/zipp-3.5.1.ebuild
25 new file mode 100644
26 index 00000000000..bef59282ca2
27 --- /dev/null
28 +++ b/dev-python/zipp/zipp-3.5.1.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 +}