Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/setuptools/
Date: Thu, 03 Nov 2022 19:34:48
Message-Id: 1667504082.1ede2685f87f16a28abd8e496fa5b26f063182aa.arthurzam@gentoo
1 commit: 1ede2685f87f16a28abd8e496fa5b26f063182aa
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Thu Nov 3 19:34:42 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 3 19:34:42 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ede2685
7
8 dev-python/setuptools: drop 65.3.0
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 dev-python/setuptools/Manifest | 1 -
13 dev-python/setuptools/setuptools-65.3.0.ebuild | 127 -------------------------
14 2 files changed, 128 deletions(-)
15
16 diff --git a/dev-python/setuptools/Manifest b/dev-python/setuptools/Manifest
17 index f753a4ee3c2d..3200aa86c41c 100644
18 --- a/dev-python/setuptools/Manifest
19 +++ b/dev-python/setuptools/Manifest
20 @@ -1,3 +1,2 @@
21 -DIST setuptools-65.3.0.tar.gz 2615722 BLAKE2B 1344fe17c1c2a4ec60dbf37b3e1cbad56bb5299bed9f8e30a21015f2457e1e90d6782369dfc2d804973e7348d22a356ec0ef75d1aeabba7d77e20e5ddf36e576 SHA512 3c173b1e1a8dbbed0bf3bf600df1256aeabf1b9dec34d5f5d0b1429b0fe16f2aa61fa6c4f400a5b6da24b9d679954866b76e019130bcf2246b138fe017025de9
22 DIST setuptools-65.4.1.tar.gz 2615710 BLAKE2B 12e644412c7f910a8bf6fb470e0c7e78bcd11a9403d7d0821eecad156d0a4ed03751de6bd6c51ebc2ce1c0925386120971c0da129ebd7e1b8376feee1f8edc7e SHA512 d13253bb556380b1b45d4b51dc7922b0cffa390ba92d97ccbc43c314aceccdcf51ee8b5c751cf6f36c6c8955836bc248214d55fe7419ff0332719862772f0f95
23 DIST setuptools-65.5.0.tar.gz 2616463 BLAKE2B b2f4ea3750a6ebd2d83a99e2c6beaccebf2c167dac23c901937fecb3fff9891c8c2cf4f150281c00656d2057c89ede80a7b47c73c783b268c91a3700426fd66d SHA512 5f65765a2971662ef4864473d7b54d7d5357fba2b6e9369f1b7923ef5466463852a714e6ee0b6581835c1524069cdfefd907cc65681c7f2b73c6ef278bff6228
24
25 diff --git a/dev-python/setuptools/setuptools-65.3.0.ebuild b/dev-python/setuptools/setuptools-65.3.0.ebuild
26 deleted file mode 100644
27 index ca559b896870..000000000000
28 --- a/dev-python/setuptools/setuptools-65.3.0.ebuild
29 +++ /dev/null
30 @@ -1,127 +0,0 @@
31 -# Copyright 1999-2022 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 -# please bump dev-python/ensurepip-setuptools along with this package!
38 -
39 -DISTUTILS_USE_PEP517=standalone
40 -PYTHON_TESTED=( python3_{8..11} pypy3 )
41 -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" )
42 -PYTHON_REQ_USE="xml(+)"
43 -
44 -inherit distutils-r1 multiprocessing
45 -
46 -DESCRIPTION="Collection of extensions to Distutils"
47 -HOMEPAGE="
48 - https://github.com/pypa/setuptools/
49 - https://pypi.org/project/setuptools/
50 -"
51 -SRC_URI="
52 - mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
53 -"
54 -
55 -LICENSE="MIT"
56 -SLOT="0"
57 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos ~x64-solaris"
58 -IUSE="test"
59 -RESTRICT="!test? ( test )"
60 -
61 -RDEPEND="
62 - >=dev-python/appdirs-1.4.4-r2[${PYTHON_USEDEP}]
63 - >=dev-python/jaraco-text-3.7.0-r1[${PYTHON_USEDEP}]
64 - >=dev-python/more-itertools-8.12.0-r1[${PYTHON_USEDEP}]
65 - >=dev-python/nspektr-0.3.0[${PYTHON_USEDEP}]
66 - >=dev-python/ordered-set-4.0.2-r1[${PYTHON_USEDEP}]
67 - >=dev-python/packaging-21.3-r2[${PYTHON_USEDEP}]
68 - >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}]
69 - $(python_gen_cond_dep '
70 - >=dev-python/importlib_metadata-4.11.1[${PYTHON_USEDEP}]
71 - ' 3.8 3.9)
72 - $(python_gen_cond_dep '
73 - >=dev-python/importlib_resources-5.4.0-r3[${PYTHON_USEDEP}]
74 - ' 3.8)
75 -"
76 -BDEPEND="
77 - ${RDEPEND}
78 - >=dev-python/wheel-0.37.1-r1[${PYTHON_USEDEP}]
79 - test? (
80 - $(python_gen_cond_dep '
81 - dev-python/build[${PYTHON_USEDEP}]
82 - >=dev-python/ini2toml-0.9[${PYTHON_USEDEP}]
83 - >=dev-python/filelock-3.4.0[${PYTHON_USEDEP}]
84 - >=dev-python/jaraco-envs-2.2[${PYTHON_USEDEP}]
85 - >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}]
86 - dev-python/mock[${PYTHON_USEDEP}]
87 - dev-python/pip[${PYTHON_USEDEP}]
88 - dev-python/pip-run[${PYTHON_USEDEP}]
89 - dev-python/pytest[${PYTHON_USEDEP}]
90 - dev-python/pytest-fixture-config[${PYTHON_USEDEP}]
91 - dev-python/pytest-virtualenv[${PYTHON_USEDEP}]
92 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
93 - >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}]
94 - >=dev-python/virtualenv-20[${PYTHON_USEDEP}]
95 - dev-python/wheel[${PYTHON_USEDEP}]
96 - ' "${PYTHON_TESTED[@]}")
97 - )
98 -"
99 -PDEPEND="
100 - >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]
101 - dev-python/setuptools_scm[${PYTHON_USEDEP}]
102 -"
103 -
104 -DOCS=( {CHANGES,README}.rst )
105 -
106 -src_prepare() {
107 - local PATCHES=(
108 - # TODO: remove this when we're 100% PEP517 mode
109 - "${FILESDIR}"/setuptools-62.4.0-py-compile.patch
110 - )
111 -
112 - # remove bundled dependencies, setuptools will switch to system deps
113 - # automatically
114 - rm -r */_vendor || die
115 -
116 - # remove the ugly */extern hack that breaks on unvendored deps
117 - rm -r */extern || die
118 - find -name '*.py' -exec sed \
119 - -e 's:from \w*[.]\+extern ::' -e 's:\w*[.]\+extern[.]::' \
120 - -i {} + || die
121 -
122 - distutils-r1_src_prepare
123 -
124 - export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
125 -}
126 -
127 -python_test() {
128 - local -x SETUPTOOLS_USE_DISTUTILS=stdlib
129 -
130 - if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then
131 - return
132 - fi
133 -
134 - local EPYTEST_DESELECT=(
135 - # network
136 - # TODO: see if PRE_BUILT_SETUPTOOLS_* helps
137 - setuptools/tests/config/test_apply_pyprojecttoml.py::test_apply_pyproject_equivalent_to_setupcfg
138 - setuptools/tests/integration/test_pip_install_sdist.py::test_install_sdist
139 - setuptools/tests/test_build_meta.py::test_legacy_editable_install
140 - setuptools/tests/test_distutils_adoption.py
141 - setuptools/tests/test_editable_install.py
142 - setuptools/tests/test_setuptools.py::test_its_own_wheel_does_not_contain_tests
143 - setuptools/tests/test_virtualenv.py::test_clean_env_install
144 - setuptools/tests/test_virtualenv.py::test_no_missing_dependencies
145 - setuptools/tests/test_virtualenv.py::test_test_command_install_requirements
146 - # TODO
147 - setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_basic
148 - setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_ignore_errors
149 - setuptools/tests/test_extern.py::test_distribution_picklable
150 - # expects bundled deps in virtualenv
151 - setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_in_sdist
152 - setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_not_in_wheel
153 - setuptools/tests/test_editable_install.py::test_editable_with_pyproject
154 - )
155 -
156 - epytest -n "$(makeopts_jobs)" setuptools
157 -}