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, 09 Feb 2019 08:48:15
Message-Id: 1549702083.1f00f5da4b0c0dbfcacd47d275e1849311d294b9.mgorny@gentoo
1 commit: 1f00f5da4b0c0dbfcacd47d275e1849311d294b9
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 9 07:38:22 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 9 08:48:03 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f00f5da
7
8 dev-python/setuptools: Drop 40.7.[12]
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/setuptools/Manifest | 2 -
13 dev-python/setuptools/setuptools-40.7.1.ebuild | 71 --------------------------
14 dev-python/setuptools/setuptools-40.7.2.ebuild | 71 --------------------------
15 3 files changed, 144 deletions(-)
16
17 diff --git a/dev-python/setuptools/Manifest b/dev-python/setuptools/Manifest
18 index 54fb7a5f4b7..bacd94767ea 100644
19 --- a/dev-python/setuptools/Manifest
20 +++ b/dev-python/setuptools/Manifest
21 @@ -1,6 +1,4 @@
22 DIST setuptools-36.7.2.zip 726758 BLAKE2B 8821d3142f2149fbdea4d231052c3990fa7a14c57c421309683c6a65102ce4911850acd5d492087aa0f14a0026da732e47eb9bf971030443fc1b57f9f909aaaa SHA512 746dce135dbacb65565787a20a2611388605e2371c94f0f8803e7712e515e69c270751d16a21f381bf6e8ddc0a1b39494db7d0c67bb32e6230a90c5d517e78f9
23 DIST setuptools-40.6.3.zip 839328 BLAKE2B ddc87213439ce2ad96ba54218bd5b3e41a7c31d670bddb9e4ea058b8ee7dffbe6fcb0e5fd24baf3fb38f5e824fde36aa8dc1e09d7ac37f9375ee351406389cd6 SHA512 6c628b8fc67645bca96ddcd016ec9a685e91690bf98dff077e842cfbd0d8d24de76ac51b3ff238d31551a48819d8f694fee6e9bb422ca954e54c22b4bda0038c
24 -DIST setuptools-40.7.1.zip 842768 BLAKE2B 1065487540517c1cac6332c0c089b572e04b22dff5308676be2e97a949ff2a85251ecf862284d09718dc69ad611cf1cca6b70c425f210f870a5d1ec1c583fe75 SHA512 384d38afa56409f828cf26443271514feaf82b1d9d99a4a0bb4a9004f9b7a262a0d5ae48905e808381074e948988417e3f7e81a84dcd09359f9185a2305f8cac
25 -DIST setuptools-40.7.2.zip 842780 BLAKE2B 40cec9b402393768dc5406021a23066ea9632dd744d4d7ac9048c5ea29df3bc69748779dc0d29fc1ef78b79a7106bfe7207fda536dfb9fd0fb4dccac27e61b52 SHA512 f3e2fd9c3712297ac07a93043334854d3c5d8bee6e5685dc0a2d2dbf1a44831a0b818e5a72e5b5c35b8a25db6886cd3cc3430836a5f444c6fbc9aad4a6b5e5f3
26 DIST setuptools-40.7.3.zip 842920 BLAKE2B 53b5845f157d088fa0848384770f185b2daf8f1bc0304e8d5ab3eb5cae44a42133e7cf2f655e95be351733760ed401d55e3717c4a1257c77644796c08cbe67f6 SHA512 fb61e4d7ae620684b128bd60112938a4a9721a82ed3aa4daa774837a2db60e989d608ce2ba7f51393f412b78244d6f4c8f1025416b137d8ce01a2c0375ffec65
27 DIST setuptools-40.8.0.zip 845071 BLAKE2B a76b92a7e3a5cd87d74f3ff5f49fe4c6b2a1f0c5cc3b04219f6f773585be479ec5d092185129ada1fe5c5ef62714687beb3a316a6d50b559e9224aed468aef24 SHA512 f14976a76bff74b7494d44fcfffa511de0d142b4d308fcbf87b34c31c51491102e152acc11a383c5f6b693d1b18eb119c5186ca23deb12b2bbf186794b062868
28
29 diff --git a/dev-python/setuptools/setuptools-40.7.1.ebuild b/dev-python/setuptools/setuptools-40.7.1.ebuild
30 deleted file mode 100644
31 index d67bd927712..00000000000
32 --- a/dev-python/setuptools/setuptools-40.7.1.ebuild
33 +++ /dev/null
34 @@ -1,71 +0,0 @@
35 -# Copyright 1999-2019 Gentoo Authors
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=7
39 -PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy{,3} )
40 -PYTHON_REQ_USE="xml(+)"
41 -
42 -inherit distutils-r1
43 -
44 -if [[ ${PV} == "9999" ]]; then
45 - EGIT_REPO_URI="https://github.com/pypa/setuptools.git"
46 - inherit git-r3
47 -else
48 - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
49 - KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
50 -fi
51 -
52 -DESCRIPTION="Collection of extensions to Distutils"
53 -HOMEPAGE="https://github.com/pypa/setuptools https://pypi.org/project/setuptools/"
54 -
55 -LICENSE="MIT"
56 -SLOT="0"
57 -IUSE="test"
58 -
59 -RDEPEND="
60 -"
61 -DEPEND="${RDEPEND}
62 - app-arch/unzip
63 - test? (
64 - dev-python/mock[${PYTHON_USEDEP}]
65 - dev-python/pip[${PYTHON_USEDEP}]
66 - >=dev-python/pytest-3.7.0[${PYTHON_USEDEP}]
67 - <dev-python/pytest-4
68 - dev-python/pytest-virtualenv[${PYTHON_USEDEP}]
69 - dev-python/wheel[${PYTHON_USEDEP}]
70 - virtual/python-futures[${PYTHON_USEDEP}]
71 - )
72 -"
73 -PDEPEND="
74 - >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]"
75 -
76 -# Force in-source build because build system modifies sources.
77 -DISTUTILS_IN_SOURCE_BUILD=1
78 -
79 -DOCS=( {CHANGES,README}.rst docs/{easy_install.txt,pkg_resources.txt,setuptools.txt} )
80 -
81 -python_prepare_all() {
82 - if [[ ${PV} == "9999" ]]; then
83 - python_setup
84 - ${EPYTHON} bootstrap.py || die
85 - fi
86 -
87 - # disable tests requiring a network connection
88 - rm setuptools/tests/test_packageindex.py || die
89 -
90 - # don't run integration tests
91 - rm setuptools/tests/test_integration.py || die
92 -
93 - distutils-r1_python_prepare_all
94 -}
95 -
96 -python_test() {
97 - # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg
98 - # It tries to sandbox the test in a tempdir
99 - HOME="${PWD}" pytest -vv ${PN} || die "Tests failed under ${EPYTHON}"
100 -}
101 -
102 -python_install() {
103 - export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1
104 - distutils-r1_python_install
105 -}
106
107 diff --git a/dev-python/setuptools/setuptools-40.7.2.ebuild b/dev-python/setuptools/setuptools-40.7.2.ebuild
108 deleted file mode 100644
109 index d67bd927712..00000000000
110 --- a/dev-python/setuptools/setuptools-40.7.2.ebuild
111 +++ /dev/null
112 @@ -1,71 +0,0 @@
113 -# Copyright 1999-2019 Gentoo Authors
114 -# Distributed under the terms of the GNU General Public License v2
115 -
116 -EAPI=7
117 -PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy{,3} )
118 -PYTHON_REQ_USE="xml(+)"
119 -
120 -inherit distutils-r1
121 -
122 -if [[ ${PV} == "9999" ]]; then
123 - EGIT_REPO_URI="https://github.com/pypa/setuptools.git"
124 - inherit git-r3
125 -else
126 - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
127 - KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
128 -fi
129 -
130 -DESCRIPTION="Collection of extensions to Distutils"
131 -HOMEPAGE="https://github.com/pypa/setuptools https://pypi.org/project/setuptools/"
132 -
133 -LICENSE="MIT"
134 -SLOT="0"
135 -IUSE="test"
136 -
137 -RDEPEND="
138 -"
139 -DEPEND="${RDEPEND}
140 - app-arch/unzip
141 - test? (
142 - dev-python/mock[${PYTHON_USEDEP}]
143 - dev-python/pip[${PYTHON_USEDEP}]
144 - >=dev-python/pytest-3.7.0[${PYTHON_USEDEP}]
145 - <dev-python/pytest-4
146 - dev-python/pytest-virtualenv[${PYTHON_USEDEP}]
147 - dev-python/wheel[${PYTHON_USEDEP}]
148 - virtual/python-futures[${PYTHON_USEDEP}]
149 - )
150 -"
151 -PDEPEND="
152 - >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]"
153 -
154 -# Force in-source build because build system modifies sources.
155 -DISTUTILS_IN_SOURCE_BUILD=1
156 -
157 -DOCS=( {CHANGES,README}.rst docs/{easy_install.txt,pkg_resources.txt,setuptools.txt} )
158 -
159 -python_prepare_all() {
160 - if [[ ${PV} == "9999" ]]; then
161 - python_setup
162 - ${EPYTHON} bootstrap.py || die
163 - fi
164 -
165 - # disable tests requiring a network connection
166 - rm setuptools/tests/test_packageindex.py || die
167 -
168 - # don't run integration tests
169 - rm setuptools/tests/test_integration.py || die
170 -
171 - distutils-r1_python_prepare_all
172 -}
173 -
174 -python_test() {
175 - # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg
176 - # It tries to sandbox the test in a tempdir
177 - HOME="${PWD}" pytest -vv ${PN} || die "Tests failed under ${EPYTHON}"
178 -}
179 -
180 -python_install() {
181 - export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1
182 - distutils-r1_python_install
183 -}