1 |
commit: 423c8dac474799f3f154951d637f97bbd2702dd8 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Mar 29 07:58:35 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 29 08:19:16 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=423c8dac |
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 | 1 - |
13 |
dev-python/setuptools/setuptools-42.0.2.ebuild | 79 -------------------------- |
14 |
2 files changed, 80 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/setuptools/Manifest b/dev-python/setuptools/Manifest |
17 |
index 500b69b91f3..2ae4c04ba44 100644 |
18 |
--- a/dev-python/setuptools/Manifest |
19 |
+++ b/dev-python/setuptools/Manifest |
20 |
@@ -1,4 +1,3 @@ |
21 |
-DIST setuptools-42.0.2.zip 858444 BLAKE2B 2b77dbeeb9a3b4138810a96fe7ac0a7800717b4b68d6e9db2d146ca176127d5bfd5e4ef07adfa98758f8c4d05396152ca08e1707caf3d91703c7b268bd291f28 SHA512 ab623fd69b92111d3ab19a3ad9de9c07b4316f4130f3db4068a436d3c13c971d97506f7307c9f64d9cc9ca24a5f3800b68748455e70418d0c0cd240c93ebae35 |
22 |
DIST setuptools-44.0.0.zip 858893 BLAKE2B 02ba2a838487ba9e80d9ca3b8598cecbec4d286f2734be439d2b73f3f7f0ca80e80ea71a0c2322093deb548503c82d6eb32b1585992979b053f14f49baa00baa SHA512 bb48e7763d258e654472bc416d16ec8708eefa95d1eb03cb6e81b623fd636cefc51a0bd67887084ab0214e256e2030a8f655184c3b59ad6937abab6a6178f3a1 |
23 |
DIST setuptools-44.1.0.zip 858569 BLAKE2B f59f154e121502a731e51294ccd293d60ffccadacf51e23b53bf7ceba38858948b86783238061136c827ac3373ea7ea8e6253d4bb53f3f1dd69284568ec65a68 SHA512 4dfb0f42d334b835758e865a26ecd1e725711fa2b9c38ddc273b8b3849fba04527bc97436d11ba1e98f1a42922aa0f0b9032e32998273c705fac6e10735eacbf |
24 |
DIST setuptools-45.3.0.zip 862788 BLAKE2B ac2216a788db374bfe702ac11639dd850c2b947eed332067c0d923a135c9a0ba1760d56df6dd7b999ed42156d8b7a1898964d2ca0777d9e84593ae5eabcfd749 SHA512 9801f23c7e10712db0772b3d7365209df4e2a167feb5a6824809a258424a9220f65438f3087021e2484731091ea1cf3dd667308631dc8bff7807535cae528364 |
25 |
|
26 |
diff --git a/dev-python/setuptools/setuptools-42.0.2.ebuild b/dev-python/setuptools/setuptools-42.0.2.ebuild |
27 |
deleted file mode 100644 |
28 |
index c76c9bb8ee1..00000000000 |
29 |
--- a/dev-python/setuptools/setuptools-42.0.2.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,79 +0,0 @@ |
32 |
-# Copyright 1999-2020 Gentoo Authors |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=7 |
36 |
-DISTUTILS_USE_SETUPTOOLS=no |
37 |
-PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 ) |
38 |
-PYTHON_REQ_USE="xml(+)" |
39 |
- |
40 |
-inherit distutils-r1 |
41 |
- |
42 |
-if [[ ${PV} == "9999" ]]; then |
43 |
- EGIT_REPO_URI="https://github.com/pypa/setuptools.git" |
44 |
- inherit git-r3 |
45 |
-else |
46 |
- SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" |
47 |
- 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 ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
48 |
-fi |
49 |
- |
50 |
-DESCRIPTION="Collection of extensions to Distutils" |
51 |
-HOMEPAGE="https://github.com/pypa/setuptools https://pypi.org/project/setuptools/" |
52 |
- |
53 |
-LICENSE="MIT" |
54 |
-SLOT="0" |
55 |
-IUSE="test" |
56 |
-RESTRICT="!test? ( test )" |
57 |
- |
58 |
-BDEPEND=" |
59 |
- app-arch/unzip |
60 |
- test? ( |
61 |
- dev-python/mock[${PYTHON_USEDEP}] |
62 |
- dev-python/pip[${PYTHON_USEDEP}] |
63 |
- >=dev-python/pytest-3.7.0[${PYTHON_USEDEP}] |
64 |
- dev-python/pytest-fixture-config[${PYTHON_USEDEP}] |
65 |
- dev-python/pytest-virtualenv[${PYTHON_USEDEP}] |
66 |
- dev-python/wheel[${PYTHON_USEDEP}] |
67 |
- $(python_gen_cond_dep ' |
68 |
- dev-python/futures[${PYTHON_USEDEP}] |
69 |
- ' -2) |
70 |
- ) |
71 |
-" |
72 |
-PDEPEND=" |
73 |
- >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]" |
74 |
- |
75 |
-# Force in-source build because build system modifies sources. |
76 |
-DISTUTILS_IN_SOURCE_BUILD=1 |
77 |
- |
78 |
-DOCS=( {CHANGES,README}.rst docs/{easy_install.txt,pkg_resources.txt,setuptools.txt} ) |
79 |
- |
80 |
-PATCHES=( |
81 |
- # fix regression introduced by reinventing deprecated 'imp' |
82 |
- # https://github.com/pypa/setuptools/pull/1905 |
83 |
- "${FILESDIR}"/setuptools-42.0.0-imp-fix.patch |
84 |
-) |
85 |
- |
86 |
-python_prepare_all() { |
87 |
- if [[ ${PV} == "9999" ]]; then |
88 |
- python_setup |
89 |
- ${EPYTHON} bootstrap.py || die |
90 |
- fi |
91 |
- |
92 |
- # disable tests requiring a network connection |
93 |
- rm setuptools/tests/test_packageindex.py || die |
94 |
- |
95 |
- # don't run integration tests |
96 |
- rm setuptools/tests/test_integration.py || die |
97 |
- |
98 |
- distutils-r1_python_prepare_all |
99 |
-} |
100 |
- |
101 |
-python_test() { |
102 |
- # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg |
103 |
- # It tries to sandbox the test in a tempdir |
104 |
- HOME="${PWD}" pytest -vv ${PN} || die "Tests failed under ${EPYTHON}" |
105 |
-} |
106 |
- |
107 |
-python_install() { |
108 |
- export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1 |
109 |
- distutils-r1_python_install |
110 |
-} |