1 |
commit: 722232c6fbcbbea9fa46aa6aecc96221581fb5c1 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 25 18:03:33 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 25 18:03:33 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=722232c6 |
7 |
|
8 |
dev-python/distlib: drop 0.3.5 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/distlib/Manifest | 1 - |
13 |
dev-python/distlib/distlib-0.3.5.ebuild | 66 --------------------------------- |
14 |
2 files changed, 67 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/distlib/Manifest b/dev-python/distlib/Manifest |
17 |
index 435ee6f1a47c..8b5f107343c5 100644 |
18 |
--- a/dev-python/distlib/Manifest |
19 |
+++ b/dev-python/distlib/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST distlib-0.3.5.gh.tar.gz 1233989 BLAKE2B 616666e835aa201ceeeb423452a25adafab67dc20f99496b711e3ca6d4916f4e1dd39e444b1c8824e90559e898fc0588cd58d2d5be07af172d6b6ed3f3c7fe4c SHA512 927861d2e11785d8419c3125784f21ee052883c03d91d8893d2c77b47739e45cbca39e5d90446e906c71744bd57274192b28af86def239a16caeae4d3887d5a6 |
22 |
DIST distlib-0.3.6.gh.tar.gz 1234082 BLAKE2B 384b736d9fb9e63d1b9a9375caf972ddfccb36c99903928505e684fe09b30190f873cf7b109beb6c32a1e4b1e11a1d9947adea74f9dceef3398fcc1963a2044a SHA512 39948539764ff5d45f14dc602ebd47d523b71b587ee081d7a267669aef4e4b1013d3995cb992038136bc4c01826ea633c6e4ffd050f1511705b296bf76f3bbf9 |
23 |
|
24 |
diff --git a/dev-python/distlib/distlib-0.3.5.ebuild b/dev-python/distlib/distlib-0.3.5.ebuild |
25 |
deleted file mode 100644 |
26 |
index bacb469be379..000000000000 |
27 |
--- a/dev-python/distlib/distlib-0.3.5.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,66 +0,0 @@ |
30 |
-# Copyright 2021-2022 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=8 |
34 |
- |
35 |
-DISTUTILS_USE_PEP517=setuptools |
36 |
-PYTHON_COMPAT=( python3_{8..11} pypy3 ) |
37 |
- |
38 |
-inherit distutils-r1 |
39 |
- |
40 |
-DESCRIPTION="Low-level components of distutils2/packaging" |
41 |
-HOMEPAGE=" |
42 |
- https://pypi.org/project/distlib/ |
43 |
- https://github.com/pypa/distlib |
44 |
-" |
45 |
-SRC_URI=" |
46 |
- https://github.com/pypa/distlib/archive/${PV}.tar.gz -> ${P}.gh.tar.gz |
47 |
-" |
48 |
- |
49 |
-LICENSE="PSF-2" |
50 |
-SLOT="0" |
51 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" |
52 |
-IUSE="test" |
53 |
-RESTRICT="!test? ( test )" |
54 |
- |
55 |
-# pypiserver is called as external executable |
56 |
-# openpyxl installs invalid metadata that breaks distlib |
57 |
-BDEPEND=" |
58 |
- test? ( |
59 |
- dev-python/pypiserver |
60 |
- !!<dev-python/openpyxl-3.0.3[${PYTHON_USEDEP}] |
61 |
- ) |
62 |
-" |
63 |
- |
64 |
-src_prepare() { |
65 |
- # make sure they're not used |
66 |
- rm tests/pypi-server-standalone.py || die |
67 |
- |
68 |
- # use system pypiserver instead of broken bundled one |
69 |
- eapply "${FILESDIR}"/distlib-0.3.2-system-pypiserver.py || die |
70 |
- |
71 |
- # doesn't work with our patched pip |
72 |
- sed -i -e '/PIP_AVAIL/s:True:False:' tests/test_wheel.py || die |
73 |
- |
74 |
- # broken with pypy3 |
75 |
- sed -i -e 's:test_custom_shebang:_&:' tests/test_scripts.py || die |
76 |
- # broken with py3.11, doesn't look important |
77 |
- sed -i -e 's:test_sequencer_basic:_&:' tests/test_util.py || die |
78 |
- # https://bugs.gentoo.org/843839 |
79 |
- sed -i -e 's:test_interpreter_args:_&:' tests/test_scripts.py || die |
80 |
- |
81 |
- distutils-r1_src_prepare |
82 |
-} |
83 |
- |
84 |
-python_test() { |
85 |
- local -x SKIP_ONLINE=1 |
86 |
- local -x PYTHONHASHSEED=0 |
87 |
- |
88 |
- # disable system-site-packages -- distlib has no deps, and is very |
89 |
- # fragile to packages actually installed on the system |
90 |
- sed -i -e '/system-site-packages/s:true:false:' \ |
91 |
- "${BUILD_DIR}/install${EPREFIX}/usr/bin/pyvenv.cfg" || die |
92 |
- |
93 |
- "${EPYTHON}" tests/test_all.py -v -x || |
94 |
- die "Tests failed with ${EPYTHON}" |
95 |
-} |