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: Sat, 31 Dec 2022 10:56:02
Message-Id: 1672484148.50baa8257df12e75b0279f1e1492e2c46fa0870b.mgorny@gentoo
1 commit: 50baa8257df12e75b0279f1e1492e2c46fa0870b
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 31 10:45:26 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 31 10:55:48 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50baa825
7
8 dev-python/zipp: Remove old
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.10.0.ebuild | 55 --------------------------------------
14 2 files changed, 56 deletions(-)
15
16 diff --git a/dev-python/zipp/Manifest b/dev-python/zipp/Manifest
17 index 0bbebe67ece8..7374067ff0f8 100644
18 --- a/dev-python/zipp/Manifest
19 +++ b/dev-python/zipp/Manifest
20 @@ -1,2 +1 @@
21 -DIST zipp-3.10.0.tar.gz 15564 BLAKE2B 145374d6e2e251f588e198a0fd400542b34ff26de4e1240dd30710dc33e884ccde91ca1cc168d5f421aa4e04341c76cfb10fbf176c830ade237be39a886267ab SHA512 2e64b05eb0123eb3c3c87fbfe2da26721eb9e24142a43e794d04e5f86ab5fe4cf3e0e3e3497bfc9631ab61dd64226829772493f26e091a66148ddbdc5dfd8e51
22 DIST zipp-3.11.0.tar.gz 16799 BLAKE2B 96cbb86e4c112a2cc0bbd8cf8f7a6d0e7b5a5b4af0857bfea87583341e7d08c9f0879f8455131f81e21ffb75bb362fb312c5575a8ccb2e2996313fe3f95ffe36 SHA512 10e1eca131063d9e34db18320152ea5e2445585802e7814fcb0a0aeddd8eb5481c60c2eaca1f7f2729826aafd4004fc4a0b8ee26896c833f789752a501f77e86
23
24 diff --git a/dev-python/zipp/zipp-3.10.0.ebuild b/dev-python/zipp/zipp-3.10.0.ebuild
25 deleted file mode 100644
26 index c75defb1e1b8..000000000000
27 --- a/dev-python/zipp/zipp-3.10.0.ebuild
28 +++ /dev/null
29 @@ -1,55 +0,0 @@
30 -# Copyright 1999-2022 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -# please keep this ebuild at EAPI 7 -- sys-apps/portage dep
34 -EAPI=7
35 -
36 -DISTUTILS_USE_PEP517=flit
37 -PYTHON_COMPAT=( pypy3 python3_{8..11} )
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 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
48 -
49 -BDEPEND="
50 - test? (
51 - dev-python/jaraco-functools[${PYTHON_USEDEP}]
52 - dev-python/jaraco-itertools[${PYTHON_USEDEP}]
53 - dev-python/more-itertools[${PYTHON_USEDEP}]
54 - )
55 -"
56 -
57 -distutils_enable_tests pytest
58 -
59 -EPYTEST_DESELECT=(
60 - # speed tests are flaky by design
61 - tests/test_zipp.py::TestPath::test_implied_dirs_performance
62 -)
63 -
64 -src_prepare() {
65 - # dep of disabled test
66 - sed -i -e '/func_timeout/d' tests/test_zipp.py || die
67 - distutils-r1_src_prepare
68 -}
69 -
70 -src_configure() {
71 - grep -q 'build-backend = "setuptools' pyproject.toml ||
72 - die "Upstream changed build-backend, recheck"
73 - # write a custom pyproject.toml to ease setuptools bootstrap
74 - cat > pyproject.toml <<-EOF || die
75 - [build-system]
76 - requires = ["flit_core >=3.2,<4"]
77 - build-backend = "flit_core.buildapi"
78 -
79 - [project]
80 - name = "zipp"
81 - version = "${PV}"
82 - description = "Backport of pathlib-compatible object wrapper for zip files"
83 - EOF
84 -}