1 |
commit: 9f0dc63ceeb5b7de8f50983e4e65b92812491458 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 1 10:07:20 2020 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 1 10:07:27 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f0dc63c |
7 |
|
8 |
dev-python/sphinx: fix USE=doc |
9 |
|
10 |
Thanks-to: Dirk Sondermann <ds-gentoo <AT> dyximaq.de> |
11 |
Closes: https://bugs.gentoo.org/728810 |
12 |
Package-Manager: Portage-3.0.9, Repoman-3.0.2 |
13 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
14 |
|
15 |
dev-python/sphinx/files/sphinx-3.3.1-doc-link.patch | 14 ++++++++++++++ |
16 |
dev-python/sphinx/sphinx-3.3.1.ebuild | 4 ++++ |
17 |
2 files changed, 18 insertions(+) |
18 |
|
19 |
diff --git a/dev-python/sphinx/files/sphinx-3.3.1-doc-link.patch b/dev-python/sphinx/files/sphinx-3.3.1-doc-link.patch |
20 |
new file mode 100644 |
21 |
index 00000000000..0c1b2ad7d98 |
22 |
--- /dev/null |
23 |
+++ b/dev-python/sphinx/files/sphinx-3.3.1-doc-link.patch |
24 |
@@ -0,0 +1,14 @@ |
25 |
+https://bugs.gentoo.org/728810 |
26 |
+--- ./doc/internals/release-process.rst |
27 |
++++ ./doc/internals/release-process.rst |
28 |
+@@ -97,8 +97,8 @@ |
29 |
+ * ``set PYTHONWARNINGS=`` and do ``make html`` (Windows) |
30 |
+ |
31 |
+ But you can also explicitly enable the pending ones using e.g. |
32 |
+-``PYTHONWARNINGS=default`` (see the :ref:`Python docs on configuring warnings |
33 |
+-<python:describing-warning-filters>`) for more details. |
34 |
++``PYTHONWARNINGS=default`` (see the `Python docs on configuring warnings |
35 |
++<https://docs.python.org/3/library/warnings.html#describing-warning-filters>`_) for more details. |
36 |
+ |
37 |
+ Release procedures |
38 |
+ ------------------ |
39 |
|
40 |
diff --git a/dev-python/sphinx/sphinx-3.3.1.ebuild b/dev-python/sphinx/sphinx-3.3.1.ebuild |
41 |
index f29129962d6..f77fc4923c6 100644 |
42 |
--- a/dev-python/sphinx/sphinx-3.3.1.ebuild |
43 |
+++ b/dev-python/sphinx/sphinx-3.3.1.ebuild |
44 |
@@ -62,6 +62,10 @@ BDEPEND=" |
45 |
|
46 |
S="${WORKDIR}/${P^}" |
47 |
|
48 |
+PATCHES=( |
49 |
+ "${FILESDIR}/${PN}-3.3.1-doc-link.patch" |
50 |
+) |
51 |
+ |
52 |
python_prepare_all() { |
53 |
# remove tests that fail due to network-sandbox |
54 |
rm tests/test_build_linkcheck.py || die "Failed to remove web tests" |