1 |
commit: 1e5ee0dd7cbfea2aa67f30963798996f58a0b0c9 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 9 19:26:16 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 9 19:31:29 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e5ee0dd |
7 |
|
8 |
dev-python/setuptools: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/setuptools/Manifest | 1 - |
13 |
dev-python/setuptools/setuptools-57.4.0-r2.ebuild | 88 ----------------------- |
14 |
2 files changed, 89 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/setuptools/Manifest b/dev-python/setuptools/Manifest |
17 |
index d1dc27892fc..c73a892ce34 100644 |
18 |
--- a/dev-python/setuptools/Manifest |
19 |
+++ b/dev-python/setuptools/Manifest |
20 |
@@ -1,3 +1,2 @@ |
21 |
DIST python-gentoo-patches-3.10.0rc1.tar.xz 8112 BLAKE2B d6f9b44c5a231f447ffe3533afbcaffe0f3b8bdd5a6690f1854bd7e1199d036d11a4cf4abfae345a88c42740ccbd4b72e53cbe28aea1a5db39dda1e5bfd47229 SHA512 bba7045f56369ca0354a539f8478a1afed77dc89a9faf548a0cf8959d644360b0afc4f84b95151ebfc2a6553078322c7445073f7a4104e9cd639ccc86ad0f792 |
22 |
-DIST setuptools-57.4.0.tar.gz 2141309 BLAKE2B 89b386b6d5bbac61df400f60c91a0a9b9ee381aec7d2f65a856c317c7b0b5512c5e9aa8844c0e64f1840a8e954ae22ed542ad97a104d5416b1df2ac02351809b SHA512 7fcc297ea3e6310f2ec8ba5bf0d509e3f4acbce6bde7e5f0fe1b022c147cf88a047471bd4aa278724e86ebc6be800015fb935c7a31dbb6a0801a2d380ddd89f2 |
23 |
DIST setuptools-57.5.0.tar.gz 2141727 BLAKE2B 54c065e0bdcb0c3a0a76026d78ab26615e07ee013e684ef18c3731757a38efe38d21d4c99b687595873679d77ab8381cccc483847467c98eb7086d9cac5bd8ec SHA512 9dae7cbddcca0859d128f528232c2ab6baca2b4447bba129a7bbc014c98a8ecc866cc71c7e93900bb93ea4bbbe5e398c1c3b4a4867afb2caf2c38a2d5a46d67c |
24 |
|
25 |
diff --git a/dev-python/setuptools/setuptools-57.4.0-r2.ebuild b/dev-python/setuptools/setuptools-57.4.0-r2.ebuild |
26 |
deleted file mode 100644 |
27 |
index c27ab3194b7..00000000000 |
28 |
--- a/dev-python/setuptools/setuptools-57.4.0-r2.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,88 +0,0 @@ |
31 |
-# Copyright 1999-2021 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-# please keep this ebuild at EAPI 7 -- sys-apps/portage dep |
35 |
-EAPI=7 |
36 |
- |
37 |
-# Set to 'manual' to avoid triggering install QA check |
38 |
-DISTUTILS_USE_SETUPTOOLS=manual |
39 |
-PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
40 |
-PYTHON_REQ_USE="xml(+)" |
41 |
- |
42 |
-inherit distutils-r1 multiprocessing |
43 |
- |
44 |
-CPY_PATCHSET="python-gentoo-patches-3.10.0rc1" |
45 |
-DESCRIPTION="Collection of extensions to Distutils" |
46 |
-HOMEPAGE="https://github.com/pypa/setuptools https://pypi.org/project/setuptools/" |
47 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz |
48 |
- https://dev.gentoo.org/~mgorny/dist/python/${CPY_PATCHSET}.tar.xz" |
49 |
- |
50 |
-LICENSE="MIT" |
51 |
-SLOT="0" |
52 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
53 |
-IUSE="test" |
54 |
-RESTRICT="!test? ( test )" |
55 |
- |
56 |
-BDEPEND=" |
57 |
- test? ( |
58 |
- $(python_gen_cond_dep ' |
59 |
- dev-python/jaraco-envs[${PYTHON_USEDEP}] |
60 |
- >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}] |
61 |
- dev-python/mock[${PYTHON_USEDEP}] |
62 |
- dev-python/pip[${PYTHON_USEDEP}] |
63 |
- dev-python/sphinx[${PYTHON_USEDEP}] |
64 |
- dev-python/pytest[${PYTHON_USEDEP}] |
65 |
- dev-python/pytest-fixture-config[${PYTHON_USEDEP}] |
66 |
- dev-python/pytest-virtualenv[${PYTHON_USEDEP}] |
67 |
- dev-python/pytest-xdist[${PYTHON_USEDEP}] |
68 |
- >=dev-python/virtualenv-20[${PYTHON_USEDEP}] |
69 |
- dev-python/wheel[${PYTHON_USEDEP}] |
70 |
- ' python3_{8..10} pypy3) |
71 |
- ) |
72 |
-" |
73 |
-PDEPEND=" |
74 |
- >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}] |
75 |
- dev-python/setuptools_scm[${PYTHON_USEDEP}]" |
76 |
- |
77 |
-# Force in-source build because build system modifies sources. |
78 |
-DISTUTILS_IN_SOURCE_BUILD=1 |
79 |
- |
80 |
-DOCS=( {CHANGES,README}.rst ) |
81 |
- |
82 |
-src_prepare() { |
83 |
- # apply distutils patches to the bundled distutils |
84 |
- pushd setuptools/_distutils >/dev/null || die |
85 |
- # TODO: distutils C++ patch? |
86 |
- eapply -p3 "${WORKDIR}/${CPY_PATCHSET}/0006-distutils-make-OO-enable-both-opt-1-and-opt-2-optimi.patch" |
87 |
- popd >/dev/null || die |
88 |
- |
89 |
- distutils-r1_src_prepare |
90 |
-} |
91 |
- |
92 |
-python_test() { |
93 |
- # keep in sync with python_gen_cond_dep above! |
94 |
- has "${EPYTHON}" python3.{8..10} pypy3 || continue |
95 |
- |
96 |
- distutils_install_for_testing |
97 |
- local deselect=( |
98 |
- # network |
99 |
- 'setuptools/tests/test_virtualenv.py::test_pip_upgrade_from_source[None]' |
100 |
- setuptools/tests/test_distutils_adoption.py |
101 |
- # TODO |
102 |
- setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts |
103 |
- ) |
104 |
- [[ ${EPYTHON} == pypy3 ]] && deselect+=( |
105 |
- setuptools/tests/test_develop.py::TestDevelop::test_2to3_user_mode |
106 |
- ) |
107 |
- |
108 |
- # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg |
109 |
- # It tries to sandbox the test in a tempdir |
110 |
- HOME="${PWD}" epytest ${deselect[@]/#/--deselect } \ |
111 |
- -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" \ |
112 |
- setuptools |
113 |
-} |
114 |
- |
115 |
-python_install() { |
116 |
- export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1 |
117 |
- distutils-r1_python_install |
118 |
-} |