commit:     d20b71fedbbb69417ec4c092c3cfe8d0b9c8bd12
Author:     Francisco Javier Félix <web <AT> inode64 <DOT> com>
AuthorDate: Tue Sep 12 06:40:30 2023 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Dec 11 13:00:11 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d20b71fe

net-misc/openvswitch: Fix build when dev-python/sphinx is missing

Remove redundant eclass inherit 'linux-info', provided by 'linux-mod'

Closes: https://bugs.gentoo.org/906054
Signed-off-by: INODE64 <web <AT> inode64.com>
Closes: https://github.com/gentoo/gentoo/pull/32734
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 net-misc/openvswitch/openvswitch-2.17.6.ebuild | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/net-misc/openvswitch/openvswitch-2.17.6.ebuild 
b/net-misc/openvswitch/openvswitch-2.17.6.ebuild
index 1edab262a4b7..9116398edd39 100644
--- a/net-misc/openvswitch/openvswitch-2.17.6.ebuild
+++ b/net-misc/openvswitch/openvswitch-2.17.6.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 MODULES_OPTIONAL_USE="modules"
 PYTHON_COMPAT=( python3_{9..11} )
 
-inherit autotools linux-info linux-mod python-single-r1 systemd tmpfiles
+inherit autotools linux-mod python-single-r1 systemd tmpfiles
 
 DESCRIPTION="Production quality, multilayer virtual switch"
 HOMEPAGE="https://www.openvswitch.org";
@@ -31,8 +31,11 @@ RDEPEND="${PYTHON_DEPS}
 DEPEND="${RDEPEND}
        sys-apps/util-linux[caps]
        valgrind? ( dev-util/valgrind )"
-BDEPEND="virtual/pkgconfig"
-
+BDEPEND="virtual/pkgconfig
+       ${PYTHON_DEPS}
+       $(python_gen_cond_dep '
+               dev-python/sphinx[${PYTHON_USEDEP}]
+       ')"
 PATCHES=(
        "${FILESDIR}/xcp-interface-reconfigure-2.3.2.patch"
 )

Reply via email to