From d20b71fedbbb69417ec4c092c3cfe8d0b9c8bd12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francisco=20Javier=20F=C3=A9lix?= Date: Tue, 12 Sep 2023 08:40:30 +0200 Subject: [PATCH] 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 Closes: https://github.com/gentoo/gentoo/pull/32734 Signed-off-by: Joonas Niilola --- 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 1edab262a4b71..9116398edd39d 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" )