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/setuptools/
Date: Fri, 25 Jun 2021 06:53:28
Message-Id: 1624603987.33e7e95ad9f2e676e856c714d3eb722e1733d261.mgorny@gentoo
1 commit: 33e7e95ad9f2e676e856c714d3eb722e1733d261
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jun 25 05:16:56 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 25 06:53:07 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33e7e95a
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 | 2 -
13 dev-python/setuptools/setuptools-56.0.0.ebuild | 68 -----------------------
14 dev-python/setuptools/setuptools-56.2.0.ebuild | 76 --------------------------
15 3 files changed, 146 deletions(-)
16
17 diff --git a/dev-python/setuptools/Manifest b/dev-python/setuptools/Manifest
18 index 710d84b85fb..dde946c5829 100644
19 --- a/dev-python/setuptools/Manifest
20 +++ b/dev-python/setuptools/Manifest
21 @@ -1,3 +1 @@
22 -DIST setuptools-56.0.0.tar.gz 2054762 BLAKE2B 3fc0f47304109f765ff0f8430dae735005d508aaa79609c5ca08217eb3802014267bd0f1a4f4678b417143f0d22b4b27f166573e41685229e0d4491b1789713d SHA512 951d43a0192b9dddacd7bd7ff6b76e281c14071771096db3c413fde6ea67b0c534f17a770cb3464cd3a6a4e8145b82f4cf5c0228e76e6f2cefe88d33748816e9
23 -DIST setuptools-56.2.0.tar.gz 2110133 BLAKE2B 90c75ba006becc9f564eecd7d46a9ce70c9ad17eacf2e17b3551116b962e08af0084919fccc18ec29a54b98e8fe2419d129554a7b38fdd1104f472fb2e6f9995 SHA512 858d46909335ff0b0441d5860788803100a8fe9f5a1d1f17353bf961bc77191c3237501c1838fdb6ec8e4b2c66874ffd4e8342b42cc2673cb866706660704ea6
24 DIST setuptools-57.0.0.tar.gz 2144749 BLAKE2B e1fc99503ee5de425b70bf2733b1c489693e38cd256bf95cb321671bdaf87745eaaf40c43bcd03756a4cefa408dd1414f8c30af274963e3a0ae57f7b95d3f9c0 SHA512 5277d8630367d6b16a49e36ed84d8cc6abfaedf87dac3f795b204626a8f15ca9fd80d158a465d8bcabe9c074c76b87c3378d82a4ba5feee1ac6a5f2c91db061e
25
26 diff --git a/dev-python/setuptools/setuptools-56.0.0.ebuild b/dev-python/setuptools/setuptools-56.0.0.ebuild
27 deleted file mode 100644
28 index eb7a4adbdae..00000000000
29 --- a/dev-python/setuptools/setuptools-56.0.0.ebuild
30 +++ /dev/null
31 @@ -1,68 +0,0 @@
32 -# Copyright 1999-2021 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -# Set to 'manual' to avoid triggering install QA check
37 -DISTUTILS_USE_SETUPTOOLS=manual
38 -PYTHON_COMPAT=( python3_{7..9} pypy3 )
39 -PYTHON_REQ_USE="xml(+)"
40 -
41 -inherit distutils-r1 multiprocessing
42 -
43 -DESCRIPTION="Collection of extensions to Distutils"
44 -HOMEPAGE="https://github.com/pypa/setuptools https://pypi.org/project/setuptools/"
45 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
46 -
47 -LICENSE="MIT"
48 -SLOT="0"
49 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos"
50 -
51 -BDEPEND="
52 - test? (
53 - dev-python/jaraco-envs[${PYTHON_USEDEP}]
54 - >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}]
55 - dev-python/mock[${PYTHON_USEDEP}]
56 - dev-python/pip[${PYTHON_USEDEP}]
57 - dev-python/sphinx[${PYTHON_USEDEP}]
58 - dev-python/pytest-fixture-config[${PYTHON_USEDEP}]
59 - dev-python/pytest-virtualenv[${PYTHON_USEDEP}]
60 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
61 - >=dev-python/virtualenv-20[${PYTHON_USEDEP}]
62 - dev-python/wheel[${PYTHON_USEDEP}]
63 - )
64 -"
65 -PDEPEND="
66 - >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]
67 - dev-python/setuptools_scm[${PYTHON_USEDEP}]"
68 -
69 -distutils_enable_tests pytest
70 -
71 -# Force in-source build because build system modifies sources.
72 -DISTUTILS_IN_SOURCE_BUILD=1
73 -
74 -DOCS=( {CHANGES,README}.rst )
75 -
76 -python_test() {
77 - distutils_install_for_testing --via-root
78 - local deselect=(
79 - # network
80 - 'setuptools/tests/test_virtualenv.py::test_pip_upgrade_from_source[None]'
81 - setuptools/tests/test_distutils_adoption.py
82 - # TODO
83 - setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts
84 - # this one's unhappy about pytest-xdist but one test is not worth
85 - # losing the speed gain
86 - setuptools/tests/test_build_meta.py::TestBuildMetaBackend::test_build_sdist_relative_path_import
87 - )
88 -
89 - # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg
90 - # It tries to sandbox the test in a tempdir
91 - HOME="${PWD}" pytest -vv ${deselect[@]/#/--deselect } \
92 - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" \
93 - setuptools || die "Tests failed under ${EPYTHON}"
94 -}
95 -
96 -python_install() {
97 - export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1
98 - distutils-r1_python_install
99 -}
100
101 diff --git a/dev-python/setuptools/setuptools-56.2.0.ebuild b/dev-python/setuptools/setuptools-56.2.0.ebuild
102 deleted file mode 100644
103 index 77c8325733a..00000000000
104 --- a/dev-python/setuptools/setuptools-56.2.0.ebuild
105 +++ /dev/null
106 @@ -1,76 +0,0 @@
107 -# Copyright 1999-2021 Gentoo Authors
108 -# Distributed under the terms of the GNU General Public License v2
109 -
110 -EAPI=7
111 -# Set to 'manual' to avoid triggering install QA check
112 -DISTUTILS_USE_SETUPTOOLS=manual
113 -PYTHON_COMPAT=( python3_{7..10} pypy3 )
114 -PYTHON_REQ_USE="xml(+)"
115 -
116 -inherit distutils-r1 multiprocessing
117 -
118 -DESCRIPTION="Collection of extensions to Distutils"
119 -HOMEPAGE="https://github.com/pypa/setuptools https://pypi.org/project/setuptools/"
120 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
121 -
122 -LICENSE="MIT"
123 -SLOT="0"
124 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
125 -IUSE="test"
126 -RESTRICT="!test? ( test )"
127 -
128 -BDEPEND="
129 - test? (
130 - $(python_gen_cond_dep '
131 - dev-python/jaraco-envs[${PYTHON_USEDEP}]
132 - >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}]
133 - dev-python/mock[${PYTHON_USEDEP}]
134 - dev-python/pip[${PYTHON_USEDEP}]
135 - dev-python/sphinx[${PYTHON_USEDEP}]
136 - dev-python/pytest[${PYTHON_USEDEP}]
137 - dev-python/pytest-fixture-config[${PYTHON_USEDEP}]
138 - dev-python/pytest-virtualenv[${PYTHON_USEDEP}]
139 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
140 - >=dev-python/virtualenv-20[${PYTHON_USEDEP}]
141 - dev-python/wheel[${PYTHON_USEDEP}]
142 - ' python3_{7..9} pypy3)
143 - )
144 -"
145 -PDEPEND="
146 - >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]
147 - $(python_gen_cond_dep '
148 - dev-python/setuptools_scm[${PYTHON_USEDEP}]
149 - ' python3_{7..9} pypy3)"
150 -
151 -# Force in-source build because build system modifies sources.
152 -DISTUTILS_IN_SOURCE_BUILD=1
153 -
154 -DOCS=( {CHANGES,README}.rst )
155 -
156 -python_test() {
157 - # temporarily skipped, until we port all test deps
158 - [[ ${EPYTHON} == python3.10 ]] && continue
159 -
160 - distutils_install_for_testing --via-root
161 - local deselect=(
162 - # network
163 - 'setuptools/tests/test_virtualenv.py::test_pip_upgrade_from_source[None]'
164 - setuptools/tests/test_distutils_adoption.py
165 - # TODO
166 - setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts
167 - )
168 - [[ ${EPYTHON} == pypy3 ]] && deselect+=(
169 - setuptools/tests/test_develop.py::TestDevelop::test_2to3_user_mode
170 - )
171 -
172 - # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg
173 - # It tries to sandbox the test in a tempdir
174 - HOME="${PWD}" epytest ${deselect[@]/#/--deselect } \
175 - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" \
176 - setuptools
177 -}
178 -
179 -python_install() {
180 - export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1
181 - distutils-r1_python_install
182 -}