commit:     9b5c967e79f1d5baf1e3b8d7f4c84c95fabb0408
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 21 11:56:12 2021 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Tue Sep 21 12:30:41 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b5c967e

dev-libs/libnl: Add missing test dependency to 3.5.0

Without dev-libs/check, it wasn't actually executing the tests.

Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 dev-libs/libnl/libnl-3.5.0.ebuild    | 4 +++-
 dev-libs/libnl/libnl-99999999.ebuild | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/dev-libs/libnl/libnl-3.5.0.ebuild 
b/dev-libs/libnl/libnl-3.5.0.ebuild
index ea0332a4ef9..4cbe4b34a9e 100644
--- a/dev-libs/libnl/libnl-3.5.0.ebuild
+++ b/dev-libs/libnl/libnl-3.5.0.ebuild
@@ -19,13 +19,15 @@ S="${WORKDIR}/${LIBNL_P}"
 LICENSE="LGPL-2.1 utils? ( GPL-2 )"
 SLOT="3"
 KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux"
-IUSE="+debug static-libs python +threads utils"
+IUSE="+debug static-libs python test +threads utils"
+RESTRICT="!test? ( test )"
 
 RDEPEND="python? ( ${PYTHON_DEPS} )"
 DEPEND="${RDEPEND}"
 BDEPEND="
        ${RDEPEND}
        python? ( dev-lang/swig )
+       test? ( dev-libs/check )
        sys-devel/bison
        sys-devel/flex
 "

diff --git a/dev-libs/libnl/libnl-99999999.ebuild 
b/dev-libs/libnl/libnl-99999999.ebuild
index 1919e6e62e7..b2b6af6a8f1 100644
--- a/dev-libs/libnl/libnl-99999999.ebuild
+++ b/dev-libs/libnl/libnl-99999999.ebuild
@@ -14,7 +14,8 @@ EGIT_REPO_URI="https://github.com/thom311/libnl";
 LICENSE="LGPL-2.1 utils? ( GPL-2 )"
 SLOT="3"
 KEYWORDS=""
-IUSE="+debug static-libs python +threads utils"
+IUSE="+debug static-libs python test +threads utils"
+RESTRICT="!test? ( test )"
 
 RDEPEND="python? ( ${PYTHON_DEPS} )"
 DEPEND="${RDEPEND}"
@@ -23,6 +24,7 @@ BDEPEND="
        sys-devel/bison
        sys-devel/flex
        python? ( dev-lang/swig )
+       test? ( dev-libs/check )
 "
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 

Reply via email to