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