summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2021-05-22 21:23:04 +0700
committerAndrey Grozin <grozin@gentoo.org>2021-05-22 21:23:04 +0700
commit8fb2c08ef3a8e87b56de1dfce435bf917e724b2d (patch)
treea930c676f09a0098b0ad6b34bc75b276351337fc /dev-python/bpython
parentdev-tex/tex4ht: Add blocker against TeX Live 2021 to stable version (diff)
downloadgentoo-8fb2c08ef3a8e87b56de1dfce435bf917e724b2d.tar.gz
gentoo-8fb2c08ef3a8e87b56de1dfce435bf917e724b2d.tar.bz2
gentoo-8fb2c08ef3a8e87b56de1dfce435bf917e724b2d.zip
dev-python/bpython: ask sphinx-4 to use the old layout
Closes: https://bugs.gentoo.org/789426 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andrey Grozin <grozin@gentoo.org>
Diffstat (limited to 'dev-python/bpython')
-rw-r--r--dev-python/bpython/bpython-0.21.ebuild2
-rw-r--r--dev-python/bpython/files/bpython-sphinx-4.patch8
2 files changed, 10 insertions, 0 deletions
diff --git a/dev-python/bpython/bpython-0.21.ebuild b/dev-python/bpython/bpython-0.21.ebuild
index d82bf1719c22..b89b73167409 100644
--- a/dev-python/bpython/bpython-0.21.ebuild
+++ b/dev-python/bpython/bpython-0.21.ebuild
@@ -34,5 +34,7 @@ BDEPEND="
DOCS=( AUTHORS.rst CHANGELOG.rst )
+PATCHES=( "${FILESDIR}"/${PN}-sphinx-4.patch )
+
distutils_enable_sphinx doc/sphinx/source --no-autodoc
distutils_enable_tests unittest
diff --git a/dev-python/bpython/files/bpython-sphinx-4.patch b/dev-python/bpython/files/bpython-sphinx-4.patch
new file mode 100644
index 000000000000..5003de24bcf6
--- /dev/null
+++ b/dev-python/bpython/files/bpython-sphinx-4.patch
@@ -0,0 +1,8 @@
+diff -U2 -r bpython-0.21.orig/doc/sphinx/source/conf.py bpython-0.21/doc/sphinx/source/conf.py
+--- bpython-0.21.orig/doc/sphinx/source/conf.py 2020-03-30 01:44:23.000000000 +0700
++++ bpython-0.21/doc/sphinx/source/conf.py 2021-05-22 21:06:51.161746459 +0700
+@@ -215,3 +215,3 @@
+ # If true, show URL addresses after external links.
+ #man_show_urls = False
+-
++man_make_section_directory = False