Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sphinx/
Date: Thu, 03 Nov 2022 19:44:34
Message-Id: 1667504642.8eecabacccea18b7a40412aff52ebc169c5bd8fd.arthurzam@gentoo
1 commit: 8eecabacccea18b7a40412aff52ebc169c5bd8fd
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Thu Nov 3 19:44:02 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 3 19:44:02 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8eecabac
7
8 dev-python/sphinx: drop 5.1.1, 5.2.0, 5.2.1, 5.2.2
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 dev-python/sphinx/Manifest | 4 --
13 dev-python/sphinx/sphinx-5.1.1.ebuild | 124 ---------------------------------
14 dev-python/sphinx/sphinx-5.2.0.ebuild | 125 ----------------------------------
15 dev-python/sphinx/sphinx-5.2.1.ebuild | 125 ----------------------------------
16 dev-python/sphinx/sphinx-5.2.2.ebuild | 125 ----------------------------------
17 5 files changed, 503 deletions(-)
18
19 diff --git a/dev-python/sphinx/Manifest b/dev-python/sphinx/Manifest
20 index fdd4b375cfd6..c9d4ef56a475 100644
21 --- a/dev-python/sphinx/Manifest
22 +++ b/dev-python/sphinx/Manifest
23 @@ -1,7 +1,3 @@
24 DIST Sphinx-4.5.0.tar.gz 6698212 BLAKE2B e6c46d35492c3d3068c4f97e497d33973ca86b40934578804fcec901fa89d2c52b45a7546b835b873846dd16936c1bd34a7b053aec8206c688d974671155fd56 SHA512 b44d2a81ed67adaefe16a07ae0cf053b5e6c775023aaa6c57d7b3950f171deac410e8004f787b151c3c2fc350650aa69a4dc2dc7239d1fd3d351e5194617cb2c
25 -DIST sphinx-5.1.1.gh.tar.gz 6766329 BLAKE2B ff385abe35d4a700cbb3cd8acc72313f7c923d48b38934cc35ea6128ef6c16eb6a33604daea25f81f60b65951b4623f62cd4c1a482b2c5e7285ce0ddb6226c80 SHA512 23261cabbcc73072134c22e7fb36f4c7911f4284cea9cc7be6006e500d9de65727f43214fb4427d307845cc684b9a569960ed276320855283a33b9542a2a6918
26 -DIST sphinx-5.2.0.gh.tar.gz 6777631 BLAKE2B 53514f0561a53e656f15f434f79a2e2a6c0b41989bbc98f8c7e3e0548ab180339d2908827a933124576dacbed76db7e519ee1e626597a3f50900a90cb8b1c23b SHA512 480c288cd9bf3c1bc61aa97fc4549dd6f0c3d23c2fb5cc5f15a20780984c518f50638a42a87b9c2c0b4eb24ef57e6cfbd812a82a9227ae439028a0fdd5f165a7
27 -DIST sphinx-5.2.1.gh.tar.gz 6777833 BLAKE2B 128c8bbeb1609eef353da88a6d7dc561839b9e60abc46325b96e668a2babc39695f65d7e9539ab8faaae7ba27f558e6ec300579f94f1a62da9ef0d9804eda893 SHA512 bb51a91f7eb9643cf30be732cd0d9d45a90a1358d8379d89ac3ec0a46dcb0724a57ec4d5062375b6a98bfbb5d688d709ca9a1ed65d7825f4402cacf01cc9e034
28 -DIST sphinx-5.2.2.gh.tar.gz 6777525 BLAKE2B a6b5ff51072407be6e9bc7ae4d287826b8ce391c1ed712595d99c35af6279ea5404e28c48f8694620f246001824bb7cf2b0ac18d90f859874740d54a12ff9c33 SHA512 290ccea3ddf8dd73679976064fde6130213085c352972da0db4aba1a8f2fcb2e69ed52f2bb2469661bdfd90a1bf75255075e133e08cfcc301f28116415bad080
29 DIST sphinx-5.2.3.gh.tar.gz 6778166 BLAKE2B 0ba15fb7d558ee4d2d2ead5e04aa65d32dbda3b711d43723f8267dcd88ebf18711081aecdaa607e4bcac1198bd3f55409379f5f912e3a6a672508b941ed72891 SHA512 8a78beb63bdfafe4808c12e3d09adf1e222f0555171eb177f578c4434a454c0527171b1fc751e5df654c7a5f78b2b5709be5b32edaeb98f5f6ae71719efec327
30 DIST sphinx-5.3.0.gh.tar.gz 6873479 BLAKE2B c57ede5e3d83447c6152d050d45df73bced62ce0cdcd84ea6316a48bff072590ad036c469dee053a9dc5eb1a7ae53b350aa25b5fe14c3378dc6543186552f720 SHA512 6877635d46f2e1f2b4cf4edaca463d85bf740a13bbeb867486efd57904aacc42626e6a4f58ad971e50808d31391d068702c4f2910a95e5c86dbd68d87e2552c8
31
32 diff --git a/dev-python/sphinx/sphinx-5.1.1.ebuild b/dev-python/sphinx/sphinx-5.1.1.ebuild
33 deleted file mode 100644
34 index 2680fb049358..000000000000
35 --- a/dev-python/sphinx/sphinx-5.1.1.ebuild
36 +++ /dev/null
37 @@ -1,124 +0,0 @@
38 -# Copyright 1999-2022 Gentoo Authors
39 -# Distributed under the terms of the GNU General Public License v2
40 -
41 -EAPI=8
42 -
43 -DISTUTILS_USE_PEP517=setuptools
44 -PYTHON_COMPAT=( python3_{8..11} pypy3 )
45 -PYTHON_REQ_USE="threads(+)"
46 -
47 -inherit distutils-r1
48 -
49 -DESCRIPTION="Python documentation generator"
50 -HOMEPAGE="
51 - https://www.sphinx-doc.org/
52 - https://github.com/sphinx-doc/sphinx/
53 - https://pypi.org/project/Sphinx/
54 -"
55 -SRC_URI="
56 - https://github.com/sphinx-doc/sphinx/archive/v${PV}.tar.gz
57 - -> ${P}.gh.tar.gz
58 -"
59 -
60 -LICENSE="BSD"
61 -SLOT="0"
62 -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"
63 -IUSE="doc latex"
64 -
65 -RDEPEND="
66 - <dev-python/alabaster-0.8[${PYTHON_USEDEP}]
67 - >=dev-python/Babel-1.3[${PYTHON_USEDEP}]
68 - <dev-python/docutils-0.20[${PYTHON_USEDEP}]
69 - dev-python/imagesize[${PYTHON_USEDEP}]
70 - >=dev-python/jinja-2.3[${PYTHON_USEDEP}]
71 - >=dev-python/pygments-2.0[${PYTHON_USEDEP}]
72 - >=dev-python/requests-2.5.0[${PYTHON_USEDEP}]
73 - >=dev-python/snowballstemmer-1.1[${PYTHON_USEDEP}]
74 - dev-python/sphinxcontrib-applehelp[${PYTHON_USEDEP}]
75 - dev-python/sphinxcontrib-devhelp[${PYTHON_USEDEP}]
76 - dev-python/sphinxcontrib-jsmath[${PYTHON_USEDEP}]
77 - >=dev-python/sphinxcontrib-htmlhelp-2.0.0[${PYTHON_USEDEP}]
78 - >=dev-python/sphinxcontrib-serializinghtml-1.1.5[${PYTHON_USEDEP}]
79 - dev-python/sphinxcontrib-qthelp[${PYTHON_USEDEP}]
80 - dev-python/packaging[${PYTHON_USEDEP}]
81 - $(python_gen_cond_dep '
82 - >=dev-python/importlib_metadata-4.4[${PYTHON_USEDEP}]
83 - ' 3.8 3.9)
84 - latex? (
85 - dev-texlive/texlive-latexextra
86 - dev-texlive/texlive-luatex
87 - app-text/dvipng
88 - )
89 - !dev-python/namespace-sphinxcontrib
90 -"
91 -BDEPEND="
92 - doc? (
93 - dev-python/sphinxcontrib-websupport[${PYTHON_USEDEP}]
94 - media-gfx/graphviz
95 - )
96 - test? (
97 - dev-python/html5lib[${PYTHON_USEDEP}]
98 - virtual/imagemagick-tools[jpeg,png,svg]
99 - dev-texlive/texlive-fontsextra
100 - dev-texlive/texlive-latexextra
101 - dev-texlive/texlive-luatex
102 - app-text/dvipng
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_DIR}"/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 - )
143 - [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=(
144 - tests/test_ext_autodoc.py::test_autodoc_inherited_members_None
145 - tests/test_ext_autodoc.py::test_automethod_for_builtin
146 - tests/test_ext_autodoc.py::test_cython
147 - tests/test_ext_autodoc.py::test_partialfunction
148 - tests/test_ext_autodoc_autoclass.py::test_autodoc_process_bases
149 - tests/test_ext_autodoc_autoclass.py::test_show_inheritance_for_decendants_of_generic_type
150 - tests/test_ext_autodoc_autoclass.py::test_show_inheritance_for_subclass_of_generic_type
151 - tests/test_ext_autodoc_autofunction.py::test_builtin_function
152 - tests/test_ext_autodoc_autofunction.py::test_methoddescriptor
153 - tests/test_ext_autodoc_automodule.py::test_automodule_inherited_members
154 - tests/test_ext_autosummary.py::test_autosummary_generate_content_for_module
155 - tests/test_ext_autosummary.py::test_autosummary_generate_content_for_module_skipped
156 - tests/test_util_inspect.py::test_isattributedescriptor
157 - tests/test_util_typing.py::test_stringify_type_hints_pep_585
158 - )
159 -
160 - epytest
161 -}
162
163 diff --git a/dev-python/sphinx/sphinx-5.2.0.ebuild b/dev-python/sphinx/sphinx-5.2.0.ebuild
164 deleted file mode 100644
165 index 46163127e936..000000000000
166 --- a/dev-python/sphinx/sphinx-5.2.0.ebuild
167 +++ /dev/null
168 @@ -1,125 +0,0 @@
169 -# Copyright 1999-2022 Gentoo Authors
170 -# Distributed under the terms of the GNU General Public License v2
171 -
172 -EAPI=8
173 -
174 -DISTUTILS_USE_PEP517=flit
175 -PYTHON_COMPAT=( python3_{8..11} pypy3 )
176 -PYTHON_REQ_USE="threads(+)"
177 -
178 -inherit distutils-r1
179 -
180 -DESCRIPTION="Python documentation generator"
181 -HOMEPAGE="
182 - https://www.sphinx-doc.org/
183 - https://github.com/sphinx-doc/sphinx/
184 - https://pypi.org/project/Sphinx/
185 -"
186 -SRC_URI="
187 - https://github.com/sphinx-doc/sphinx/archive/v${PV}.tar.gz
188 - -> ${P}.gh.tar.gz
189 -"
190 -
191 -LICENSE="BSD"
192 -SLOT="0"
193 -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"
194 -IUSE="doc latex"
195 -
196 -RDEPEND="
197 - <dev-python/alabaster-0.8[${PYTHON_USEDEP}]
198 - >=dev-python/Babel-2.9[${PYTHON_USEDEP}]
199 - <dev-python/docutils-0.20[${PYTHON_USEDEP}]
200 - >=dev-python/imagesize-1.3[${PYTHON_USEDEP}]
201 - >=dev-python/jinja-3.0[${PYTHON_USEDEP}]
202 - >=dev-python/pygments-2.12[${PYTHON_USEDEP}]
203 - >=dev-python/requests-2.5.0[${PYTHON_USEDEP}]
204 - >=dev-python/snowballstemmer-2.0[${PYTHON_USEDEP}]
205 - dev-python/sphinxcontrib-applehelp[${PYTHON_USEDEP}]
206 - dev-python/sphinxcontrib-devhelp[${PYTHON_USEDEP}]
207 - dev-python/sphinxcontrib-jsmath[${PYTHON_USEDEP}]
208 - >=dev-python/sphinxcontrib-htmlhelp-2.0.0[${PYTHON_USEDEP}]
209 - >=dev-python/sphinxcontrib-serializinghtml-1.1.5[${PYTHON_USEDEP}]
210 - dev-python/sphinxcontrib-qthelp[${PYTHON_USEDEP}]
211 - >=dev-python/packaging-21.0[${PYTHON_USEDEP}]
212 - $(python_gen_cond_dep '
213 - >=dev-python/importlib_metadata-4.8[${PYTHON_USEDEP}]
214 - ' 3.8 3.9)
215 - latex? (
216 - dev-texlive/texlive-latexextra
217 - dev-texlive/texlive-luatex
218 - app-text/dvipng
219 - )
220 - !dev-python/namespace-sphinxcontrib
221 -"
222 -BDEPEND="
223 - doc? (
224 - dev-python/sphinxcontrib-websupport[${PYTHON_USEDEP}]
225 - media-gfx/graphviz
226 - )
227 - test? (
228 - app-text/dvipng
229 - dev-python/cython[${PYTHON_USEDEP}]
230 - dev-python/html5lib[${PYTHON_USEDEP}]
231 - dev-texlive/texlive-fontsextra
232 - dev-texlive/texlive-latexextra
233 - dev-texlive/texlive-luatex
234 - virtual/imagemagick-tools[jpeg,png,svg]
235 - )
236 -"
237 -
238 -PATCHES=(
239 - "${FILESDIR}/sphinx-3.2.1-doc-link.patch"
240 - "${FILESDIR}/sphinx-4.3.2-doc-link.patch"
241 -)
242 -
243 -distutils_enable_tests pytest
244 -
245 -python_prepare_all() {
246 - # disable internet access
247 - sed -i -e 's:^intersphinx_mapping:disabled_&:' \
248 - doc/conf.py || die
249 -
250 - distutils-r1_python_prepare_all
251 -}
252 -
253 -python_compile_all() {
254 - if use doc; then
255 - esetup.py build_sphinx
256 - HTML_DOCS=( "${BUILD_DIR}"/sphinx/html/. )
257 - fi
258 -}
259 -
260 -python_test() {
261 - mkdir -p "${BUILD_DIR}/sphinx_tempdir" || die
262 - local -x SPHINX_TEST_TEMPDIR="${BUILD_DIR}/sphinx_tempdir"
263 -
264 - local EPYTEST_DESELECT=(
265 - # these tests require Internet access
266 - tests/test_build_latex.py::test_latex_images
267 - tests/test_build_linkcheck.py::test_defaults
268 - tests/test_build_linkcheck.py::test_defaults_json
269 - tests/test_build_linkcheck.py::test_anchors_ignored
270 - # TODO
271 - tests/test_ext_autodoc_autoclass.py::test_classes
272 - tests/test_ext_autodoc_autofunction.py::test_classes
273 - tests/test_ext_inheritance_diagram.py::test_import_classes
274 - )
275 - [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=(
276 - tests/test_ext_autodoc.py::test_autodoc_inherited_members_None
277 - tests/test_ext_autodoc.py::test_automethod_for_builtin
278 - tests/test_ext_autodoc.py::test_cython
279 - tests/test_ext_autodoc.py::test_partialfunction
280 - tests/test_ext_autodoc_autoclass.py::test_autodoc_process_bases
281 - tests/test_ext_autodoc_autoclass.py::test_show_inheritance_for_decendants_of_generic_type
282 - tests/test_ext_autodoc_autoclass.py::test_show_inheritance_for_subclass_of_generic_type
283 - tests/test_ext_autodoc_autofunction.py::test_builtin_function
284 - tests/test_ext_autodoc_autofunction.py::test_methoddescriptor
285 - tests/test_ext_autodoc_automodule.py::test_automodule_inherited_members
286 - tests/test_ext_autosummary.py::test_autosummary_generate_content_for_module
287 - tests/test_ext_autosummary.py::test_autosummary_generate_content_for_module_skipped
288 - tests/test_util_inspect.py::test_isattributedescriptor
289 - tests/test_util_typing.py::test_stringify_type_hints_pep_585
290 - )
291 -
292 - epytest
293 -}
294
295 diff --git a/dev-python/sphinx/sphinx-5.2.1.ebuild b/dev-python/sphinx/sphinx-5.2.1.ebuild
296 deleted file mode 100644
297 index 46163127e936..000000000000
298 --- a/dev-python/sphinx/sphinx-5.2.1.ebuild
299 +++ /dev/null
300 @@ -1,125 +0,0 @@
301 -# Copyright 1999-2022 Gentoo Authors
302 -# Distributed under the terms of the GNU General Public License v2
303 -
304 -EAPI=8
305 -
306 -DISTUTILS_USE_PEP517=flit
307 -PYTHON_COMPAT=( python3_{8..11} pypy3 )
308 -PYTHON_REQ_USE="threads(+)"
309 -
310 -inherit distutils-r1
311 -
312 -DESCRIPTION="Python documentation generator"
313 -HOMEPAGE="
314 - https://www.sphinx-doc.org/
315 - https://github.com/sphinx-doc/sphinx/
316 - https://pypi.org/project/Sphinx/
317 -"
318 -SRC_URI="
319 - https://github.com/sphinx-doc/sphinx/archive/v${PV}.tar.gz
320 - -> ${P}.gh.tar.gz
321 -"
322 -
323 -LICENSE="BSD"
324 -SLOT="0"
325 -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"
326 -IUSE="doc latex"
327 -
328 -RDEPEND="
329 - <dev-python/alabaster-0.8[${PYTHON_USEDEP}]
330 - >=dev-python/Babel-2.9[${PYTHON_USEDEP}]
331 - <dev-python/docutils-0.20[${PYTHON_USEDEP}]
332 - >=dev-python/imagesize-1.3[${PYTHON_USEDEP}]
333 - >=dev-python/jinja-3.0[${PYTHON_USEDEP}]
334 - >=dev-python/pygments-2.12[${PYTHON_USEDEP}]
335 - >=dev-python/requests-2.5.0[${PYTHON_USEDEP}]
336 - >=dev-python/snowballstemmer-2.0[${PYTHON_USEDEP}]
337 - dev-python/sphinxcontrib-applehelp[${PYTHON_USEDEP}]
338 - dev-python/sphinxcontrib-devhelp[${PYTHON_USEDEP}]
339 - dev-python/sphinxcontrib-jsmath[${PYTHON_USEDEP}]
340 - >=dev-python/sphinxcontrib-htmlhelp-2.0.0[${PYTHON_USEDEP}]
341 - >=dev-python/sphinxcontrib-serializinghtml-1.1.5[${PYTHON_USEDEP}]
342 - dev-python/sphinxcontrib-qthelp[${PYTHON_USEDEP}]
343 - >=dev-python/packaging-21.0[${PYTHON_USEDEP}]
344 - $(python_gen_cond_dep '
345 - >=dev-python/importlib_metadata-4.8[${PYTHON_USEDEP}]
346 - ' 3.8 3.9)
347 - latex? (
348 - dev-texlive/texlive-latexextra
349 - dev-texlive/texlive-luatex
350 - app-text/dvipng
351 - )
352 - !dev-python/namespace-sphinxcontrib
353 -"
354 -BDEPEND="
355 - doc? (
356 - dev-python/sphinxcontrib-websupport[${PYTHON_USEDEP}]
357 - media-gfx/graphviz
358 - )
359 - test? (
360 - app-text/dvipng
361 - dev-python/cython[${PYTHON_USEDEP}]
362 - dev-python/html5lib[${PYTHON_USEDEP}]
363 - dev-texlive/texlive-fontsextra
364 - dev-texlive/texlive-latexextra
365 - dev-texlive/texlive-luatex
366 - virtual/imagemagick-tools[jpeg,png,svg]
367 - )
368 -"
369 -
370 -PATCHES=(
371 - "${FILESDIR}/sphinx-3.2.1-doc-link.patch"
372 - "${FILESDIR}/sphinx-4.3.2-doc-link.patch"
373 -)
374 -
375 -distutils_enable_tests pytest
376 -
377 -python_prepare_all() {
378 - # disable internet access
379 - sed -i -e 's:^intersphinx_mapping:disabled_&:' \
380 - doc/conf.py || die
381 -
382 - distutils-r1_python_prepare_all
383 -}
384 -
385 -python_compile_all() {
386 - if use doc; then
387 - esetup.py build_sphinx
388 - HTML_DOCS=( "${BUILD_DIR}"/sphinx/html/. )
389 - fi
390 -}
391 -
392 -python_test() {
393 - mkdir -p "${BUILD_DIR}/sphinx_tempdir" || die
394 - local -x SPHINX_TEST_TEMPDIR="${BUILD_DIR}/sphinx_tempdir"
395 -
396 - local EPYTEST_DESELECT=(
397 - # these tests require Internet access
398 - tests/test_build_latex.py::test_latex_images
399 - tests/test_build_linkcheck.py::test_defaults
400 - tests/test_build_linkcheck.py::test_defaults_json
401 - tests/test_build_linkcheck.py::test_anchors_ignored
402 - # TODO
403 - tests/test_ext_autodoc_autoclass.py::test_classes
404 - tests/test_ext_autodoc_autofunction.py::test_classes
405 - tests/test_ext_inheritance_diagram.py::test_import_classes
406 - )
407 - [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=(
408 - tests/test_ext_autodoc.py::test_autodoc_inherited_members_None
409 - tests/test_ext_autodoc.py::test_automethod_for_builtin
410 - tests/test_ext_autodoc.py::test_cython
411 - tests/test_ext_autodoc.py::test_partialfunction
412 - tests/test_ext_autodoc_autoclass.py::test_autodoc_process_bases
413 - tests/test_ext_autodoc_autoclass.py::test_show_inheritance_for_decendants_of_generic_type
414 - tests/test_ext_autodoc_autoclass.py::test_show_inheritance_for_subclass_of_generic_type
415 - tests/test_ext_autodoc_autofunction.py::test_builtin_function
416 - tests/test_ext_autodoc_autofunction.py::test_methoddescriptor
417 - tests/test_ext_autodoc_automodule.py::test_automodule_inherited_members
418 - tests/test_ext_autosummary.py::test_autosummary_generate_content_for_module
419 - tests/test_ext_autosummary.py::test_autosummary_generate_content_for_module_skipped
420 - tests/test_util_inspect.py::test_isattributedescriptor
421 - tests/test_util_typing.py::test_stringify_type_hints_pep_585
422 - )
423 -
424 - epytest
425 -}
426
427 diff --git a/dev-python/sphinx/sphinx-5.2.2.ebuild b/dev-python/sphinx/sphinx-5.2.2.ebuild
428 deleted file mode 100644
429 index 46163127e936..000000000000
430 --- a/dev-python/sphinx/sphinx-5.2.2.ebuild
431 +++ /dev/null
432 @@ -1,125 +0,0 @@
433 -# Copyright 1999-2022 Gentoo Authors
434 -# Distributed under the terms of the GNU General Public License v2
435 -
436 -EAPI=8
437 -
438 -DISTUTILS_USE_PEP517=flit
439 -PYTHON_COMPAT=( python3_{8..11} pypy3 )
440 -PYTHON_REQ_USE="threads(+)"
441 -
442 -inherit distutils-r1
443 -
444 -DESCRIPTION="Python documentation generator"
445 -HOMEPAGE="
446 - https://www.sphinx-doc.org/
447 - https://github.com/sphinx-doc/sphinx/
448 - https://pypi.org/project/Sphinx/
449 -"
450 -SRC_URI="
451 - https://github.com/sphinx-doc/sphinx/archive/v${PV}.tar.gz
452 - -> ${P}.gh.tar.gz
453 -"
454 -
455 -LICENSE="BSD"
456 -SLOT="0"
457 -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"
458 -IUSE="doc latex"
459 -
460 -RDEPEND="
461 - <dev-python/alabaster-0.8[${PYTHON_USEDEP}]
462 - >=dev-python/Babel-2.9[${PYTHON_USEDEP}]
463 - <dev-python/docutils-0.20[${PYTHON_USEDEP}]
464 - >=dev-python/imagesize-1.3[${PYTHON_USEDEP}]
465 - >=dev-python/jinja-3.0[${PYTHON_USEDEP}]
466 - >=dev-python/pygments-2.12[${PYTHON_USEDEP}]
467 - >=dev-python/requests-2.5.0[${PYTHON_USEDEP}]
468 - >=dev-python/snowballstemmer-2.0[${PYTHON_USEDEP}]
469 - dev-python/sphinxcontrib-applehelp[${PYTHON_USEDEP}]
470 - dev-python/sphinxcontrib-devhelp[${PYTHON_USEDEP}]
471 - dev-python/sphinxcontrib-jsmath[${PYTHON_USEDEP}]
472 - >=dev-python/sphinxcontrib-htmlhelp-2.0.0[${PYTHON_USEDEP}]
473 - >=dev-python/sphinxcontrib-serializinghtml-1.1.5[${PYTHON_USEDEP}]
474 - dev-python/sphinxcontrib-qthelp[${PYTHON_USEDEP}]
475 - >=dev-python/packaging-21.0[${PYTHON_USEDEP}]
476 - $(python_gen_cond_dep '
477 - >=dev-python/importlib_metadata-4.8[${PYTHON_USEDEP}]
478 - ' 3.8 3.9)
479 - latex? (
480 - dev-texlive/texlive-latexextra
481 - dev-texlive/texlive-luatex
482 - app-text/dvipng
483 - )
484 - !dev-python/namespace-sphinxcontrib
485 -"
486 -BDEPEND="
487 - doc? (
488 - dev-python/sphinxcontrib-websupport[${PYTHON_USEDEP}]
489 - media-gfx/graphviz
490 - )
491 - test? (
492 - app-text/dvipng
493 - dev-python/cython[${PYTHON_USEDEP}]
494 - dev-python/html5lib[${PYTHON_USEDEP}]
495 - dev-texlive/texlive-fontsextra
496 - dev-texlive/texlive-latexextra
497 - dev-texlive/texlive-luatex
498 - virtual/imagemagick-tools[jpeg,png,svg]
499 - )
500 -"
501 -
502 -PATCHES=(
503 - "${FILESDIR}/sphinx-3.2.1-doc-link.patch"
504 - "${FILESDIR}/sphinx-4.3.2-doc-link.patch"
505 -)
506 -
507 -distutils_enable_tests pytest
508 -
509 -python_prepare_all() {
510 - # disable internet access
511 - sed -i -e 's:^intersphinx_mapping:disabled_&:' \
512 - doc/conf.py || die
513 -
514 - distutils-r1_python_prepare_all
515 -}
516 -
517 -python_compile_all() {
518 - if use doc; then
519 - esetup.py build_sphinx
520 - HTML_DOCS=( "${BUILD_DIR}"/sphinx/html/. )
521 - fi
522 -}
523 -
524 -python_test() {
525 - mkdir -p "${BUILD_DIR}/sphinx_tempdir" || die
526 - local -x SPHINX_TEST_TEMPDIR="${BUILD_DIR}/sphinx_tempdir"
527 -
528 - local EPYTEST_DESELECT=(
529 - # these tests require Internet access
530 - tests/test_build_latex.py::test_latex_images
531 - tests/test_build_linkcheck.py::test_defaults
532 - tests/test_build_linkcheck.py::test_defaults_json
533 - tests/test_build_linkcheck.py::test_anchors_ignored
534 - # TODO
535 - tests/test_ext_autodoc_autoclass.py::test_classes
536 - tests/test_ext_autodoc_autofunction.py::test_classes
537 - tests/test_ext_inheritance_diagram.py::test_import_classes
538 - )
539 - [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=(
540 - tests/test_ext_autodoc.py::test_autodoc_inherited_members_None
541 - tests/test_ext_autodoc.py::test_automethod_for_builtin
542 - tests/test_ext_autodoc.py::test_cython
543 - tests/test_ext_autodoc.py::test_partialfunction
544 - tests/test_ext_autodoc_autoclass.py::test_autodoc_process_bases
545 - tests/test_ext_autodoc_autoclass.py::test_show_inheritance_for_decendants_of_generic_type
546 - tests/test_ext_autodoc_autoclass.py::test_show_inheritance_for_subclass_of_generic_type
547 - tests/test_ext_autodoc_autofunction.py::test_builtin_function
548 - tests/test_ext_autodoc_autofunction.py::test_methoddescriptor
549 - tests/test_ext_autodoc_automodule.py::test_automodule_inherited_members
550 - tests/test_ext_autosummary.py::test_autosummary_generate_content_for_module
551 - tests/test_ext_autosummary.py::test_autosummary_generate_content_for_module_skipped
552 - tests/test_util_inspect.py::test_isattributedescriptor
553 - tests/test_util_typing.py::test_stringify_type_hints_pep_585
554 - )
555 -
556 - epytest
557 -}