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: Sat, 05 Feb 2022 22:17:55
Message-Id: 1644099462.1b61582d000593a4280fa281c97780a317140808.mgorny@gentoo
1 commit: 1b61582d000593a4280fa281c97780a317140808
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 5 20:44:08 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 5 22:17:42 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b61582d
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-59.8.0.ebuild | 87 --------------------------
14 2 files changed, 88 deletions(-)
15
16 diff --git a/dev-python/setuptools/Manifest b/dev-python/setuptools/Manifest
17 index cf71e608c296..6fc5eef71e76 100644
18 --- a/dev-python/setuptools/Manifest
19 +++ b/dev-python/setuptools/Manifest
20 @@ -1,4 +1,3 @@
21 DIST python-gentoo-patches-3.10.0_p1.tar.xz 10068 BLAKE2B 1c9817b449831559f0a0b722c02a5f55d94b3dfde98e5882c1403fe24a4addf7074ab39c09b91cff6fd7ace2e4b6e8ed899d9a0b9ffd6612ce315c4c192bd309 SHA512 39aa41dbf17b6dc5255491c75031a3dae6962b44125e426dbfdce365a6533c5dae9856b1fff8016a189124b7cff72d2665ce99da344c2f9dff005ba685e8c2c4
22 -DIST setuptools-59.8.0.tar.gz 2282358 BLAKE2B 2f1b49285fc70420e24f958c4955200ef0407a7f3aa52fd581a165fd47c7bbde8366c26963f1bbb36f0f77797c12cbb9016fdc69e1a5cc696bb67aacca16d140 SHA512 d906558b498bda8abf28831224502c6f0290a4cdbf087fe07af8321dba3dfd1e19fa5b4a820033e54c4561b82ea8ec54c287b4fd657892ed28c2a7de91a9107e
23 DIST setuptools-60.5.0.tar.gz 2292478 BLAKE2B e41b2717b34d454b3959ee5b6f4fdc70dfec13d97fe6962bd1c1ea2296be8ee2d27bb14ed2cc5e6fb9a757661a0415984b3cf7cf1665347c62a50965f651f9d4 SHA512 b2cf7d99e60d0c862a7a4fd8e806019db52502de48ff77556df26ce39a8620f476de767e2e8be8aa260366f54d1429db8a42d538345ec2cd2cfd5286e62e770d
24 DIST setuptools-60.7.1.tar.gz 2358541 BLAKE2B b48443b95cbd3891ec93d743eb4177302df6742624ea97a97779dd3f101c089ed38ba41d2ff65d35d7e3646d50e62111ecbdd23da9a45cab956006c38d1a42d0 SHA512 cf04353ffc2b1ca30fb219f00265eb6f89330f5489e57997d6975725a19b1e037ab02b9b74a8fcdc84a6234349cfc64855ae57535e0faa46ce4b280a364bb862
25
26 diff --git a/dev-python/setuptools/setuptools-59.8.0.ebuild b/dev-python/setuptools/setuptools-59.8.0.ebuild
27 deleted file mode 100644
28 index 30b1a68ec224..000000000000
29 --- a/dev-python/setuptools/setuptools-59.8.0.ebuild
30 +++ /dev/null
31 @@ -1,87 +0,0 @@
32 -# Copyright 1999-2022 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -# please keep this ebuild at EAPI 7 -- sys-apps/portage dep
36 -EAPI=7
37 -
38 -# Set to 'manual' to avoid triggering install QA check
39 -DISTUTILS_USE_SETUPTOOLS=manual
40 -PYTHON_COMPAT=( python3_{8..10} pypy3 )
41 -PYTHON_REQ_USE="xml(+)"
42 -
43 -inherit distutils-r1 multiprocessing
44 -
45 -CPY_PATCHSET="python-gentoo-patches-3.10.0_p1"
46 -DESCRIPTION="Collection of extensions to Distutils"
47 -HOMEPAGE="https://github.com/pypa/setuptools https://pypi.org/project/setuptools/"
48 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
49 - https://dev.gentoo.org/~floppym/python/${CPY_PATCHSET}.tar.xz"
50 -
51 -LICENSE="MIT"
52 -SLOT="0"
53 -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"
54 -IUSE="test"
55 -RESTRICT="!test? ( test )"
56 -
57 -BDEPEND="
58 - test? (
59 - $(python_gen_cond_dep '
60 - dev-python/jaraco-envs[${PYTHON_USEDEP}]
61 - >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}]
62 - dev-python/mock[${PYTHON_USEDEP}]
63 - dev-python/pip[${PYTHON_USEDEP}]
64 - dev-python/sphinx[${PYTHON_USEDEP}]
65 - dev-python/pytest[${PYTHON_USEDEP}]
66 - dev-python/pytest-fixture-config[${PYTHON_USEDEP}]
67 - dev-python/pytest-virtualenv[${PYTHON_USEDEP}]
68 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
69 - >=dev-python/virtualenv-20[${PYTHON_USEDEP}]
70 - dev-python/wheel[${PYTHON_USEDEP}]
71 - ' python3_{8..10} pypy3)
72 - )
73 -"
74 -PDEPEND="
75 - >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]
76 - dev-python/setuptools_scm[${PYTHON_USEDEP}]"
77 -
78 -# Force in-source build because build system modifies sources.
79 -DISTUTILS_IN_SOURCE_BUILD=1
80 -
81 -DOCS=( {CHANGES,README}.rst )
82 -
83 -src_prepare() {
84 - # apply distutils patches to the bundled distutils
85 - pushd setuptools/_distutils >/dev/null || die
86 - # TODO: distutils C++ patch?
87 - eapply -p3 "${WORKDIR}/${CPY_PATCHSET}/0006-distutils-make-OO-enable-both-opt-1-and-opt-2-optimi.patch"
88 - popd >/dev/null || die
89 -
90 - distutils-r1_src_prepare
91 -}
92 -
93 -python_test() {
94 - # keep in sync with python_gen_cond_dep above!
95 - has "${EPYTHON}" python3.{8..10} pypy3 || continue
96 -
97 - distutils_install_for_testing
98 - local EPYTEST_DESELECT=(
99 - # network
100 - setuptools/tests/test_distutils_adoption.py
101 - 'setuptools/tests/test_virtualenv.py::test_pip_upgrade_from_source[None]'
102 - # unhappy with pytest-xdist?
103 - setuptools/tests/test_easy_install.py::TestUserInstallTest::test_local_index
104 - # TODO
105 - setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts
106 - setuptools/tests/test_test.py::test_tests_are_run_once
107 - )
108 -
109 - # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg
110 - # It tries to sandbox the test in a tempdir
111 - HOME="${PWD}" epytest \
112 - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" setuptools
113 -}
114 -
115 -python_install() {
116 - export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1
117 - distutils-r1_python_install
118 -}