Gentoo Archives: gentoo-commits

From: James Le Cuirot <chewi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/
Date: Tue, 21 Sep 2021 12:31:25
Message-Id: 1632227441.9b5c967e79f1d5baf1e3b8d7f4c84c95fabb0408.chewi@gentoo
1 commit: 9b5c967e79f1d5baf1e3b8d7f4c84c95fabb0408
2 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 21 11:56:12 2021 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 21 12:30:41 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b5c967e
7
8 dev-libs/libnl: Add missing test dependency to 3.5.0
9
10 Without dev-libs/check, it wasn't actually executing the tests.
11
12 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
13
14 dev-libs/libnl/libnl-3.5.0.ebuild | 4 +++-
15 dev-libs/libnl/libnl-99999999.ebuild | 4 +++-
16 2 files changed, 6 insertions(+), 2 deletions(-)
17
18 diff --git a/dev-libs/libnl/libnl-3.5.0.ebuild b/dev-libs/libnl/libnl-3.5.0.ebuild
19 index ea0332a4ef9..4cbe4b34a9e 100644
20 --- a/dev-libs/libnl/libnl-3.5.0.ebuild
21 +++ b/dev-libs/libnl/libnl-3.5.0.ebuild
22 @@ -19,13 +19,15 @@ S="${WORKDIR}/${LIBNL_P}"
23 LICENSE="LGPL-2.1 utils? ( GPL-2 )"
24 SLOT="3"
25 KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
26 -IUSE="+debug static-libs python +threads utils"
27 +IUSE="+debug static-libs python test +threads utils"
28 +RESTRICT="!test? ( test )"
29
30 RDEPEND="python? ( ${PYTHON_DEPS} )"
31 DEPEND="${RDEPEND}"
32 BDEPEND="
33 ${RDEPEND}
34 python? ( dev-lang/swig )
35 + test? ( dev-libs/check )
36 sys-devel/bison
37 sys-devel/flex
38 "
39
40 diff --git a/dev-libs/libnl/libnl-99999999.ebuild b/dev-libs/libnl/libnl-99999999.ebuild
41 index 1919e6e62e7..b2b6af6a8f1 100644
42 --- a/dev-libs/libnl/libnl-99999999.ebuild
43 +++ b/dev-libs/libnl/libnl-99999999.ebuild
44 @@ -14,7 +14,8 @@ EGIT_REPO_URI="https://github.com/thom311/libnl"
45 LICENSE="LGPL-2.1 utils? ( GPL-2 )"
46 SLOT="3"
47 KEYWORDS=""
48 -IUSE="+debug static-libs python +threads utils"
49 +IUSE="+debug static-libs python test +threads utils"
50 +RESTRICT="!test? ( test )"
51
52 RDEPEND="python? ( ${PYTHON_DEPS} )"
53 DEPEND="${RDEPEND}"
54 @@ -23,6 +24,7 @@ BDEPEND="
55 sys-devel/bison
56 sys-devel/flex
57 python? ( dev-lang/swig )
58 + test? ( dev-libs/check )
59 "
60 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"