1 |
commit: 0dd459b8f592d02c2c0112608822239ca35620e1 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 2 20:28:26 2017 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 3 06:14:48 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0dd459b8 |
7 |
|
8 |
dev-python/webtest: Clean old versions up |
9 |
|
10 |
dev-python/webtest/Manifest | 3 - |
11 |
.../webtest/files/webtest-1.4.3-doctest.patch | 15 ----- |
12 |
dev-python/webtest/webtest-1.4.3-r1.ebuild | 57 ------------------ |
13 |
dev-python/webtest/webtest-2.0.17.ebuild | 67 ---------------------- |
14 |
dev-python/webtest/webtest-2.0.18.ebuild | 67 ---------------------- |
15 |
5 files changed, 209 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/webtest/Manifest b/dev-python/webtest/Manifest |
18 |
index af9550e7537..ed27da960ee 100644 |
19 |
--- a/dev-python/webtest/Manifest |
20 |
+++ b/dev-python/webtest/Manifest |
21 |
@@ -1,5 +1,2 @@ |
22 |
-DIST WebTest-1.4.3.zip 80008 SHA256 0439d951afdf6c58d19e0a83e30855d0bb7e35ab177d9261add71fc5a724b6ab SHA512 87436f182edc3178481f4ec3d073399784e353d6480790470891a18d3605c2bb5a1f4effe0ffa0ce241f1256e99f1a4e3e5fcd2896acb8931aeb60a88fa2bfa2 WHIRLPOOL e509a71a213b9085473536afb51142c4cd9fe99b52870139498fe5b68e8326e8b23df9af3502f0d3ebffbe0076165564d38ef143d9b229bb94b23bb857ca6fe9 |
23 |
DIST WebTest-2.0.16.zip 88232 SHA256 24ad0c9ee377f16df4d0bd626a64a75eec901852ac788bdb70e0261bff0026eb SHA512 da09abba8ed52c8d673acf547f47df6919b534b33b746944610fc78bd3695f36e3718f89e68f8aec7852b6cf98da0f0b5500dfe9427fd7926e5304ad216eafbb WHIRLPOOL 68d392000c8767ef9b5d4cc657bd6e99ec75eb4cb20cacdabdcca87942894b290f957854fb7dfb7c9eb8312877575c4e4d258e78c05f985e972b02ee04ec2643 |
24 |
-DIST WebTest-2.0.17.zip 88435 SHA256 36457f708a57e4295a2c05aaf47b620b66e25429dd9170c59d0718ff7934a0b7 SHA512 5a1e26108af1cb5fc5db10bf10a48c98815ccacb84c692ecedfc6ef02427bedaa3bdfc466a89faa51c82474da2bd393aae5f17821c516966999c5d2e5f12628d WHIRLPOOL 2c7c504fd6087cc116f28de8113f456901535d6d098845bc1b3551264ee9ea5c7bc9fad4699015eecb974a0423edf60e0715d93025ed3d05da91a6235dc6e1fb |
25 |
-DIST WebTest-2.0.18.zip 88440 SHA256 beb569e6d707cb4cd82c226c97b7e1f41cd62bae656d89e687107eef8376c7fd SHA512 98f61325a2cb0db3c0aec317f3acf8a741531fece33fa359615cdee8738cb2c4523156971c1fd420c900b0d3ece4adc15f2e77975f40376f0e58370ff7b5fe79 WHIRLPOOL 5057d1c1518656f4869a6baa41617815972044b91b2dbc8d56b2adcb379fefcf01de57b90cd7ee98664c004619f2170d5a6f0fd9a175a83ef758af0ee7d5c48c |
26 |
DIST WebTest-2.0.21.tar.gz 66866 SHA256 3dc92ecd7604e21fc7c97578e4c43aff2a67cebdd4884a2aa804d85e85b34b55 SHA512 21f58ee9192fd0eb0eb2d88179ffc015aa5cf04c8004db251bd65d13d54c34b9e6b5fc9fdd8e9fcbbc18fcfb2be714c0691b2ef034318861262f8705b4a44610 WHIRLPOOL f87c877dc30dcee5c86225849d27a1a3b5504f656e4c68ff88273c665f1684cb21f0e31ebcdd4b6981e1bc5269d8057379f78d90c708de8e319846a5aa27669d |
27 |
|
28 |
diff --git a/dev-python/webtest/files/webtest-1.4.3-doctest.patch b/dev-python/webtest/files/webtest-1.4.3-doctest.patch |
29 |
deleted file mode 100644 |
30 |
index 15b65c51707..00000000000 |
31 |
--- a/dev-python/webtest/files/webtest-1.4.3-doctest.patch |
32 |
+++ /dev/null |
33 |
@@ -1,15 +0,0 @@ |
34 |
-This doctest relies on dictionary key order, so remove it. |
35 |
---- a/docs/index.txt |
36 |
-+++ b/docs/index.txt |
37 |
-@@ -321,11 +321,6 @@ |
38 |
- <Element html at ...> |
39 |
- >>> res.lxml.xpath('//body/div')[0].text |
40 |
- 'hey!' |
41 |
-- >>> res = TestResponse(content_type='application/json', |
42 |
-- ... body=b'{"a":1,"b":2}') |
43 |
-- >>> res.request = TestRequest.blank('/') |
44 |
-- >>> list(res.json.values()) |
45 |
-- [1, 2] |
46 |
- >>> res = TestResponse(content_type='application/xml', |
47 |
- ... body=b'<xml><message>hey!</message></xml>') |
48 |
- >>> res.request = TestRequest.blank('/') |
49 |
|
50 |
diff --git a/dev-python/webtest/webtest-1.4.3-r1.ebuild b/dev-python/webtest/webtest-1.4.3-r1.ebuild |
51 |
deleted file mode 100644 |
52 |
index c7b2abe0252..00000000000 |
53 |
--- a/dev-python/webtest/webtest-1.4.3-r1.ebuild |
54 |
+++ /dev/null |
55 |
@@ -1,57 +0,0 @@ |
56 |
-# Copyright 1999-2017 Gentoo Foundation |
57 |
-# Distributed under the terms of the GNU General Public License v2 |
58 |
- |
59 |
-EAPI=5 |
60 |
- |
61 |
-PYTHON_COMPAT=( python2_7 ) |
62 |
- |
63 |
-inherit distutils-r1 |
64 |
- |
65 |
-MY_PN="WebTest" |
66 |
-MY_P="${MY_PN}-${PV}" |
67 |
- |
68 |
-DESCRIPTION="Helper to test WSGI applications" |
69 |
-HOMEPAGE="http://pythonpaste.org/webtest/ https://pypi.python.org/pypi/WebTest" |
70 |
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.zip" |
71 |
- |
72 |
-LICENSE="MIT" |
73 |
-SLOT="0" |
74 |
-KEYWORDS="alpha amd64 arm ~hppa ia64 ~ppc64 s390 sh sparc x86 ~x86-fbsd" |
75 |
-IUSE="doc test" |
76 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
77 |
- |
78 |
-RDEPEND=">=dev-python/webob-0.9.2[${PYTHON_USEDEP}]" |
79 |
-DEPEND="${RDEPEND} |
80 |
- app-arch/unzip |
81 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
82 |
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
83 |
- test? ( dev-python/nose[${PYTHON_USEDEP}] |
84 |
- dev-python/pyquery[${PYTHON_USEDEP}] )" |
85 |
- |
86 |
-S="${WORKDIR}/${MY_P}" |
87 |
-PATCHES=( "${FILESDIR}/webtest-1.4.3-doctest.patch" ) |
88 |
- |
89 |
-python_compile_all() { |
90 |
- if use doc; then |
91 |
- sphinx-build docs html || die |
92 |
- fi |
93 |
-} |
94 |
- |
95 |
-python_test() { |
96 |
- # Tests raise ImportErrors with our default PYTHONPATH. |
97 |
- unset PYTHONPATH |
98 |
- nosetests || die "Tests fail with ${EPYTHON}" |
99 |
-} |
100 |
- |
101 |
-python_install() { |
102 |
- distutils-r1_python_install |
103 |
- |
104 |
- if [[ ${EPYTHON} == python3* ]]; then |
105 |
- rm -f "${D}$(python_get_sitedir)"/webtest/lint3.py |
106 |
- fi |
107 |
-} |
108 |
- |
109 |
-python_install_all() { |
110 |
- use doc && local HTML_DOCS=( html/. ) |
111 |
- distutils-r1_python_install_all |
112 |
-} |
113 |
|
114 |
diff --git a/dev-python/webtest/webtest-2.0.17.ebuild b/dev-python/webtest/webtest-2.0.17.ebuild |
115 |
deleted file mode 100644 |
116 |
index 69eb318778b..00000000000 |
117 |
--- a/dev-python/webtest/webtest-2.0.17.ebuild |
118 |
+++ /dev/null |
119 |
@@ -1,67 +0,0 @@ |
120 |
-# Copyright 1999-2017 Gentoo Foundation |
121 |
-# Distributed under the terms of the GNU General Public License v2 |
122 |
- |
123 |
-EAPI=5 |
124 |
- |
125 |
-PYTHON_COMPAT=( python{2_7,3_4} ) |
126 |
- |
127 |
-inherit distutils-r1 |
128 |
- |
129 |
-MY_PN="WebTest" |
130 |
-MY_P="${MY_PN}-${PV}" |
131 |
- |
132 |
-DESCRIPTION="Helper to test WSGI applications" |
133 |
-HOMEPAGE="http://pythonpaste.org/webtest/ https://pypi.python.org/pypi/WebTest" |
134 |
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.zip" |
135 |
- |
136 |
-LICENSE="MIT" |
137 |
-SLOT="0" |
138 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc64 ~s390 ~sh ~sparc ~x86" |
139 |
-IUSE="doc test" |
140 |
- |
141 |
-# nose<1.3.0 appears a leftover never updated in requires.txt. tests pass fine with latest |
142 |
-RDEPEND=" |
143 |
- dev-python/six[${PYTHON_USEDEP}] |
144 |
- >=dev-python/waitress-0.8.5[${PYTHON_USEDEP}] |
145 |
- >=dev-python/webob-1.2[${PYTHON_USEDEP}] |
146 |
- dev-python/beautifulsoup:4[${PYTHON_USEDEP}] |
147 |
- dev-python/lxml[${PYTHON_USEDEP}]" |
148 |
-DEPEND="${RDEPEND} |
149 |
- app-arch/unzip |
150 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
151 |
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
152 |
- test? ( dev-python/nose[${PYTHON_USEDEP}] |
153 |
- dev-python/pyquery[${PYTHON_USEDEP}] |
154 |
- dev-python/pastedeploy[${PYTHON_USEDEP}] |
155 |
- dev-python/wsgiproxy2[${PYTHON_USEDEP}] |
156 |
- dev-python/coverage[${PYTHON_USEDEP}] |
157 |
- $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 ) |
158 |
- )" |
159 |
- |
160 |
-S="${WORKDIR}/${MY_P}" |
161 |
- |
162 |
-# Makes testing easier; otherwise we get errors from pkg_resources. |
163 |
-DISTUTILS_IN_SOURCE_BUILD=1 |
164 |
- |
165 |
-python_prepare_all() { |
166 |
- # Prevent un-needed d'loading during doc build |
167 |
- sed -s 's:intersphinx_mapping:_&:' -i docs/conf.py || die |
168 |
- distutils-r1_python_prepare_all |
169 |
-} |
170 |
- |
171 |
-python_compile_all() { |
172 |
- if use doc; then |
173 |
- sphinx-build docs html || die |
174 |
- fi |
175 |
-} |
176 |
- |
177 |
-python_test() { |
178 |
- # Tests raise ImportErrors with our default PYTHONPATH. |
179 |
- local -x PYTHONPATH= |
180 |
- nosetests || die "Tests fail with ${EPYTHON}" |
181 |
-} |
182 |
- |
183 |
-python_install_all() { |
184 |
- use doc && local HTML_DOCS=( html/. ) |
185 |
- distutils-r1_python_install_all |
186 |
-} |
187 |
|
188 |
diff --git a/dev-python/webtest/webtest-2.0.18.ebuild b/dev-python/webtest/webtest-2.0.18.ebuild |
189 |
deleted file mode 100644 |
190 |
index 2fadbc674f0..00000000000 |
191 |
--- a/dev-python/webtest/webtest-2.0.18.ebuild |
192 |
+++ /dev/null |
193 |
@@ -1,67 +0,0 @@ |
194 |
-# Copyright 1999-2017 Gentoo Foundation |
195 |
-# Distributed under the terms of the GNU General Public License v2 |
196 |
- |
197 |
-EAPI=5 |
198 |
- |
199 |
-PYTHON_COMPAT=( python{2_7,3_4,3_5} ) |
200 |
- |
201 |
-inherit distutils-r1 |
202 |
- |
203 |
-MY_PN="WebTest" |
204 |
-MY_P="${MY_PN}-${PV}" |
205 |
- |
206 |
-DESCRIPTION="Helper to test WSGI applications" |
207 |
-HOMEPAGE="http://pythonpaste.org/webtest/ https://pypi.python.org/pypi/WebTest" |
208 |
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.zip" |
209 |
- |
210 |
-LICENSE="MIT" |
211 |
-SLOT="0" |
212 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc64 ~s390 ~sh ~sparc ~x86" |
213 |
-IUSE="doc test" |
214 |
- |
215 |
-# nose<1.3.0 appears a leftover never updated in requires.txt. tests pass fine with latest |
216 |
-RDEPEND=" |
217 |
- dev-python/six[${PYTHON_USEDEP}] |
218 |
- >=dev-python/waitress-0.8.5[${PYTHON_USEDEP}] |
219 |
- >=dev-python/webob-1.2[${PYTHON_USEDEP}] |
220 |
- dev-python/beautifulsoup:4[${PYTHON_USEDEP}] |
221 |
- dev-python/lxml[${PYTHON_USEDEP}]" |
222 |
-DEPEND="${RDEPEND} |
223 |
- app-arch/unzip |
224 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
225 |
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
226 |
- test? ( dev-python/nose[${PYTHON_USEDEP}] |
227 |
- dev-python/pyquery[${PYTHON_USEDEP}] |
228 |
- dev-python/pastedeploy[${PYTHON_USEDEP}] |
229 |
- dev-python/wsgiproxy2[${PYTHON_USEDEP}] |
230 |
- dev-python/coverage[${PYTHON_USEDEP}] |
231 |
- $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 ) |
232 |
- )" |
233 |
- |
234 |
-S="${WORKDIR}/${MY_P}" |
235 |
- |
236 |
-# Makes testing easier; otherwise we get errors from pkg_resources. |
237 |
-DISTUTILS_IN_SOURCE_BUILD=1 |
238 |
- |
239 |
-python_prepare_all() { |
240 |
- # Prevent un-needed d'loading during doc build |
241 |
- sed -s 's:intersphinx_mapping:_&:' -i docs/conf.py || die |
242 |
- distutils-r1_python_prepare_all |
243 |
-} |
244 |
- |
245 |
-python_compile_all() { |
246 |
- if use doc; then |
247 |
- sphinx-build docs html || die |
248 |
- fi |
249 |
-} |
250 |
- |
251 |
-python_test() { |
252 |
- # Tests raise ImportErrors with our default PYTHONPATH. |
253 |
- local -x PYTHONPATH= |
254 |
- nosetests || die "Tests fail with ${EPYTHON}" |
255 |
-} |
256 |
- |
257 |
-python_install_all() { |
258 |
- use doc && local HTML_DOCS=( html/. ) |
259 |
- distutils-r1_python_install_all |
260 |
-} |