commit:     07fd9cde32eb83dd60c1b69a34dbacf114b5271e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 23 18:27:38 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Aug 23 18:34:13 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07fd9cde

net-mail/notmuch: fix Sphinx dep

python_check_deps doesn't do anything w/ distutils-r1,
so we settle for the slight over-dep (note that
the configure script imports, so we need the [${PYTHON_USEDEP}])

Bug: https://bugs.gentoo.org/856628
Closes: https://bugs.gentoo.org/866117
Fixes: 8e4a0100e36949f4c4887f00f7dd438dd5a1be75
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-mail/notmuch/notmuch-0.34.2-r1.ebuild | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/net-mail/notmuch/notmuch-0.34.2-r1.ebuild 
b/net-mail/notmuch/notmuch-0.34.2-r1.ebuild
index f375e69ff53c..193f0ad1d26f 100644
--- a/net-mail/notmuch/notmuch-0.34.2-r1.ebuild
+++ b/net-mail/notmuch/notmuch-0.34.2-r1.ebuild
@@ -36,7 +36,7 @@ BDEPEND="
                dev-lang/perl
        )
        doc? (
-               $(python_gen_any_dep 'dev-python/sphinx[${PYTHON_USEDEP}]')
+               dev-python/sphinx[${PYTHON_USEDEP}]
                sys-apps/texinfo
        )
        python? (
@@ -93,10 +93,6 @@ RDEPEND="${COMMON_DEPEND}
 
 SITEFILE="50${PN}-gentoo.el"
 
-python_check_deps() {
-       python_has_version "dev-python/sphinx[${PYTHON_USEDEP}]"
-}
-
 pkg_setup() {
        use emacs && elisp-check-emacs-version
 }

Reply via email to