1 |
commit: 5084a49e8df996336158254a6676c922d7639467 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 22 13:00:41 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 22 15:07:00 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5084a49e |
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 | 2 - |
13 |
dev-python/sphinx/sphinx-3.5.2.ebuild | 127 ---------------------------------- |
14 |
dev-python/sphinx/sphinx-3.5.3.ebuild | 124 --------------------------------- |
15 |
3 files changed, 253 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/sphinx/Manifest b/dev-python/sphinx/Manifest |
18 |
index 1eabbf3323b..474837296ae 100644 |
19 |
--- a/dev-python/sphinx/Manifest |
20 |
+++ b/dev-python/sphinx/Manifest |
21 |
@@ -1,3 +1 @@ |
22 |
-DIST Sphinx-3.5.2.tar.gz 5907358 BLAKE2B 59b2789d7f3cc34622f34c54b5d614be7fa22d9d61cbb6c096ac7efe8f011331f51af12986d505245a30c9583050ae8c012ac736cd8ff5234f528616999dc325 SHA512 97f1589726fe5bdf48b5bc8bfc53267fb4dfa2f21d5d9eefbd9bcc9ff5cc0c7846840b0fe5fcdd133d9735d402189d5b89202de4e462dce99a7653d6f1a86ff9 |
23 |
-DIST Sphinx-3.5.3.tar.gz 5907994 BLAKE2B 3bd5a08dcc860ef419a085a991bb28d16d6a721f253a0ee25333cab5add2257a0557d7b586e89193e9a26e34d39ce5ef9992a9b2c8b8457e8ae7d82a928d32c5 SHA512 4e2cb1c3632ec131cc724f306bbe084691c2178620d1dec130d3bc8be3ee116c14093863ec768242965be9f28c74ed704768b23a62a1510ff00bf1c2edb810df |
24 |
DIST Sphinx-3.5.4.tar.gz 5911093 BLAKE2B 8740714dfaf3733bf57d0b277315b4e7b5cad86247ea30dcbc4f5dadf5f5169329050b7be43ec8625c47df9dcc19afcc6c4d782725c7007f8178b7eb7be7dc05 SHA512 853379f3b0496772846be9beb072c2c8a69ff899ffe4c6435b448ea639a32138c61403f9c14f62f4f78b2e526a2ee7c05b4196eabdeee37bcae6aa98df992125 |
25 |
|
26 |
diff --git a/dev-python/sphinx/sphinx-3.5.2.ebuild b/dev-python/sphinx/sphinx-3.5.2.ebuild |
27 |
deleted file mode 100644 |
28 |
index 537e5d1c404..00000000000 |
29 |
--- a/dev-python/sphinx/sphinx-3.5.2.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,127 +0,0 @@ |
32 |
-# Copyright 1999-2021 Gentoo Authors |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=7 |
36 |
- |
37 |
-DISTUTILS_USE_SETUPTOOLS=rdepend |
38 |
-PYTHON_COMPAT=( python3_{7..9} pypy3 ) |
39 |
-PYTHON_REQ_USE="threads(+)" |
40 |
- |
41 |
-inherit distutils-r1 |
42 |
- |
43 |
-DESCRIPTION="Python documentation generator" |
44 |
-HOMEPAGE="https://www.sphinx-doc.org/ |
45 |
- https://github.com/sphinx-doc/sphinx" |
46 |
-SRC_URI="mirror://pypi/S/${PN^}/${P^}.tar.gz" |
47 |
- |
48 |
-LICENSE="BSD" |
49 |
-SLOT="0" |
50 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" |
51 |
-IUSE="doc latex test" |
52 |
-RESTRICT="!test? ( test )" |
53 |
- |
54 |
-RDEPEND=" |
55 |
- <dev-python/alabaster-0.8[${PYTHON_USEDEP}] |
56 |
- >=dev-python/Babel-1.3[${PYTHON_USEDEP}] |
57 |
- >=dev-python/docutils-0.12[${PYTHON_USEDEP}] |
58 |
- dev-python/imagesize[${PYTHON_USEDEP}] |
59 |
- >=dev-python/jinja-2.3[${PYTHON_USEDEP}] |
60 |
- >=dev-python/pygments-2.0[${PYTHON_USEDEP}] |
61 |
- >=dev-python/requests-2.5.0[${PYTHON_USEDEP}] |
62 |
- >=dev-python/snowballstemmer-1.1[${PYTHON_USEDEP}] |
63 |
- dev-python/sphinxcontrib-applehelp[${PYTHON_USEDEP}] |
64 |
- dev-python/sphinxcontrib-devhelp[${PYTHON_USEDEP}] |
65 |
- dev-python/sphinxcontrib-jsmath[${PYTHON_USEDEP}] |
66 |
- dev-python/sphinxcontrib-htmlhelp[${PYTHON_USEDEP}] |
67 |
- dev-python/sphinxcontrib-serializinghtml[${PYTHON_USEDEP}] |
68 |
- dev-python/sphinxcontrib-qthelp[${PYTHON_USEDEP}] |
69 |
- dev-python/packaging[${PYTHON_USEDEP}] |
70 |
- $(python_gen_cond_dep ' |
71 |
- dev-python/typed-ast[${PYTHON_USEDEP}] |
72 |
- ' python3_{6,7}) |
73 |
- latex? ( |
74 |
- dev-texlive/texlive-latexextra |
75 |
- dev-texlive/texlive-luatex |
76 |
- app-text/dvipng |
77 |
- )" |
78 |
-BDEPEND=" |
79 |
- doc? ( |
80 |
- dev-python/sphinxcontrib-websupport[${PYTHON_USEDEP}] |
81 |
- media-gfx/graphviz |
82 |
- ) |
83 |
- test? ( |
84 |
- ${RDEPEND} |
85 |
- dev-python/html5lib[${PYTHON_USEDEP}] |
86 |
- dev-python/pytest[${PYTHON_USEDEP}] |
87 |
- virtual/imagemagick-tools[jpeg,png,svg] |
88 |
- dev-texlive/texlive-fontsextra |
89 |
- dev-texlive/texlive-latexextra |
90 |
- dev-texlive/texlive-luatex |
91 |
- app-text/dvipng |
92 |
- )" |
93 |
- |
94 |
-S="${WORKDIR}/${P^}" |
95 |
- |
96 |
-PATCHES=( |
97 |
- "${FILESDIR}/${PN}-3.2.1-doc-link.patch" |
98 |
-) |
99 |
- |
100 |
-python_prepare_all() { |
101 |
- # disable internet access |
102 |
- sed -i -e 's:^intersphinx_mapping:disabled_&:' \ |
103 |
- doc/conf.py || die |
104 |
- |
105 |
- distutils-r1_python_prepare_all |
106 |
-} |
107 |
- |
108 |
-python_compile() { |
109 |
- distutils-r1_python_compile |
110 |
- |
111 |
- # Generate the grammar. It will be caught by install somehow. |
112 |
- # Note that the tests usually do it for us. However, I don't want |
113 |
- # to trust USE=test really running all the tests, especially |
114 |
- # with FEATURES=test-fail-continue. |
115 |
- pushd "${BUILD_DIR}"/lib >/dev/null || die |
116 |
- "${EPYTHON}" -m sphinx.pycode.__init__ || die "Grammar generation failed." |
117 |
- popd >/dev/null || die |
118 |
-} |
119 |
- |
120 |
-python_compile_all() { |
121 |
- if use doc; then |
122 |
- esetup.py build_sphinx |
123 |
- HTML_DOCS=( "${BUILD_DIR}"/sphinx/html/. ) |
124 |
- fi |
125 |
-} |
126 |
- |
127 |
-python_test() { |
128 |
- mkdir -p "${BUILD_DIR}/sphinx_tempdir" || die |
129 |
- local -x SPHINX_TEST_TEMPDIR="${BUILD_DIR}/sphinx_tempdir" |
130 |
- |
131 |
- local deselect=( |
132 |
- # these tests require Internet access |
133 |
- tests/test_build_latex.py::test_latex_images |
134 |
- tests/test_build_linkcheck.py::test_defaults |
135 |
- tests/test_build_linkcheck.py::test_defaults_json |
136 |
- tests/test_build_linkcheck.py::test_anchors_ignored |
137 |
- ) |
138 |
- [[ ${EPYTHON} == pypy3 ]] && deselect+=( |
139 |
- tests/test_ext_autodoc.py::test_autodoc_inherited_members_None |
140 |
- tests/test_ext_autodoc.py::test_automethod_for_builtin |
141 |
- tests/test_ext_autodoc.py::test_partialfunction |
142 |
- tests/test_ext_autodoc.py::test_autodoc_typed_instance_variables |
143 |
- tests/test_ext_autodoc.py::test_autodoc_typed_inherited_instance_variables |
144 |
- tests/test_ext_autodoc.py::test_cython |
145 |
- tests/test_ext_autodoc_autoclass.py::test_show_inheritance_for_subclass_of_generic_type |
146 |
- tests/test_ext_autodoc_autodata.py::test_autodata_type_comment |
147 |
- tests/test_ext_autodoc_autofunction.py::test_builtin_function |
148 |
- tests/test_ext_autodoc_autofunction.py::test_methoddescriptor |
149 |
- tests/test_ext_autodoc_configs.py::test_autodoc_typehints_signature |
150 |
- tests/test_ext_autodoc_configs.py::test_autodoc_type_aliases |
151 |
- tests/test_ext_autosummary.py::test_autosummary_generate_content_for_module |
152 |
- tests/test_ext_autosummary.py::test_autosummary_generate_content_for_module_skipped |
153 |
- tests/test_pycode_parser.py::test_annotated_assignment_py36 |
154 |
- ) |
155 |
- |
156 |
- pytest -vv ${deselect[@]/#/--deselect } || |
157 |
- die "Tests fail with ${EPYTHON}" |
158 |
-} |
159 |
|
160 |
diff --git a/dev-python/sphinx/sphinx-3.5.3.ebuild b/dev-python/sphinx/sphinx-3.5.3.ebuild |
161 |
deleted file mode 100644 |
162 |
index 61ca0020d06..00000000000 |
163 |
--- a/dev-python/sphinx/sphinx-3.5.3.ebuild |
164 |
+++ /dev/null |
165 |
@@ -1,124 +0,0 @@ |
166 |
-# Copyright 1999-2021 Gentoo Authors |
167 |
-# Distributed under the terms of the GNU General Public License v2 |
168 |
- |
169 |
-EAPI=7 |
170 |
- |
171 |
-DISTUTILS_USE_SETUPTOOLS=rdepend |
172 |
-PYTHON_COMPAT=( python3_{7..9} pypy3 ) |
173 |
-PYTHON_REQ_USE="threads(+)" |
174 |
- |
175 |
-inherit distutils-r1 |
176 |
- |
177 |
-DESCRIPTION="Python documentation generator" |
178 |
-HOMEPAGE="https://www.sphinx-doc.org/ |
179 |
- https://github.com/sphinx-doc/sphinx" |
180 |
-SRC_URI="mirror://pypi/S/${PN^}/${P^}.tar.gz" |
181 |
-S=${WORKDIR}/${P^} |
182 |
- |
183 |
-LICENSE="BSD" |
184 |
-SLOT="0" |
185 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" |
186 |
-IUSE="doc latex" |
187 |
- |
188 |
-RDEPEND=" |
189 |
- <dev-python/alabaster-0.8[${PYTHON_USEDEP}] |
190 |
- >=dev-python/Babel-1.3[${PYTHON_USEDEP}] |
191 |
- >=dev-python/docutils-0.12[${PYTHON_USEDEP}] |
192 |
- dev-python/imagesize[${PYTHON_USEDEP}] |
193 |
- >=dev-python/jinja-2.3[${PYTHON_USEDEP}] |
194 |
- >=dev-python/pygments-2.0[${PYTHON_USEDEP}] |
195 |
- >=dev-python/requests-2.5.0[${PYTHON_USEDEP}] |
196 |
- >=dev-python/snowballstemmer-1.1[${PYTHON_USEDEP}] |
197 |
- dev-python/sphinxcontrib-applehelp[${PYTHON_USEDEP}] |
198 |
- dev-python/sphinxcontrib-devhelp[${PYTHON_USEDEP}] |
199 |
- dev-python/sphinxcontrib-jsmath[${PYTHON_USEDEP}] |
200 |
- dev-python/sphinxcontrib-htmlhelp[${PYTHON_USEDEP}] |
201 |
- dev-python/sphinxcontrib-serializinghtml[${PYTHON_USEDEP}] |
202 |
- dev-python/sphinxcontrib-qthelp[${PYTHON_USEDEP}] |
203 |
- dev-python/packaging[${PYTHON_USEDEP}] |
204 |
- $(python_gen_cond_dep ' |
205 |
- dev-python/typed-ast[${PYTHON_USEDEP}] |
206 |
- ' python3_7) |
207 |
- latex? ( |
208 |
- dev-texlive/texlive-latexextra |
209 |
- dev-texlive/texlive-luatex |
210 |
- app-text/dvipng |
211 |
- )" |
212 |
-BDEPEND=" |
213 |
- doc? ( |
214 |
- dev-python/sphinxcontrib-websupport[${PYTHON_USEDEP}] |
215 |
- media-gfx/graphviz |
216 |
- ) |
217 |
- test? ( |
218 |
- dev-python/html5lib[${PYTHON_USEDEP}] |
219 |
- virtual/imagemagick-tools[jpeg,png,svg] |
220 |
- dev-texlive/texlive-fontsextra |
221 |
- dev-texlive/texlive-latexextra |
222 |
- dev-texlive/texlive-luatex |
223 |
- app-text/dvipng |
224 |
- )" |
225 |
- |
226 |
-PATCHES=( |
227 |
- "${FILESDIR}/${PN}-3.2.1-doc-link.patch" |
228 |
-) |
229 |
- |
230 |
-distutils_enable_tests pytest |
231 |
- |
232 |
-python_prepare_all() { |
233 |
- # disable internet access |
234 |
- sed -i -e 's:^intersphinx_mapping:disabled_&:' \ |
235 |
- doc/conf.py || die |
236 |
- |
237 |
- distutils-r1_python_prepare_all |
238 |
-} |
239 |
- |
240 |
-python_compile() { |
241 |
- distutils-r1_python_compile |
242 |
- |
243 |
- # Generate the grammar. It will be caught by install somehow. |
244 |
- # Note that the tests usually do it for us. However, I don't want |
245 |
- # to trust USE=test really running all the tests, especially |
246 |
- # with FEATURES=test-fail-continue. |
247 |
- pushd "${BUILD_DIR}"/lib >/dev/null || die |
248 |
- "${EPYTHON}" -m sphinx.pycode.__init__ || die "Grammar generation failed." |
249 |
- popd >/dev/null || die |
250 |
-} |
251 |
- |
252 |
-python_compile_all() { |
253 |
- if use doc; then |
254 |
- esetup.py build_sphinx |
255 |
- HTML_DOCS=( "${BUILD_DIR}"/sphinx/html/. ) |
256 |
- fi |
257 |
-} |
258 |
- |
259 |
-python_test() { |
260 |
- mkdir -p "${BUILD_DIR}/sphinx_tempdir" || die |
261 |
- local -x SPHINX_TEST_TEMPDIR="${BUILD_DIR}/sphinx_tempdir" |
262 |
- |
263 |
- local deselect=( |
264 |
- # these tests require Internet access |
265 |
- tests/test_build_latex.py::test_latex_images |
266 |
- tests/test_build_linkcheck.py::test_defaults |
267 |
- tests/test_build_linkcheck.py::test_defaults_json |
268 |
- tests/test_build_linkcheck.py::test_anchors_ignored |
269 |
- ) |
270 |
- [[ ${EPYTHON} == pypy3 ]] && deselect+=( |
271 |
- tests/test_ext_autodoc.py::test_autodoc_inherited_members_None |
272 |
- tests/test_ext_autodoc.py::test_automethod_for_builtin |
273 |
- tests/test_ext_autodoc.py::test_partialfunction |
274 |
- tests/test_ext_autodoc.py::test_autodoc_typed_instance_variables |
275 |
- tests/test_ext_autodoc.py::test_autodoc_typed_inherited_instance_variables |
276 |
- tests/test_ext_autodoc.py::test_cython |
277 |
- tests/test_ext_autodoc_autoclass.py::test_show_inheritance_for_subclass_of_generic_type |
278 |
- tests/test_ext_autodoc_autodata.py::test_autodata_type_comment |
279 |
- tests/test_ext_autodoc_autofunction.py::test_builtin_function |
280 |
- tests/test_ext_autodoc_autofunction.py::test_methoddescriptor |
281 |
- tests/test_ext_autodoc_configs.py::test_autodoc_typehints_signature |
282 |
- tests/test_ext_autodoc_configs.py::test_autodoc_type_aliases |
283 |
- tests/test_ext_autosummary.py::test_autosummary_generate_content_for_module |
284 |
- tests/test_ext_autosummary.py::test_autosummary_generate_content_for_module_skipped |
285 |
- tests/test_pycode_parser.py::test_annotated_assignment_py36 |
286 |
- ) |
287 |
- |
288 |
- epytest ${deselect[@]/#/--deselect } |
289 |
-} |