1 |
commit: 38b22dbc67cb05f7da99f3c0b92b9a657360e0eb |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Mar 28 16:58:40 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 28 17:06:59 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38b22dbc |
7 |
|
8 |
dev-python/py: Remove redundant versions |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/py/Manifest | 5 - |
13 |
.../py/files/py-1.4.34-skip-broken-pytest3.patch | 116 --------------------- |
14 |
dev-python/py/py-1.4.30.ebuild | 45 -------- |
15 |
dev-python/py/py-1.4.34.ebuild | 47 --------- |
16 |
dev-python/py/py-1.5.2.ebuild | 47 --------- |
17 |
dev-python/py/py-1.5.3.ebuild | 47 --------- |
18 |
dev-python/py/py-1.5.4.ebuild | 48 --------- |
19 |
7 files changed, 355 deletions(-) |
20 |
|
21 |
diff --git a/dev-python/py/Manifest b/dev-python/py/Manifest |
22 |
index d35ecdba49e..cad811a5f15 100644 |
23 |
--- a/dev-python/py/Manifest |
24 |
+++ b/dev-python/py/Manifest |
25 |
@@ -1,6 +1 @@ |
26 |
-DIST py-1.4.30.tar.gz 191796 BLAKE2B 1d908f5f29788868cb7c4da49bc8a9343176030df4549a992e06245d1d56d74ddf0477048992d282aa59e6ace1ff695a7e2c2c6f00b55f185bc91d0df8b6a6dd SHA512 dd9d92f8eaf8e5fc61bfb7feb4b07df5ae1745ebf88bcbe9d62589caa9e1f7d8beae5b2d20b407520919e47391cd50cf2d5323556fa5bd90a37e120b1d394d7a |
27 |
-DIST py-1.4.34.tar.gz 194450 BLAKE2B 3e5733bb53d4f7eb8e6d43a5140f2ddf692d4272b564a9dd4fe8ede2cb4d0296e7c8764957bf4615f5cc4272d07997d126133dfce8ac8837f01d91bf557023d2 SHA512 2e19c82c8315274bffe0ba2c7e20ae3af95f942c40c16121ec953af186f8ff33e8f427c070e137bb04b7cc6dcc6779e35df3911c08595fd3294b5ec9897706e1 |
28 |
-DIST py-1.5.2.tar.gz 189542 BLAKE2B f0c5995121492ebca7bab9e73b7db61edf014be8e7d76822c72ded9ea19dd647dc0a83cbbcbf732c4ddae9070126cecb00958b623ca43d2219b7be8519b5b58e SHA512 ad92110d56caba2be44c6759350b05ceb882165ad0f58e6cce8361273be874b20b01856d685b142a83edff77b41bcce2911cf5797db5253b4f3e9b36e703c07d |
29 |
-DIST py-1.5.3.tar.gz 202335 BLAKE2B 6a7ef206bddd641cb5e2fe04966ae93db96a7ff757fcde604f8fd2d36c4a03ce5955c2f445a866dd5cd83026ab2a9fa17feeb0da0df3d40d9746c19d865f6325 SHA512 243c0da94c439163257c525ef00b30fd6d8add5897121ee0b1f19476b50f18823ce2b99a5ab27a9cf47598b538758d0534060123dce0820d2a65d98046548c96 |
30 |
-DIST py-1.5.4.tar.gz 201448 BLAKE2B 3d9f71ba53c8004d4745be984e0a3b81c98f38fdcd7703c39286c53bb167a803aa92b3b0897e407f6ee98d2b870838a27b507ad8e6cceab7b22c8e7229bb6581 SHA512 45424b133be3e78ccab48e74daa6ca6a76fca283bd3a51d50c91e911c509a2c45de4fcc7c8c15f33620d61ee16dfc3969fdd78d8839e96f52897e97b1ad624c4 |
31 |
DIST py-1.8.0.tar.gz 205096 BLAKE2B e08554fc3e0bae2e2d4515f075991707af29aa5c39e1387e8f8a7dab25e78c7340d389c79936ddea27b1fb0438ebdee8b5e218bbb48c62089d7fb656b1b6dbe8 SHA512 37b9a66229b834a034d9ba6769a46addf098380b494c1eb863607a52d00b7ec5b9157dd7ac6ffc52535a05006648c775c78716d7f85cf44966065b225be6e95b |
32 |
|
33 |
diff --git a/dev-python/py/files/py-1.4.34-skip-broken-pytest3.patch b/dev-python/py/files/py-1.4.34-skip-broken-pytest3.patch |
34 |
deleted file mode 100644 |
35 |
index 67b1f4eb95a..00000000000 |
36 |
--- a/dev-python/py/files/py-1.4.34-skip-broken-pytest3.patch |
37 |
+++ /dev/null |
38 |
@@ -1,116 +0,0 @@ |
39 |
-Backport of https://github.com/pytest-dev/py/commit/3305183b964bded36f9cd43976d22524f6ae15b2 |
40 |
- |
41 |
---- a/testing/code/test_assertion.py |
42 |
-+++ b/testing/code/test_assertion.py |
43 |
-@@ -141,7 +141,10 @@ def test_assert_implicit_multiline(): |
44 |
- e = exvalue() |
45 |
- assert str(e).find('assert [1, 2, 3] !=') != -1 |
46 |
- |
47 |
-- |
48 |
-+@××××××××××××.xfail(py.test.__version__[0] != "2", |
49 |
-+ reason="broken on modern pytest", |
50 |
-+ run=False |
51 |
-+) |
52 |
- def test_assert_with_brokenrepr_arg(): |
53 |
- class BrokenRepr: |
54 |
- def __repr__(self): 0 / 0 |
55 |
-@@ -278,7 +281,10 @@ def test_assert_raise_alias(testdir): |
56 |
- ]) |
57 |
- |
58 |
- |
59 |
--@×××××××××××.skipif("sys.version_info < (2,5)") |
60 |
-+@××××××××××××.xfail(py.test.__version__[0] != "2", |
61 |
-+ reason="broken on modern pytest", |
62 |
-+ run=False) |
63 |
-+@××××××××××××.skipif("sys.version_info < (2,5)") |
64 |
- def test_assert_raise_subclass(): |
65 |
- class SomeEx(AssertionError): |
66 |
- def __init__(self, *args): |
67 |
---- a/testing/code/test_excinfo.py |
68 |
-+++ b/testing/code/test_excinfo.py |
69 |
-@@ -16,6 +16,13 @@ else: |
70 |
- |
71 |
- import pytest |
72 |
- pytest_version_info = tuple(map(int, pytest.__version__.split(".")[:3])) |
73 |
-+ |
74 |
-+broken_on_modern_pytest = pytest.mark.xfail( |
75 |
-+ pytest_version_info[0] != 2, |
76 |
-+ reason="this test hasn't been fixed after moving py.code into pytest", |
77 |
-+ run=False |
78 |
-+ ) |
79 |
-+ |
80 |
- |
81 |
- class TWMock: |
82 |
- def __init__(self): |
83 |
-@@ -355,6 +362,7 @@ class TestFormattedExcinfo: |
84 |
- assert lines[0] == "| def f(x):" |
85 |
- assert lines[1] == " pass" |
86 |
- |
87 |
-+ @broken_on_modern_pytest |
88 |
- def test_repr_source_excinfo(self): |
89 |
- """ check if indentation is right """ |
90 |
- pr = FormattedExcinfo() |
91 |
-@@ -657,6 +665,7 @@ raise ValueError() |
92 |
- assert p._makepath(__file__) == __file__ |
93 |
- reprtb = p.repr_traceback(excinfo) |
94 |
- |
95 |
-+ @broken_on_modern_pytest |
96 |
- def test_repr_excinfo_addouterr(self, importasmod): |
97 |
- mod = importasmod(""" |
98 |
- def entry(): |
99 |
-@@ -699,6 +708,7 @@ raise ValueError() |
100 |
- assert reprtb.extraline == "!!! Recursion detected (same locals & position)" |
101 |
- assert str(reprtb) |
102 |
- |
103 |
-+ @broken_on_modern_pytest |
104 |
- def test_tb_entry_AssertionError(self, importasmod): |
105 |
- # probably this test is a bit redundant |
106 |
- # as py/magic/testing/test_assertion.py |
107 |
-@@ -742,6 +752,7 @@ raise ValueError() |
108 |
- x = py.builtin._totext(MyRepr()) |
109 |
- assert x == py.builtin._totext("я", "utf-8") |
110 |
- |
111 |
-+ @broken_on_modern_pytest |
112 |
- def test_toterminal_long(self, importasmod): |
113 |
- mod = importasmod(""" |
114 |
- def g(x): |
115 |
-@@ -768,6 +779,7 @@ raise ValueError() |
116 |
- assert tw.lines[9] == "" |
117 |
- assert tw.lines[10].endswith("mod.py:3: ValueError") |
118 |
- |
119 |
-+ @broken_on_modern_pytest |
120 |
- def test_toterminal_long_missing_source(self, importasmod, tmpdir): |
121 |
- mod = importasmod(""" |
122 |
- def g(x): |
123 |
-@@ -793,6 +805,7 @@ raise ValueError() |
124 |
- assert tw.lines[7] == "" |
125 |
- assert tw.lines[8].endswith("mod.py:3: ValueError") |
126 |
- |
127 |
-+ @broken_on_modern_pytest |
128 |
- def test_toterminal_long_incomplete_source(self, importasmod, tmpdir): |
129 |
- mod = importasmod(""" |
130 |
- def g(x): |
131 |
-@@ -818,6 +831,7 @@ raise ValueError() |
132 |
- assert tw.lines[7] == "" |
133 |
- assert tw.lines[8].endswith("mod.py:3: ValueError") |
134 |
- |
135 |
-+ @broken_on_modern_pytest |
136 |
- def test_toterminal_long_filenames(self, importasmod): |
137 |
- mod = importasmod(""" |
138 |
- def f(): |
139 |
-@@ -863,6 +877,7 @@ raise ValueError() |
140 |
- assert tw.stringio.getvalue() |
141 |
- |
142 |
- |
143 |
-+ @broken_on_modern_pytest |
144 |
- def test_native_style(self): |
145 |
- excinfo = self.excinfo_from_exec(""" |
146 |
- assert 0 |
147 |
-@@ -877,6 +892,7 @@ raise ValueError() |
148 |
- if py.std.sys.version_info >= (2, 5): |
149 |
- assert s.count('assert 0') == 2 |
150 |
- |
151 |
-+ @broken_on_modern_pytest |
152 |
- def test_traceback_repr_style(self, importasmod): |
153 |
- mod = importasmod(""" |
154 |
- def f(): |
155 |
|
156 |
diff --git a/dev-python/py/py-1.4.30.ebuild b/dev-python/py/py-1.4.30.ebuild |
157 |
deleted file mode 100644 |
158 |
index 0310d4ccee1..00000000000 |
159 |
--- a/dev-python/py/py-1.4.30.ebuild |
160 |
+++ /dev/null |
161 |
@@ -1,45 +0,0 @@ |
162 |
-# Copyright 1999-2020 Gentoo Authors |
163 |
-# Distributed under the terms of the GNU General Public License v2 |
164 |
- |
165 |
-EAPI="5" |
166 |
- |
167 |
-PYTHON_COMPAT=( python2_7 python3_6 pypy3 ) |
168 |
- |
169 |
-inherit distutils-r1 |
170 |
- |
171 |
-DESCRIPTION="library with cross-python path, ini-parsing, io, code, log facilities" |
172 |
-HOMEPAGE="https://pylib.readthedocs.io/en/latest/ https://pypi.org/project/py/" |
173 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
174 |
- |
175 |
-LICENSE="MIT" |
176 |
-SLOT="0" |
177 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
178 |
-IUSE="doc test" |
179 |
-RESTRICT="!test? ( test )" |
180 |
- |
181 |
-RDEPEND="" |
182 |
-DEPEND=" |
183 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
184 |
- test? ( >=dev-python/pytest-2.4.2[${PYTHON_USEDEP}] ) |
185 |
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" |
186 |
- |
187 |
-python_prepare_all() { |
188 |
- sed -e 's:intersphinx_mapping:#&:' -i doc/conf.py || die |
189 |
- distutils-r1_python_prepare_all |
190 |
-} |
191 |
- |
192 |
-python_compile_all() { |
193 |
- use doc && emake -C doc html |
194 |
-} |
195 |
- |
196 |
-python_test() { |
197 |
- # 1 failure, test_comments, under both pypy only. |
198 |
- # Also appears the home repo has no issue tracker. |
199 |
- [[ "${EPYTHON}" == pypy ]] && return |
200 |
- py.test -v -v || die "testing failed with ${EPYTHON}" |
201 |
-} |
202 |
- |
203 |
-python_install_all() { |
204 |
- use doc && local HTML_DOCS=( doc/_build/html/. ) |
205 |
- distutils-r1_python_install_all |
206 |
-} |
207 |
|
208 |
diff --git a/dev-python/py/py-1.4.34.ebuild b/dev-python/py/py-1.4.34.ebuild |
209 |
deleted file mode 100644 |
210 |
index ef09547b505..00000000000 |
211 |
--- a/dev-python/py/py-1.4.34.ebuild |
212 |
+++ /dev/null |
213 |
@@ -1,47 +0,0 @@ |
214 |
-# Copyright 1999-2020 Gentoo Authors |
215 |
-# Distributed under the terms of the GNU General Public License v2 |
216 |
- |
217 |
-EAPI="6" |
218 |
- |
219 |
-PYTHON_COMPAT=( python2_7 python3_6 pypy3 ) |
220 |
- |
221 |
-inherit distutils-r1 |
222 |
- |
223 |
-DESCRIPTION="library with cross-python path, ini-parsing, io, code, log facilities" |
224 |
-HOMEPAGE="https://pylib.readthedocs.io/en/latest/ https://pypi.org/project/py/" |
225 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
226 |
- |
227 |
-LICENSE="MIT" |
228 |
-SLOT="0" |
229 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
230 |
-IUSE="doc test" |
231 |
-RESTRICT="!test? ( test )" |
232 |
- |
233 |
-RDEPEND="" |
234 |
-DEPEND=" |
235 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
236 |
- test? ( >=dev-python/pytest-2.4.2[${PYTHON_USEDEP}] ) |
237 |
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" |
238 |
- |
239 |
-PATCHES=( "${FILESDIR}"/${PN}-1.4.34-skip-broken-pytest3.patch ) |
240 |
- |
241 |
-python_prepare_all() { |
242 |
- sed -e 's:intersphinx_mapping:#&:' -i doc/conf.py || die |
243 |
- distutils-r1_python_prepare_all |
244 |
-} |
245 |
- |
246 |
-python_compile_all() { |
247 |
- use doc && emake -C doc html |
248 |
-} |
249 |
- |
250 |
-python_test() { |
251 |
- # 1 failure, test_comments, under both pypy only. |
252 |
- # Also appears the home repo has no issue tracker. |
253 |
- [[ "${EPYTHON}" == pypy ]] && return |
254 |
- py.test -v -v || die "testing failed with ${EPYTHON}" |
255 |
-} |
256 |
- |
257 |
-python_install_all() { |
258 |
- use doc && local HTML_DOCS=( doc/_build/html/. ) |
259 |
- distutils-r1_python_install_all |
260 |
-} |
261 |
|
262 |
diff --git a/dev-python/py/py-1.5.2.ebuild b/dev-python/py/py-1.5.2.ebuild |
263 |
deleted file mode 100644 |
264 |
index 3f8589be8da..00000000000 |
265 |
--- a/dev-python/py/py-1.5.2.ebuild |
266 |
+++ /dev/null |
267 |
@@ -1,47 +0,0 @@ |
268 |
-# Copyright 1999-2020 Gentoo Authors |
269 |
-# Distributed under the terms of the GNU General Public License v2 |
270 |
- |
271 |
-EAPI="6" |
272 |
- |
273 |
-PYTHON_COMPAT=( python2_7 python3_6 pypy3 ) |
274 |
- |
275 |
-inherit distutils-r1 |
276 |
- |
277 |
-DESCRIPTION="library with cross-python path, ini-parsing, io, code, log facilities" |
278 |
-HOMEPAGE="https://pylib.readthedocs.io/en/latest/ https://pypi.org/project/py/" |
279 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
280 |
- |
281 |
-LICENSE="MIT" |
282 |
-SLOT="0" |
283 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
284 |
-IUSE="doc test" |
285 |
-RESTRICT="!test? ( test )" |
286 |
- |
287 |
-RDEPEND="" |
288 |
-DEPEND=" |
289 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
290 |
- test? ( >=dev-python/pytest-2.4.2[${PYTHON_USEDEP}] ) |
291 |
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" |
292 |
- |
293 |
-PATCHES=( "${FILESDIR}"/${P}-skip-apiwarn-pytest31.patch ) |
294 |
- |
295 |
-python_prepare_all() { |
296 |
- sed -e 's:intersphinx_mapping:#&:' -i doc/conf.py || die |
297 |
- distutils-r1_python_prepare_all |
298 |
-} |
299 |
- |
300 |
-python_compile_all() { |
301 |
- use doc && emake -C doc html |
302 |
-} |
303 |
- |
304 |
-python_test() { |
305 |
- # 1 failure, test_comments, under both pypy only. |
306 |
- # Also appears the home repo has no issue tracker. |
307 |
- [[ "${EPYTHON}" == pypy ]] && return |
308 |
- py.test -v -v || die "testing failed with ${EPYTHON}" |
309 |
-} |
310 |
- |
311 |
-python_install_all() { |
312 |
- use doc && local HTML_DOCS=( doc/_build/html/. ) |
313 |
- distutils-r1_python_install_all |
314 |
-} |
315 |
|
316 |
diff --git a/dev-python/py/py-1.5.3.ebuild b/dev-python/py/py-1.5.3.ebuild |
317 |
deleted file mode 100644 |
318 |
index 8506a520371..00000000000 |
319 |
--- a/dev-python/py/py-1.5.3.ebuild |
320 |
+++ /dev/null |
321 |
@@ -1,47 +0,0 @@ |
322 |
-# Copyright 1999-2020 Gentoo Authors |
323 |
-# Distributed under the terms of the GNU General Public License v2 |
324 |
- |
325 |
-EAPI="6" |
326 |
- |
327 |
-PYTHON_COMPAT=( python2_7 python3_{6,7} pypy3 ) |
328 |
- |
329 |
-inherit distutils-r1 |
330 |
- |
331 |
-DESCRIPTION="library with cross-python path, ini-parsing, io, code, log facilities" |
332 |
-HOMEPAGE="https://pylib.readthedocs.io/en/latest/ https://pypi.org/project/py/" |
333 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
334 |
- |
335 |
-LICENSE="MIT" |
336 |
-SLOT="0" |
337 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
338 |
-IUSE="doc test" |
339 |
-RESTRICT="!test? ( test )" |
340 |
- |
341 |
-RDEPEND="" |
342 |
-DEPEND=" |
343 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
344 |
- test? ( >=dev-python/pytest-2.4.2[${PYTHON_USEDEP}] ) |
345 |
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" |
346 |
- |
347 |
-PATCHES=( "${FILESDIR}"/${PN}-1.5.2-skip-apiwarn-pytest31.patch ) |
348 |
- |
349 |
-python_prepare_all() { |
350 |
- sed -e 's:intersphinx_mapping:#&:' -i doc/conf.py || die |
351 |
- distutils-r1_python_prepare_all |
352 |
-} |
353 |
- |
354 |
-python_compile_all() { |
355 |
- use doc && emake -C doc html |
356 |
-} |
357 |
- |
358 |
-python_test() { |
359 |
- # 1 failure, test_comments, under both pypy only. |
360 |
- # Also appears the home repo has no issue tracker. |
361 |
- [[ "${EPYTHON}" == pypy ]] && return |
362 |
- py.test -v -v || die "testing failed with ${EPYTHON}" |
363 |
-} |
364 |
- |
365 |
-python_install_all() { |
366 |
- use doc && local HTML_DOCS=( doc/_build/html/. ) |
367 |
- distutils-r1_python_install_all |
368 |
-} |
369 |
|
370 |
diff --git a/dev-python/py/py-1.5.4.ebuild b/dev-python/py/py-1.5.4.ebuild |
371 |
deleted file mode 100644 |
372 |
index 2160aec7c84..00000000000 |
373 |
--- a/dev-python/py/py-1.5.4.ebuild |
374 |
+++ /dev/null |
375 |
@@ -1,48 +0,0 @@ |
376 |
-# Copyright 1999-2020 Gentoo Authors |
377 |
-# Distributed under the terms of the GNU General Public License v2 |
378 |
- |
379 |
-EAPI=6 |
380 |
- |
381 |
-PYTHON_COMPAT=( python2_7 python3_{6,7} pypy3 ) |
382 |
- |
383 |
-inherit distutils-r1 |
384 |
- |
385 |
-DESCRIPTION="library with cross-python path, ini-parsing, io, code, log facilities" |
386 |
-HOMEPAGE="https://pylib.readthedocs.io/en/latest/ https://pypi.org/project/py/" |
387 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
388 |
- |
389 |
-LICENSE="MIT" |
390 |
-SLOT="0" |
391 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
392 |
-IUSE="doc test" |
393 |
-RESTRICT="!test? ( test )" |
394 |
- |
395 |
-RDEPEND="" |
396 |
-DEPEND=" |
397 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
398 |
- dev-python/setuptools_scm[${PYTHON_USEDEP}] |
399 |
- test? ( >=dev-python/pytest-2.4.2[${PYTHON_USEDEP}] ) |
400 |
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" |
401 |
- |
402 |
-PATCHES=( "${FILESDIR}"/${PN}-1.5.2-skip-apiwarn-pytest31.patch ) |
403 |
- |
404 |
-python_prepare_all() { |
405 |
- sed -e 's:intersphinx_mapping:#&:' -i doc/conf.py || die |
406 |
- distutils-r1_python_prepare_all |
407 |
-} |
408 |
- |
409 |
-python_compile_all() { |
410 |
- use doc && emake -C doc html |
411 |
-} |
412 |
- |
413 |
-python_test() { |
414 |
- # 1 failure, test_comments, under both pypy only. |
415 |
- # Also appears the home repo has no issue tracker. |
416 |
- [[ "${EPYTHON}" == pypy ]] && return |
417 |
- py.test -v -v || die "testing failed with ${EPYTHON}" |
418 |
-} |
419 |
- |
420 |
-python_install_all() { |
421 |
- use doc && local HTML_DOCS=( doc/_build/html/. ) |
422 |
- distutils-r1_python_install_all |
423 |
-} |