From 8fb2c08ef3a8e87b56de1dfce435bf917e724b2d Mon Sep 17 00:00:00 2001 From: Andrey Grozin Date: Sat, 22 May 2021 21:23:04 +0700 Subject: 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 --- dev-python/bpython/bpython-0.21.ebuild | 2 ++ dev-python/bpython/files/bpython-sphinx-4.patch | 8 ++++++++ 2 files changed, 10 insertions(+) create mode 100644 dev-python/bpython/files/bpython-sphinx-4.patch (limited to 'dev-python/bpython') 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 -- cgit v1.2.3-65-gdbad