1 |
commit: 0b8f603b0e22189d298248b59e661b8f1ac3d253 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 31 11:58:09 2023 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 31 11:58:09 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b8f603b |
7 |
|
8 |
dev-python/sphinx: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/sphinx/Manifest | 3 - |
13 |
dev-python/sphinx/sphinx-6.0.0.ebuild | 129 ---------------------------------- |
14 |
dev-python/sphinx/sphinx-6.1.1.ebuild | 128 --------------------------------- |
15 |
dev-python/sphinx/sphinx-6.1.2.ebuild | 128 --------------------------------- |
16 |
4 files changed, 388 deletions(-) |
17 |
|
18 |
diff --git a/dev-python/sphinx/Manifest b/dev-python/sphinx/Manifest |
19 |
index 935659551e94..36bf5c71cba5 100644 |
20 |
--- a/dev-python/sphinx/Manifest |
21 |
+++ b/dev-python/sphinx/Manifest |
22 |
@@ -1,6 +1,3 @@ |
23 |
DIST Sphinx-4.5.0.tar.gz 6698212 BLAKE2B e6c46d35492c3d3068c4f97e497d33973ca86b40934578804fcec901fa89d2c52b45a7546b835b873846dd16936c1bd34a7b053aec8206c688d974671155fd56 SHA512 b44d2a81ed67adaefe16a07ae0cf053b5e6c775023aaa6c57d7b3950f171deac410e8004f787b151c3c2fc350650aa69a4dc2dc7239d1fd3d351e5194617cb2c |
24 |
DIST sphinx-5.3.0.gh.tar.gz 6873479 BLAKE2B c57ede5e3d83447c6152d050d45df73bced62ce0cdcd84ea6316a48bff072590ad036c469dee053a9dc5eb1a7ae53b350aa25b5fe14c3378dc6543186552f720 SHA512 6877635d46f2e1f2b4cf4edaca463d85bf740a13bbeb867486efd57904aacc42626e6a4f58ad971e50808d31391d068702c4f2910a95e5c86dbd68d87e2552c8 |
25 |
-DIST sphinx-6.0.0.gh.tar.gz 6713685 BLAKE2B b2e333efdbbd319c82203a0ee731ae8b0bc8a848b92773bdaa93b52c3841ab3802f68f698155b8ce4f65af93fdbe741c3e37775defde6111ee6ad5db89f968d8 SHA512 6efcbe57170cacec6f3c7f11f09094d096dc2afb7e0470c7cbdb9ea209dcbb782a6227a32de41974258555fa01986406a6564587f6b414594c452dcc6b8a06fc |
26 |
-DIST sphinx-6.1.1.gh.tar.gz 6719767 BLAKE2B 91951c896c9feceee5877f98cd6d9afd0868bf6fd0c7372289eff2511ffb3ac845a29a43442c1cc8a9d14be3b242695d6666289b68a3fd41b5fdcbdf87c88145 SHA512 eaeed485d93d9fca3d8c388112594b2f71bed4b3d14ab2d5728ae4ca43bd444668f8b3633f7d2e11f4b1ec20aa309e8f0f70b500752e9f7dfeafd2999244fb58 |
27 |
-DIST sphinx-6.1.2.gh.tar.gz 6720271 BLAKE2B 2206fdd2e3936dded171ffd3aa0895ee9ea337c1a1cd55735eb880a8cbe36f2454fd545883de46831bd29f0738796c0bedbbfda45e6c132e452a36b028bf5e08 SHA512 ecbfea636bf3095b94a38992856c2279f696b8a34558f99b1a08a984c5ace678d68a9bd3197119205f6af6dbbf995c3b820972b7c83d8c628fa5031e0b545e4c |
28 |
DIST sphinx-6.1.3.gh.tar.gz 6720056 BLAKE2B 8d8753a7735df1d2e86dfc1c6347ea6fd550c5a6abd5e4cb2b884e0ec9d9de5179eac241cad98aad3ee09cca26d13f74aecc2eb2f61067eb20beb4a26159ac4d SHA512 b1cdd1ae8e643306cbbf26bd926f0fbd6c76a11098cf35c8088dd12f4c8ac4dbb5a7acc0676608d8268059191756e71741564a72e9786a66eb2282afd0271f27 |
29 |
|
30 |
diff --git a/dev-python/sphinx/sphinx-6.0.0.ebuild b/dev-python/sphinx/sphinx-6.0.0.ebuild |
31 |
deleted file mode 100644 |
32 |
index a2fef098e49e..000000000000 |
33 |
--- a/dev-python/sphinx/sphinx-6.0.0.ebuild |
34 |
+++ /dev/null |
35 |
@@ -1,129 +0,0 @@ |
36 |
-# Copyright 1999-2023 Gentoo Authors |
37 |
-# Distributed under the terms of the GNU General Public License v2 |
38 |
- |
39 |
-EAPI=8 |
40 |
- |
41 |
-DISTUTILS_USE_PEP517=flit |
42 |
-PYTHON_COMPAT=( python3_{9..11} pypy3 ) |
43 |
-PYTHON_REQ_USE="threads(+)" |
44 |
- |
45 |
-inherit distutils-r1 |
46 |
- |
47 |
-DESCRIPTION="Python documentation generator" |
48 |
-HOMEPAGE=" |
49 |
- https://www.sphinx-doc.org/ |
50 |
- https://github.com/sphinx-doc/sphinx/ |
51 |
- https://pypi.org/project/Sphinx/ |
52 |
-" |
53 |
-SRC_URI=" |
54 |
- https://github.com/sphinx-doc/sphinx/archive/v${PV}.tar.gz |
55 |
- -> ${P}.gh.tar.gz |
56 |
-" |
57 |
- |
58 |
-LICENSE="BSD" |
59 |
-SLOT="0" |
60 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" |
61 |
-IUSE="doc latex" |
62 |
- |
63 |
-RDEPEND=" |
64 |
- <dev-python/alabaster-0.8[${PYTHON_USEDEP}] |
65 |
- >=dev-python/Babel-2.9[${PYTHON_USEDEP}] |
66 |
- <dev-python/docutils-0.20[${PYTHON_USEDEP}] |
67 |
- >=dev-python/docutils-0.18[${PYTHON_USEDEP}] |
68 |
- >=dev-python/imagesize-1.3[${PYTHON_USEDEP}] |
69 |
- >=dev-python/jinja-3.0[${PYTHON_USEDEP}] |
70 |
- >=dev-python/pygments-2.12[${PYTHON_USEDEP}] |
71 |
- >=dev-python/requests-2.25.0[${PYTHON_USEDEP}] |
72 |
- >=dev-python/snowballstemmer-2.0[${PYTHON_USEDEP}] |
73 |
- dev-python/sphinxcontrib-applehelp[${PYTHON_USEDEP}] |
74 |
- dev-python/sphinxcontrib-devhelp[${PYTHON_USEDEP}] |
75 |
- dev-python/sphinxcontrib-jsmath[${PYTHON_USEDEP}] |
76 |
- >=dev-python/sphinxcontrib-htmlhelp-2.0.0[${PYTHON_USEDEP}] |
77 |
- >=dev-python/sphinxcontrib-serializinghtml-1.1.5[${PYTHON_USEDEP}] |
78 |
- dev-python/sphinxcontrib-qthelp[${PYTHON_USEDEP}] |
79 |
- >=dev-python/packaging-21.0[${PYTHON_USEDEP}] |
80 |
- $(python_gen_cond_dep ' |
81 |
- >=dev-python/importlib_metadata-4.8[${PYTHON_USEDEP}] |
82 |
- ' 3.8 3.9) |
83 |
- latex? ( |
84 |
- dev-texlive/texlive-latexextra |
85 |
- dev-texlive/texlive-luatex |
86 |
- app-text/dvipng |
87 |
- ) |
88 |
- !dev-python/namespace-sphinxcontrib |
89 |
-" |
90 |
-BDEPEND=" |
91 |
- doc? ( |
92 |
- dev-python/sphinxcontrib-websupport[${PYTHON_USEDEP}] |
93 |
- media-gfx/graphviz |
94 |
- ) |
95 |
- test? ( |
96 |
- app-text/dvipng |
97 |
- dev-python/cython[${PYTHON_USEDEP}] |
98 |
- dev-python/html5lib[${PYTHON_USEDEP}] |
99 |
- dev-texlive/texlive-fontsextra |
100 |
- dev-texlive/texlive-latexextra |
101 |
- dev-texlive/texlive-luatex |
102 |
- virtual/imagemagick-tools[jpeg,png,svg] |
103 |
- ) |
104 |
-" |
105 |
- |
106 |
-PATCHES=( |
107 |
- "${FILESDIR}/sphinx-3.2.1-doc-link.patch" |
108 |
- "${FILESDIR}/sphinx-4.3.2-doc-link.patch" |
109 |
-) |
110 |
- |
111 |
-distutils_enable_tests pytest |
112 |
- |
113 |
-python_prepare_all() { |
114 |
- # disable internet access |
115 |
- sed -i -e 's:^intersphinx_mapping:disabled_&:' \ |
116 |
- doc/conf.py || die |
117 |
- |
118 |
- distutils-r1_python_prepare_all |
119 |
-} |
120 |
- |
121 |
-python_compile_all() { |
122 |
- if use doc; then |
123 |
- esetup.py build_sphinx |
124 |
- HTML_DOCS=( build/sphinx/html/. ) |
125 |
- fi |
126 |
-} |
127 |
- |
128 |
-python_test() { |
129 |
- mkdir -p "${BUILD_DIR}/sphinx_tempdir" || die |
130 |
- local -x SPHINX_TEST_TEMPDIR="${BUILD_DIR}/sphinx_tempdir" |
131 |
- |
132 |
- local EPYTEST_DESELECT=( |
133 |
- # these tests require Internet access |
134 |
- tests/test_build_latex.py::test_latex_images |
135 |
- tests/test_build_linkcheck.py::test_defaults |
136 |
- tests/test_build_linkcheck.py::test_defaults_json |
137 |
- tests/test_build_linkcheck.py::test_anchors_ignored |
138 |
- # TODO |
139 |
- tests/test_ext_autodoc_autoclass.py::test_classes |
140 |
- tests/test_ext_autodoc_autofunction.py::test_classes |
141 |
- tests/test_ext_inheritance_diagram.py::test_import_classes |
142 |
- # looks like a bug in lualatex |
143 |
- "tests/test_build_latex.py::test_build_latex_doc[lualatex-howto]" |
144 |
- "tests/test_build_latex.py::test_build_latex_doc[lualatex-manual]" |
145 |
- ) |
146 |
- [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( |
147 |
- tests/test_ext_autodoc.py::test_autodoc_inherited_members_None |
148 |
- tests/test_ext_autodoc.py::test_automethod_for_builtin |
149 |
- tests/test_ext_autodoc.py::test_cython |
150 |
- tests/test_ext_autodoc.py::test_partialfunction |
151 |
- tests/test_ext_autodoc_autoclass.py::test_autodoc_process_bases |
152 |
- tests/test_ext_autodoc_autoclass.py::test_show_inheritance_for_decendants_of_generic_type |
153 |
- tests/test_ext_autodoc_autoclass.py::test_show_inheritance_for_subclass_of_generic_type |
154 |
- tests/test_ext_autodoc_autofunction.py::test_builtin_function |
155 |
- tests/test_ext_autodoc_autofunction.py::test_methoddescriptor |
156 |
- tests/test_ext_autodoc_automodule.py::test_automodule_inherited_members |
157 |
- tests/test_ext_autosummary.py::test_autosummary_generate_content_for_module |
158 |
- tests/test_ext_autosummary.py::test_autosummary_generate_content_for_module_skipped |
159 |
- tests/test_util_inspect.py::test_isattributedescriptor |
160 |
- tests/test_util_typing.py::test_stringify_type_hints_pep_585 |
161 |
- ) |
162 |
- |
163 |
- epytest |
164 |
-} |
165 |
|
166 |
diff --git a/dev-python/sphinx/sphinx-6.1.1.ebuild b/dev-python/sphinx/sphinx-6.1.1.ebuild |
167 |
deleted file mode 100644 |
168 |
index 47c0067bed8d..000000000000 |
169 |
--- a/dev-python/sphinx/sphinx-6.1.1.ebuild |
170 |
+++ /dev/null |
171 |
@@ -1,128 +0,0 @@ |
172 |
-# Copyright 1999-2023 Gentoo Authors |
173 |
-# Distributed under the terms of the GNU General Public License v2 |
174 |
- |
175 |
-EAPI=8 |
176 |
- |
177 |
-DISTUTILS_USE_PEP517=flit |
178 |
-PYTHON_COMPAT=( python3_{9..11} pypy3 ) |
179 |
-PYTHON_REQ_USE="threads(+)" |
180 |
- |
181 |
-inherit distutils-r1 |
182 |
- |
183 |
-DESCRIPTION="Python documentation generator" |
184 |
-HOMEPAGE=" |
185 |
- https://www.sphinx-doc.org/ |
186 |
- https://github.com/sphinx-doc/sphinx/ |
187 |
- https://pypi.org/project/Sphinx/ |
188 |
-" |
189 |
-SRC_URI=" |
190 |
- https://github.com/sphinx-doc/sphinx/archive/v${PV}.tar.gz |
191 |
- -> ${P}.gh.tar.gz |
192 |
-" |
193 |
- |
194 |
-LICENSE="BSD-2" |
195 |
-SLOT="0" |
196 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" |
197 |
-IUSE="doc latex" |
198 |
- |
199 |
-RDEPEND=" |
200 |
- <dev-python/alabaster-0.8[${PYTHON_USEDEP}] |
201 |
- >=dev-python/Babel-2.9[${PYTHON_USEDEP}] |
202 |
- <dev-python/docutils-0.20[${PYTHON_USEDEP}] |
203 |
- >=dev-python/docutils-0.18[${PYTHON_USEDEP}] |
204 |
- >=dev-python/imagesize-1.3[${PYTHON_USEDEP}] |
205 |
- >=dev-python/jinja-3.0[${PYTHON_USEDEP}] |
206 |
- >=dev-python/pygments-2.13[${PYTHON_USEDEP}] |
207 |
- >=dev-python/requests-2.25.0[${PYTHON_USEDEP}] |
208 |
- >=dev-python/snowballstemmer-2.0[${PYTHON_USEDEP}] |
209 |
- dev-python/sphinxcontrib-applehelp[${PYTHON_USEDEP}] |
210 |
- dev-python/sphinxcontrib-devhelp[${PYTHON_USEDEP}] |
211 |
- dev-python/sphinxcontrib-jsmath[${PYTHON_USEDEP}] |
212 |
- >=dev-python/sphinxcontrib-htmlhelp-2.0.0[${PYTHON_USEDEP}] |
213 |
- >=dev-python/sphinxcontrib-serializinghtml-1.1.5[${PYTHON_USEDEP}] |
214 |
- dev-python/sphinxcontrib-qthelp[${PYTHON_USEDEP}] |
215 |
- >=dev-python/packaging-21.0[${PYTHON_USEDEP}] |
216 |
- $(python_gen_cond_dep ' |
217 |
- >=dev-python/importlib_metadata-4.8[${PYTHON_USEDEP}] |
218 |
- ' 3.8 3.9) |
219 |
- latex? ( |
220 |
- dev-texlive/texlive-latexextra |
221 |
- dev-texlive/texlive-luatex |
222 |
- app-text/dvipng |
223 |
- ) |
224 |
- !dev-python/namespace-sphinxcontrib |
225 |
-" |
226 |
-BDEPEND=" |
227 |
- doc? ( |
228 |
- dev-python/sphinxcontrib-websupport[${PYTHON_USEDEP}] |
229 |
- media-gfx/graphviz |
230 |
- ) |
231 |
- test? ( |
232 |
- app-text/dvipng |
233 |
- dev-python/cython[${PYTHON_USEDEP}] |
234 |
- dev-python/html5lib[${PYTHON_USEDEP}] |
235 |
- dev-texlive/texlive-fontsextra |
236 |
- dev-texlive/texlive-latexextra |
237 |
- dev-texlive/texlive-luatex |
238 |
- virtual/imagemagick-tools[jpeg,png,svg] |
239 |
- ) |
240 |
-" |
241 |
- |
242 |
-PATCHES=( |
243 |
- "${FILESDIR}/sphinx-3.2.1-doc-link.patch" |
244 |
- "${FILESDIR}/sphinx-4.3.2-doc-link.patch" |
245 |
-) |
246 |
- |
247 |
-distutils_enable_tests pytest |
248 |
- |
249 |
-python_prepare_all() { |
250 |
- # disable internet access |
251 |
- sed -i -e 's:^intersphinx_mapping:disabled_&:' \ |
252 |
- doc/conf.py || die |
253 |
- |
254 |
- distutils-r1_python_prepare_all |
255 |
-} |
256 |
- |
257 |
-python_compile_all() { |
258 |
- # we can't use distutils_enable_sphinx because it would |
259 |
- # introduce a dep on itself |
260 |
- use doc && build_sphinx doc |
261 |
-} |
262 |
- |
263 |
-python_test() { |
264 |
- mkdir -p "${BUILD_DIR}/sphinx_tempdir" || die |
265 |
- local -x SPHINX_TEST_TEMPDIR="${BUILD_DIR}/sphinx_tempdir" |
266 |
- |
267 |
- local EPYTEST_DESELECT=( |
268 |
- # these tests require Internet access |
269 |
- tests/test_build_latex.py::test_latex_images |
270 |
- tests/test_build_linkcheck.py::test_defaults |
271 |
- tests/test_build_linkcheck.py::test_defaults_json |
272 |
- tests/test_build_linkcheck.py::test_anchors_ignored |
273 |
- # TODO |
274 |
- tests/test_ext_autodoc_autoclass.py::test_classes |
275 |
- tests/test_ext_autodoc_autofunction.py::test_classes |
276 |
- tests/test_ext_inheritance_diagram.py::test_import_classes |
277 |
- # looks like a bug in lualatex |
278 |
- "tests/test_build_latex.py::test_build_latex_doc[lualatex-howto]" |
279 |
- "tests/test_build_latex.py::test_build_latex_doc[lualatex-manual]" |
280 |
- ) |
281 |
- [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( |
282 |
- tests/test_ext_autodoc.py::test_autodoc_inherited_members_None |
283 |
- tests/test_ext_autodoc.py::test_automethod_for_builtin |
284 |
- tests/test_ext_autodoc.py::test_cython |
285 |
- tests/test_ext_autodoc.py::test_partialfunction |
286 |
- tests/test_ext_autodoc_autoclass.py::test_autodoc_process_bases |
287 |
- tests/test_ext_autodoc_autoclass.py::test_show_inheritance_for_decendants_of_generic_type |
288 |
- tests/test_ext_autodoc_autoclass.py::test_show_inheritance_for_subclass_of_generic_type |
289 |
- tests/test_ext_autodoc_autofunction.py::test_builtin_function |
290 |
- tests/test_ext_autodoc_autofunction.py::test_methoddescriptor |
291 |
- tests/test_ext_autodoc_automodule.py::test_automodule_inherited_members |
292 |
- tests/test_ext_autosummary.py::test_autosummary_generate_content_for_module |
293 |
- tests/test_ext_autosummary.py::test_autosummary_generate_content_for_module_skipped |
294 |
- tests/test_util_inspect.py::test_isattributedescriptor |
295 |
- tests/test_util_typing.py::test_stringify_type_hints_pep_585 |
296 |
- ) |
297 |
- |
298 |
- epytest |
299 |
-} |
300 |
|
301 |
diff --git a/dev-python/sphinx/sphinx-6.1.2.ebuild b/dev-python/sphinx/sphinx-6.1.2.ebuild |
302 |
deleted file mode 100644 |
303 |
index 47c0067bed8d..000000000000 |
304 |
--- a/dev-python/sphinx/sphinx-6.1.2.ebuild |
305 |
+++ /dev/null |
306 |
@@ -1,128 +0,0 @@ |
307 |
-# Copyright 1999-2023 Gentoo Authors |
308 |
-# Distributed under the terms of the GNU General Public License v2 |
309 |
- |
310 |
-EAPI=8 |
311 |
- |
312 |
-DISTUTILS_USE_PEP517=flit |
313 |
-PYTHON_COMPAT=( python3_{9..11} pypy3 ) |
314 |
-PYTHON_REQ_USE="threads(+)" |
315 |
- |
316 |
-inherit distutils-r1 |
317 |
- |
318 |
-DESCRIPTION="Python documentation generator" |
319 |
-HOMEPAGE=" |
320 |
- https://www.sphinx-doc.org/ |
321 |
- https://github.com/sphinx-doc/sphinx/ |
322 |
- https://pypi.org/project/Sphinx/ |
323 |
-" |
324 |
-SRC_URI=" |
325 |
- https://github.com/sphinx-doc/sphinx/archive/v${PV}.tar.gz |
326 |
- -> ${P}.gh.tar.gz |
327 |
-" |
328 |
- |
329 |
-LICENSE="BSD-2" |
330 |
-SLOT="0" |
331 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" |
332 |
-IUSE="doc latex" |
333 |
- |
334 |
-RDEPEND=" |
335 |
- <dev-python/alabaster-0.8[${PYTHON_USEDEP}] |
336 |
- >=dev-python/Babel-2.9[${PYTHON_USEDEP}] |
337 |
- <dev-python/docutils-0.20[${PYTHON_USEDEP}] |
338 |
- >=dev-python/docutils-0.18[${PYTHON_USEDEP}] |
339 |
- >=dev-python/imagesize-1.3[${PYTHON_USEDEP}] |
340 |
- >=dev-python/jinja-3.0[${PYTHON_USEDEP}] |
341 |
- >=dev-python/pygments-2.13[${PYTHON_USEDEP}] |
342 |
- >=dev-python/requests-2.25.0[${PYTHON_USEDEP}] |
343 |
- >=dev-python/snowballstemmer-2.0[${PYTHON_USEDEP}] |
344 |
- dev-python/sphinxcontrib-applehelp[${PYTHON_USEDEP}] |
345 |
- dev-python/sphinxcontrib-devhelp[${PYTHON_USEDEP}] |
346 |
- dev-python/sphinxcontrib-jsmath[${PYTHON_USEDEP}] |
347 |
- >=dev-python/sphinxcontrib-htmlhelp-2.0.0[${PYTHON_USEDEP}] |
348 |
- >=dev-python/sphinxcontrib-serializinghtml-1.1.5[${PYTHON_USEDEP}] |
349 |
- dev-python/sphinxcontrib-qthelp[${PYTHON_USEDEP}] |
350 |
- >=dev-python/packaging-21.0[${PYTHON_USEDEP}] |
351 |
- $(python_gen_cond_dep ' |
352 |
- >=dev-python/importlib_metadata-4.8[${PYTHON_USEDEP}] |
353 |
- ' 3.8 3.9) |
354 |
- latex? ( |
355 |
- dev-texlive/texlive-latexextra |
356 |
- dev-texlive/texlive-luatex |
357 |
- app-text/dvipng |
358 |
- ) |
359 |
- !dev-python/namespace-sphinxcontrib |
360 |
-" |
361 |
-BDEPEND=" |
362 |
- doc? ( |
363 |
- dev-python/sphinxcontrib-websupport[${PYTHON_USEDEP}] |
364 |
- media-gfx/graphviz |
365 |
- ) |
366 |
- test? ( |
367 |
- app-text/dvipng |
368 |
- dev-python/cython[${PYTHON_USEDEP}] |
369 |
- dev-python/html5lib[${PYTHON_USEDEP}] |
370 |
- dev-texlive/texlive-fontsextra |
371 |
- dev-texlive/texlive-latexextra |
372 |
- dev-texlive/texlive-luatex |
373 |
- virtual/imagemagick-tools[jpeg,png,svg] |
374 |
- ) |
375 |
-" |
376 |
- |
377 |
-PATCHES=( |
378 |
- "${FILESDIR}/sphinx-3.2.1-doc-link.patch" |
379 |
- "${FILESDIR}/sphinx-4.3.2-doc-link.patch" |
380 |
-) |
381 |
- |
382 |
-distutils_enable_tests pytest |
383 |
- |
384 |
-python_prepare_all() { |
385 |
- # disable internet access |
386 |
- sed -i -e 's:^intersphinx_mapping:disabled_&:' \ |
387 |
- doc/conf.py || die |
388 |
- |
389 |
- distutils-r1_python_prepare_all |
390 |
-} |
391 |
- |
392 |
-python_compile_all() { |
393 |
- # we can't use distutils_enable_sphinx because it would |
394 |
- # introduce a dep on itself |
395 |
- use doc && build_sphinx doc |
396 |
-} |
397 |
- |
398 |
-python_test() { |
399 |
- mkdir -p "${BUILD_DIR}/sphinx_tempdir" || die |
400 |
- local -x SPHINX_TEST_TEMPDIR="${BUILD_DIR}/sphinx_tempdir" |
401 |
- |
402 |
- local EPYTEST_DESELECT=( |
403 |
- # these tests require Internet access |
404 |
- tests/test_build_latex.py::test_latex_images |
405 |
- tests/test_build_linkcheck.py::test_defaults |
406 |
- tests/test_build_linkcheck.py::test_defaults_json |
407 |
- tests/test_build_linkcheck.py::test_anchors_ignored |
408 |
- # TODO |
409 |
- tests/test_ext_autodoc_autoclass.py::test_classes |
410 |
- tests/test_ext_autodoc_autofunction.py::test_classes |
411 |
- tests/test_ext_inheritance_diagram.py::test_import_classes |
412 |
- # looks like a bug in lualatex |
413 |
- "tests/test_build_latex.py::test_build_latex_doc[lualatex-howto]" |
414 |
- "tests/test_build_latex.py::test_build_latex_doc[lualatex-manual]" |
415 |
- ) |
416 |
- [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( |
417 |
- tests/test_ext_autodoc.py::test_autodoc_inherited_members_None |
418 |
- tests/test_ext_autodoc.py::test_automethod_for_builtin |
419 |
- tests/test_ext_autodoc.py::test_cython |
420 |
- tests/test_ext_autodoc.py::test_partialfunction |
421 |
- tests/test_ext_autodoc_autoclass.py::test_autodoc_process_bases |
422 |
- tests/test_ext_autodoc_autoclass.py::test_show_inheritance_for_decendants_of_generic_type |
423 |
- tests/test_ext_autodoc_autoclass.py::test_show_inheritance_for_subclass_of_generic_type |
424 |
- tests/test_ext_autodoc_autofunction.py::test_builtin_function |
425 |
- tests/test_ext_autodoc_autofunction.py::test_methoddescriptor |
426 |
- tests/test_ext_autodoc_automodule.py::test_automodule_inherited_members |
427 |
- tests/test_ext_autosummary.py::test_autosummary_generate_content_for_module |
428 |
- tests/test_ext_autosummary.py::test_autosummary_generate_content_for_module_skipped |
429 |
- tests/test_util_inspect.py::test_isattributedescriptor |
430 |
- tests/test_util_typing.py::test_stringify_type_hints_pep_585 |
431 |
- ) |
432 |
- |
433 |
- epytest |
434 |
-} |