commit: 8fb2c08ef3a8e87b56de1dfce435bf917e724b2d Author: Andrey Grozin <grozin <AT> gentoo <DOT> org> AuthorDate: Sat May 22 14:23:04 2021 +0000 Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org> CommitDate: Sat May 22 14:23:04 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fb2c08e
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 <AT> gentoo.org> dev-python/bpython/bpython-0.21.ebuild | 2 ++ dev-python/bpython/files/bpython-sphinx-4.patch | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/dev-python/bpython/bpython-0.21.ebuild b/dev-python/bpython/bpython-0.21.ebuild index d82bf1719c2..b89b7316740 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 00000000000..5003de24bcf --- /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
