commit:     4c8699592530829a23cce78c61136a333713e47b
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Mon May 17 06:00:22 2021 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Mon May 17 06:00:59 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c869959

net-mail/notmuch: unlock sphinx dep

Closes: https://bugs.gentoo.org/789492
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 net-mail/notmuch/notmuch-0.31.3.ebuild | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/net-mail/notmuch/notmuch-0.31.3.ebuild 
b/net-mail/notmuch/notmuch-0.31.3.ebuild
index 946fb55ae69..e6d8d047fd8 100644
--- a/net-mail/notmuch/notmuch-0.31.3.ebuild
+++ b/net-mail/notmuch/notmuch-0.31.3.ebuild
@@ -35,10 +35,12 @@ BDEPEND="
                dev-lang/perl
        )
        doc? (
-               <dev-python/sphinx-4
+               dev-python/sphinx
                sys-apps/texinfo
        )
-       python? ( dev-python/pytest[${PYTHON_USEDEP}] )
+       python? (
+               test? ( dev-python/pytest[${PYTHON_USEDEP}] )
+       )
 "
 
 COMMON_DEPEND="
@@ -115,6 +117,9 @@ src_prepare() {
 
        # Non-autoconf configure
        [[ ${CHOST} == *-solaris* ]] && append-ldflags '-lnsl' '-lsocket'
+
+       # sphinx-4 broke everything. https://bugs.gentoo.org/789492
+       echo 'man_make_section_directory = False' >> doc/conf.py || die
 }
 
 src_configure() {

Reply via email to