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: Sun, 08 Mar 2020 08:25:27
Message-Id: 1583655899.fa4499a439171df574d25c8d0b974efb5abb588e.mgorny@gentoo
1 commit: fa4499a439171df574d25c8d0b974efb5abb588e
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 8 06:40:45 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 8 08:24:59 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa4499a4
7
8 dev-python/setuptools: Remove redundant versions
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/setuptools/Manifest | 2 -
13 dev-python/setuptools/setuptools-45.1.0.ebuild | 66 --------------------------
14 dev-python/setuptools/setuptools-45.2.0.ebuild | 63 ------------------------
15 3 files changed, 131 deletions(-)
16
17 diff --git a/dev-python/setuptools/Manifest b/dev-python/setuptools/Manifest
18 index 3a0d91dd808..2f241d29d3f 100644
19 --- a/dev-python/setuptools/Manifest
20 +++ b/dev-python/setuptools/Manifest
21 @@ -1,5 +1,3 @@
22 DIST setuptools-42.0.2.zip 858444 BLAKE2B 2b77dbeeb9a3b4138810a96fe7ac0a7800717b4b68d6e9db2d146ca176127d5bfd5e4ef07adfa98758f8c4d05396152ca08e1707caf3d91703c7b268bd291f28 SHA512 ab623fd69b92111d3ab19a3ad9de9c07b4316f4130f3db4068a436d3c13c971d97506f7307c9f64d9cc9ca24a5f3800b68748455e70418d0c0cd240c93ebae35
23 DIST setuptools-44.0.0.zip 858893 BLAKE2B 02ba2a838487ba9e80d9ca3b8598cecbec4d286f2734be439d2b73f3f7f0ca80e80ea71a0c2322093deb548503c82d6eb32b1585992979b053f14f49baa00baa SHA512 bb48e7763d258e654472bc416d16ec8708eefa95d1eb03cb6e81b623fd636cefc51a0bd67887084ab0214e256e2030a8f655184c3b59ad6937abab6a6178f3a1
24 -DIST setuptools-45.1.0.zip 859771 BLAKE2B 585ff16f57709c4e8c74fe51442a21e052be9de20e2d8c619ebb7435764297bde9223f1a1660b4101b33241d0d6c308f3ccf7cd2404caa3652334a6d314eb53f SHA512 0f08a9b3fad131a99c44d3cdced21b533a30b5f8fd25d4ce21263f14ca6ed6a6789969b67757ea67c62b9cc189155b08c886c3706ce9f2fd30bd5537e1a4a7e1
25 -DIST setuptools-45.2.0.zip 859896 BLAKE2B adc9ae0ebd6ec5c59b7541fa7cf2898f0b9082cdd9cb7ddb614d749deebda260da489890fae5da77c622d47dccdee14ac9d5bf3ddf4393ca43ff679bc726cea7 SHA512 0d1e1e5b4074bdf9b35515dc6d9b03476ebe48287f30ff81ebc23a4b6e12a9faabd6ced40642ca6c5f27030be0252f48f18e73eac3876a447b1c6d4320a50147
26 DIST setuptools-45.3.0.zip 862788 BLAKE2B ac2216a788db374bfe702ac11639dd850c2b947eed332067c0d923a135c9a0ba1760d56df6dd7b999ed42156d8b7a1898964d2ca0777d9e84593ae5eabcfd749 SHA512 9801f23c7e10712db0772b3d7365209df4e2a167feb5a6824809a258424a9220f65438f3087021e2484731091ea1cf3dd667308631dc8bff7807535cae528364
27
28 diff --git a/dev-python/setuptools/setuptools-45.1.0.ebuild b/dev-python/setuptools/setuptools-45.1.0.ebuild
29 deleted file mode 100644
30 index b3c6db3ab76..00000000000
31 --- a/dev-python/setuptools/setuptools-45.1.0.ebuild
32 +++ /dev/null
33 @@ -1,66 +0,0 @@
34 -# Copyright 1999-2020 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=7
38 -DISTUTILS_USE_SETUPTOOLS=no
39 -PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
40 -PYTHON_REQ_USE="xml(+)"
41 -
42 -inherit distutils-r1
43 -
44 -DESCRIPTION="Collection of extensions to Distutils"
45 -HOMEPAGE="https://github.com/pypa/setuptools https://pypi.org/project/setuptools/"
46 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
47 -
48 -LICENSE="MIT"
49 -SLOT="0"
50 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
51 -IUSE="test"
52 -RESTRICT="!test? ( test )"
53 -
54 -BDEPEND="
55 - app-arch/unzip
56 - test? (
57 - dev-python/mock[${PYTHON_USEDEP}]
58 - dev-python/pip[${PYTHON_USEDEP}]
59 - >=dev-python/pytest-3.7.0[${PYTHON_USEDEP}]
60 - dev-python/pytest-fixture-config[${PYTHON_USEDEP}]
61 - dev-python/pytest-virtualenv[${PYTHON_USEDEP}]
62 - dev-python/wheel[${PYTHON_USEDEP}]
63 - virtual/python-futures[${PYTHON_USEDEP}]
64 - )
65 -"
66 -PDEPEND="
67 - >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]"
68 -
69 -# Force in-source build because build system modifies sources.
70 -DISTUTILS_IN_SOURCE_BUILD=1
71 -
72 -DOCS=( {CHANGES,README}.rst docs/{easy_install.txt,pkg_resources.txt,setuptools.txt} )
73 -
74 -PATCHES=(
75 - # fix regression introduced by reinventing deprecated 'imp'
76 - # https://github.com/pypa/setuptools/pull/1905
77 - "${FILESDIR}"/setuptools-42.0.0-imp-fix.patch
78 -)
79 -
80 -python_prepare_all() {
81 - # disable tests requiring a network connection
82 - rm setuptools/tests/test_packageindex.py || die
83 -
84 - # don't run integration tests
85 - rm setuptools/tests/test_integration.py || die
86 -
87 - distutils-r1_python_prepare_all
88 -}
89 -
90 -python_test() {
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 ${PN} || 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-45.2.0.ebuild b/dev-python/setuptools/setuptools-45.2.0.ebuild
102 deleted file mode 100644
103 index e9378e5d2c3..00000000000
104 --- a/dev-python/setuptools/setuptools-45.2.0.ebuild
105 +++ /dev/null
106 @@ -1,63 +0,0 @@
107 -# Copyright 1999-2020 Gentoo Authors
108 -# Distributed under the terms of the GNU General Public License v2
109 -
110 -EAPI=7
111 -DISTUTILS_USE_SETUPTOOLS=no
112 -PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
113 -PYTHON_REQ_USE="xml(+)"
114 -
115 -inherit distutils-r1
116 -
117 -DESCRIPTION="Collection of extensions to Distutils"
118 -HOMEPAGE="https://github.com/pypa/setuptools https://pypi.org/project/setuptools/"
119 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
120 -
121 -LICENSE="MIT"
122 -SLOT="0"
123 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
124 -IUSE="test"
125 -RESTRICT="!test? ( test )"
126 -
127 -BDEPEND="
128 - app-arch/unzip
129 - test? (
130 - dev-python/mock[${PYTHON_USEDEP}]
131 - dev-python/pip[${PYTHON_USEDEP}]
132 - >=dev-python/pytest-3.7.0[${PYTHON_USEDEP}]
133 - dev-python/pytest-fixture-config[${PYTHON_USEDEP}]
134 - dev-python/pytest-virtualenv[${PYTHON_USEDEP}]
135 - dev-python/wheel[${PYTHON_USEDEP}]
136 - virtual/python-futures[${PYTHON_USEDEP}]
137 - )
138 -"
139 -PDEPEND="
140 - >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]"
141 -
142 -# Force in-source build because build system modifies sources.
143 -DISTUTILS_IN_SOURCE_BUILD=1
144 -
145 -DOCS=( {CHANGES,README}.rst docs/{easy_install.txt,pkg_resources.txt,setuptools.txt} )
146 -
147 -python_prepare_all() {
148 - # disable tests requiring a network connection
149 - rm setuptools/tests/test_packageindex.py || die
150 -
151 - # don't run integration tests
152 - rm setuptools/tests/test_integration.py || die
153 -
154 - # avoid pointless dep on flake8
155 - sed -i -e 's:--flake8::' pytest.ini || die
156 -
157 - distutils-r1_python_prepare_all
158 -}
159 -
160 -python_test() {
161 - # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg
162 - # It tries to sandbox the test in a tempdir
163 - HOME="${PWD}" pytest -vv ${PN} || die "Tests failed under ${EPYTHON}"
164 -}
165 -
166 -python_install() {
167 - export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1
168 - distutils-r1_python_install
169 -}