From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sphinx/
Date: Sun, 9 May 2021 08:23:30 +0000 (UTC) [thread overview]
Message-ID: <1620548593.c55b8737bb69ae8a27f22a2d5b2fb265e6f2f624.mgorny@gentoo> (raw)
commit: c55b8737bb69ae8a27f22a2d5b2fb265e6f2f624
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun May 9 07:55:58 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun May 9 08:23:13 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c55b8737
dev-python/sphinx: Bump to 4.0.0
Closes: https://bugs.gentoo.org/784428
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/sphinx/Manifest | 1 +
dev-python/sphinx/sphinx-4.0.0.ebuild | 125 ++++++++++++++++++++++++++++++++++
2 files changed, 126 insertions(+)
diff --git a/dev-python/sphinx/Manifest b/dev-python/sphinx/Manifest
index 474837296ae..dbd5fd9b1c9 100644
--- a/dev-python/sphinx/Manifest
+++ b/dev-python/sphinx/Manifest
@@ -1 +1,2 @@
DIST Sphinx-3.5.4.tar.gz 5911093 BLAKE2B 8740714dfaf3733bf57d0b277315b4e7b5cad86247ea30dcbc4f5dadf5f5169329050b7be43ec8625c47df9dcc19afcc6c4d782725c7007f8178b7eb7be7dc05 SHA512 853379f3b0496772846be9beb072c2c8a69ff899ffe4c6435b448ea639a32138c61403f9c14f62f4f78b2e526a2ee7c05b4196eabdeee37bcae6aa98df992125
+DIST Sphinx-4.0.0.tar.gz 6104929 BLAKE2B 1f29e9c9e12957ed9c8f058b0b8ac3aa584db3867a6e4de35e73400362c2c25afd087a1048b8b35d59730d5401c51139173bd558a8fb0178f6f0351a5284f7cd SHA512 aa70be0a1a1f136257e253819fe7075116d48f21f2db716f87ca383737ff28c1c3e6a802fbf7ab3e9624c655966b5f02f746fb54f65ee9996da4bbee22294738
diff --git a/dev-python/sphinx/sphinx-4.0.0.ebuild b/dev-python/sphinx/sphinx-4.0.0.ebuild
new file mode 100644
index 00000000000..8dee8dd7b8f
--- /dev/null
+++ b/dev-python/sphinx/sphinx-4.0.0.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{7..9} pypy3 )
+PYTHON_REQ_USE="threads(+)"
+
+inherit distutils-r1
+
+DESCRIPTION="Python documentation generator"
+HOMEPAGE="https://www.sphinx-doc.org/
+ https://github.com/sphinx-doc/sphinx"
+SRC_URI="mirror://pypi/S/${PN^}/${P^}.tar.gz"
+S=${WORKDIR}/${P^}
+
+LICENSE="BSD"
+SLOT="0"
+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"
+IUSE="doc latex"
+
+RDEPEND="
+ <dev-python/alabaster-0.8[${PYTHON_USEDEP}]
+ >=dev-python/Babel-1.3[${PYTHON_USEDEP}]
+ dev-python/docutils[${PYTHON_USEDEP}]
+ dev-python/imagesize[${PYTHON_USEDEP}]
+ >=dev-python/jinja-2.3[${PYTHON_USEDEP}]
+ >=dev-python/pygments-2.0[${PYTHON_USEDEP}]
+ >=dev-python/requests-2.5.0[${PYTHON_USEDEP}]
+ >=dev-python/snowballstemmer-1.1[${PYTHON_USEDEP}]
+ dev-python/sphinxcontrib-applehelp[${PYTHON_USEDEP}]
+ dev-python/sphinxcontrib-devhelp[${PYTHON_USEDEP}]
+ dev-python/sphinxcontrib-jsmath[${PYTHON_USEDEP}]
+ dev-python/sphinxcontrib-htmlhelp[${PYTHON_USEDEP}]
+ dev-python/sphinxcontrib-serializinghtml[${PYTHON_USEDEP}]
+ dev-python/sphinxcontrib-qthelp[${PYTHON_USEDEP}]
+ dev-python/packaging[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/typed-ast[${PYTHON_USEDEP}]
+ ' python3_7)
+ latex? (
+ dev-texlive/texlive-latexextra
+ dev-texlive/texlive-luatex
+ app-text/dvipng
+ )"
+BDEPEND="
+ doc? (
+ dev-python/sphinxcontrib-websupport[${PYTHON_USEDEP}]
+ media-gfx/graphviz
+ )
+ test? (
+ dev-python/html5lib[${PYTHON_USEDEP}]
+ virtual/imagemagick-tools[jpeg,png,svg]
+ dev-texlive/texlive-fontsextra
+ dev-texlive/texlive-latexextra
+ dev-texlive/texlive-luatex
+ app-text/dvipng
+ )"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-3.2.1-doc-link.patch"
+)
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+ # disable internet access
+ sed -i -e 's:^intersphinx_mapping:disabled_&:' \
+ doc/conf.py || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_compile() {
+ distutils-r1_python_compile
+
+ # Generate the grammar. It will be caught by install somehow.
+ # Note that the tests usually do it for us. However, I don't want
+ # to trust USE=test really running all the tests, especially
+ # with FEATURES=test-fail-continue.
+ pushd "${BUILD_DIR}"/lib >/dev/null || die
+ "${EPYTHON}" -m sphinx.pycode.__init__ || die "Grammar generation failed."
+ popd >/dev/null || die
+}
+
+python_compile_all() {
+ if use doc; then
+ esetup.py build_sphinx
+ HTML_DOCS=( "${BUILD_DIR}"/sphinx/html/. )
+ fi
+}
+
+python_test() {
+ mkdir -p "${BUILD_DIR}/sphinx_tempdir" || die
+ local -x SPHINX_TEST_TEMPDIR="${BUILD_DIR}/sphinx_tempdir"
+
+ local deselect=(
+ # these tests require Internet access
+ tests/test_build_latex.py::test_latex_images
+ tests/test_build_linkcheck.py::test_defaults
+ tests/test_build_linkcheck.py::test_defaults_json
+ tests/test_build_linkcheck.py::test_anchors_ignored
+ )
+ [[ ${EPYTHON} == pypy3 ]] && deselect+=(
+ tests/test_ext_autodoc.py::test_autodoc_inherited_members_None
+ tests/test_ext_autodoc.py::test_automethod_for_builtin
+ tests/test_ext_autodoc.py::test_partialfunction
+ tests/test_ext_autodoc.py::test_autodoc_typed_instance_variables
+ tests/test_ext_autodoc.py::test_autodoc_typed_inherited_instance_variables
+ tests/test_ext_autodoc.py::test_cython
+ tests/test_ext_autodoc_autoclass.py::test_show_inheritance_for_subclass_of_generic_type
+ tests/test_ext_autodoc_autodata.py::test_autodata_type_comment
+ tests/test_ext_autodoc_autofunction.py::test_builtin_function
+ tests/test_ext_autodoc_autofunction.py::test_methoddescriptor
+ tests/test_ext_autodoc_configs.py::test_autodoc_typehints_signature
+ tests/test_ext_autodoc_configs.py::test_autodoc_type_aliases
+ tests/test_ext_autosummary.py::test_autosummary_generate_content_for_module
+ tests/test_ext_autosummary.py::test_autosummary_generate_content_for_module_skipped
+ tests/test_pycode_parser.py::test_annotated_assignment
+ tests/test_build_linkcheck.py::test_connect_to_selfsigned_fails
+ )
+
+ epytest ${deselect[@]/#/--deselect }
+}
next reply other threads:[~2021-05-09 8:23 UTC|newest]
Thread overview: 250+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-09 8:23 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-02 9:01 [gentoo-commits] repo/gentoo:master commit in: dev-python/sphinx/ Michał Górny
2024-10-26 11:52 Michał Górny
2024-10-14 3:34 Michał Górny
2024-10-13 2:48 Michał Górny
2024-10-12 4:35 Michał Górny
2024-10-10 18:25 Michał Górny
2024-08-17 9:57 Michał Górny
2024-08-17 7:51 Michał Górny
2024-08-10 7:31 Michał Górny
2024-08-10 7:25 Michał Górny
2024-07-31 5:52 Michał Górny
2024-07-30 2:47 Michał Górny
2024-07-25 3:12 Michał Górny
2024-07-21 2:31 Michał Górny
2024-07-21 2:31 Michał Górny
2024-07-19 4:25 Michał Górny
2024-07-17 12:35 Michał Górny
2024-07-16 5:30 Michał Górny
2024-07-15 9:04 Michał Górny
2024-06-08 10:55 Arthur Zamarin
2024-06-08 6:24 Arthur Zamarin
2024-05-25 9:28 Michał Górny
2024-05-08 12:24 Michał Górny
2024-04-23 14:33 Michał Górny
2024-04-21 15:01 Michał Górny
2023-10-06 18:12 Michał Górny
2023-10-06 15:13 Michał Górny
2023-10-06 14:55 Sam James
2023-09-14 6:05 Michał Górny
2023-09-11 14:08 Michał Górny
2023-09-11 14:08 Michał Górny
2023-09-11 12:25 Arthur Zamarin
2023-08-31 13:22 Michał Górny
2023-08-28 5:13 Michał Górny
2023-08-24 4:30 Michał Górny
2023-08-17 18:55 Michał Górny
2023-08-17 12:51 Michał Górny
2023-08-17 8:36 Michał Górny
2023-08-02 6:05 Michał Górny
2023-07-28 5:32 Michał Górny
2023-07-25 5:20 Michał Górny
2023-07-24 14:28 Arthur Zamarin
2023-07-24 12:56 Michał Górny
2023-07-19 11:10 Michał Górny
2023-05-31 10:50 Michał Górny
2023-05-29 21:55 Sam James
2023-05-20 7:25 Michał Górny
2023-05-13 4:46 Michał Górny
2023-04-30 3:55 Michał Górny
2023-04-26 5:36 Michał Górny
2023-04-24 5:57 Michał Górny
2023-01-31 12:00 Michał Górny
2023-01-11 5:14 Michał Górny
2023-01-07 19:45 Arthur Zamarin
2023-01-06 15:27 Michał Górny
2022-12-30 7:08 Michał Górny
2022-11-19 8:46 Arthur Zamarin
2022-11-19 8:39 Arthur Zamarin
2022-11-12 12:27 Arthur Zamarin
2022-11-03 19:44 Arthur Zamarin
2022-11-03 19:38 Arthur Zamarin
2022-10-18 7:26 Michał Górny
2022-10-01 9:26 Arthur Zamarin
2022-09-27 18:25 Arthur Zamarin
2022-09-26 11:21 Michał Górny
2022-09-25 13:44 Michał Górny
2022-08-30 18:53 Michał Górny
2022-08-30 17:08 Jakov Smolić
2022-08-27 6:03 Michał Górny
2022-08-26 17:31 Arthur Zamarin
2022-07-29 10:59 Arthur Zamarin
2022-07-25 7:12 Michał Górny
2022-07-09 20:22 Michał Górny
2022-07-09 18:32 Arthur Zamarin
2022-06-17 0:01 Sam James
2022-06-03 5:37 Michał Górny
2022-05-30 8:52 Michał Górny
2022-05-22 5:16 Michał Górny
2022-05-22 1:48 Sam James
2022-05-14 12:44 Arthur Zamarin
2022-04-27 12:27 Michał Górny
2022-03-28 10:14 Michał Górny
2022-02-17 20:15 Michał Górny
2022-02-17 19:30 Arthur Zamarin
2022-01-20 23:26 Michał Górny
2022-01-20 14:20 Michał Górny
2022-01-20 8:47 Arthur Zamarin
2022-01-18 8:46 Michał Górny
2022-01-16 22:03 Michał Górny
2021-12-19 20:50 Arthur Zamarin
2021-12-11 23:24 Michał Górny
2021-12-11 20:24 Arthur Zamarin
2021-11-27 21:18 Michał Górny
2021-11-10 22:35 Michał Górny
2021-10-27 8:29 Michał Górny
2021-10-16 1:14 Sam James
2021-09-13 7:45 Michał Górny
2021-08-19 1:09 Sam James
2021-07-14 22:16 Michał Górny
2021-07-12 22:56 Michał Górny
2021-07-12 21:59 Sam James
2021-07-12 9:11 Michał Górny
2021-07-06 7:58 Michał Górny
2021-05-21 9:21 Michał Górny
2021-05-21 9:21 Michał Górny
2021-05-12 18:22 Michał Górny
2021-05-10 19:32 Michał Górny
2021-04-22 15:07 Michał Górny
2021-04-22 12:13 Sam James
2021-04-11 18:56 Michał Górny
2021-04-09 22:25 Michał Górny
2021-04-09 22:20 Sam James
2021-03-20 21:07 Michał Górny
2021-03-19 21:39 Michał Górny
2021-03-19 20:14 Sam James
2021-03-06 17:45 Michał Górny
2021-02-19 16:37 Michał Górny
2021-02-19 8:57 Michał Górny
2021-02-19 2:54 Sam James
2021-02-16 17:08 Michał Górny
2021-02-15 8:34 Michał Górny
2021-01-08 0:45 Michał Górny
2021-01-06 22:30 Fabian Groffen
2021-01-05 21:32 Michał Górny
2021-01-05 21:03 Sam James
2021-01-05 10:56 Michał Górny
2021-01-05 9:51 Michał Górny
2020-12-25 9:17 Michał Górny
2020-12-20 20:34 Michał Górny
2020-12-20 20:34 Michał Górny
2020-12-01 21:08 Sam James
2020-11-12 21:13 Michał Górny
2020-10-21 22:51 Michał Górny
2020-09-18 17:56 Sam James
2020-08-22 10:10 Michał Górny
2020-08-22 7:13 Michał Górny
2020-08-15 8:44 Michał Górny
2020-08-14 23:22 Andreas Sturmlechner
2020-08-12 15:50 Sam James
2020-08-12 15:11 Michał Górny
2020-08-12 15:07 Sam James
2020-08-12 10:01 Michał Górny
2020-08-04 18:57 Sergei Trofimovich
2020-07-31 22:33 Aaron Bauman
2020-07-27 10:02 Michał Górny
2020-07-18 14:20 Sam James
2020-07-14 10:50 Sam James
2020-07-14 10:50 Sam James
2020-07-07 6:35 Michał Górny
2020-07-05 20:12 Michał Górny
2020-06-19 15:41 Sergei Trofimovich
2020-06-14 8:29 Michał Górny
2020-06-08 16:55 Michał Górny
2020-06-08 6:41 Michał Górny
2020-06-06 19:31 Mart Raudsepp
2020-05-31 17:17 Michał Górny
2020-05-26 16:57 Michał Górny
2020-05-07 8:56 Michał Górny
2020-05-06 14:25 Mikle Kolyada
2020-05-04 12:24 Michał Górny
2020-05-01 14:03 Agostino Sarubbo
2020-05-01 14:00 Agostino Sarubbo
2020-05-01 13:58 Agostino Sarubbo
2020-04-27 8:33 Michał Górny
2020-04-25 10:42 Mikle Kolyada
2020-04-22 8:15 Michał Górny
2020-04-21 8:08 Michał Górny
2020-04-20 13:29 Agostino Sarubbo
2020-04-20 10:16 Agostino Sarubbo
2020-04-14 10:43 Michał Górny
2020-04-11 7:49 Michał Górny
2020-04-06 19:57 Michał Górny
2020-04-06 19:18 Michał Górny
2020-04-06 12:02 Michał Górny
2020-04-05 21:53 Sergei Trofimovich
2020-03-16 20:56 Michał Górny
2020-03-06 13:43 Michał Górny
2020-03-03 17:46 Michał Górny
2020-03-02 20:30 Michał Górny
2020-03-02 20:22 Michał Górny
2020-02-24 11:43 Agostino Sarubbo
2020-02-24 11:31 Agostino Sarubbo
2020-02-24 11:28 Agostino Sarubbo
2020-02-24 10:04 Agostino Sarubbo
2020-02-23 12:10 Mikle Kolyada
2020-02-14 12:47 Michał Górny
2020-01-26 21:25 Matthew Thode
2019-12-30 21:54 Piotr Karbowski
2019-12-19 21:40 Piotr Karbowski
2019-04-12 13:03 Virgil Dupras
2019-04-12 13:03 Virgil Dupras
2019-03-31 13:05 Virgil Dupras
2018-10-16 12:01 Virgil Dupras
2018-10-02 21:12 Mike Gilbert
2018-10-02 21:05 Mikle Kolyada
2018-10-01 21:47 Thomas Deutschmann
2018-10-01 21:31 Sergei Trofimovich
2018-10-01 14:20 Mike Gilbert
2018-10-01 3:55 Mike Gilbert
2018-07-16 19:57 Michał Górny
2018-07-13 21:40 Michał Górny
2018-07-12 18:49 Michał Górny
2018-07-12 18:49 Michał Górny
2018-07-12 18:49 Michał Górny
2018-07-12 18:49 Michał Górny
2018-07-12 13:27 Michał Górny
2018-06-22 19:34 Tim Harder
2018-06-22 15:01 Mikle Kolyada
2018-06-21 18:02 Tim Harder
2018-03-27 23:15 Matt Turner
2018-02-24 15:17 Patrick Lauer
2018-02-22 18:06 Michał Górny
2018-02-16 6:08 Matt Thode
2018-01-06 13:39 Michał Górny
2018-01-01 10:08 Michał Górny
2017-12-16 21:49 Mike Gilbert
2017-12-16 21:22 Mike Gilbert
2017-08-13 13:03 Sergei Trofimovich
2017-08-13 11:16 Sergei Trofimovich
2017-07-29 20:38 Matt Thode
2017-07-29 20:38 Matt Thode
2017-07-18 8:25 Sergei Trofimovich
2017-07-17 21:15 Patrick McLean
2017-07-17 21:15 Patrick McLean
2017-07-15 16:22 Tobias Klausmann
2017-07-13 18:23 Patrick McLean
2017-07-13 7:47 Patrick McLean
2017-07-12 22:53 Patrick McLean
2017-07-11 20:33 Sebastien Fabbro
2017-07-01 10:14 Sergei Trofimovich
2017-05-11 19:34 Markus Meier
2017-02-19 8:29 Markus Meier
2017-02-13 21:45 David Seifert
2017-02-13 21:45 David Seifert
2017-02-05 13:30 Jeroen Roovers
2017-01-29 17:28 Fabian Groffen
2017-01-26 22:40 David Seifert
2017-01-20 18:08 David Seifert
2016-11-30 18:05 Michał Górny
2016-04-23 8:58 Dirkjan Ochtman
2016-01-25 15:11 Justin Lecher
2016-01-14 9:53 Justin Lecher
2015-12-03 10:21 Justin Lecher
2015-11-11 17:27 Justin Lecher
2015-10-27 15:20 Agostino Sarubbo
2015-10-14 13:51 Justin Lecher
2015-10-11 14:19 Justin Lecher
2015-10-11 12:33 Justin Lecher
2015-08-12 13:44 Tobias Klausmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1620548593.c55b8737bb69ae8a27f22a2d5b2fb265e6f2f624.mgorny@gentoo \
--to=mgorny@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox