summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2021-09-21 12:56:12 +0100
committerJames Le Cuirot <chewi@gentoo.org>2021-09-21 13:30:41 +0100
commit9b5c967e79f1d5baf1e3b8d7f4c84c95fabb0408 (patch)
tree60533d93e6d27301f9d74c51100756bb03afdd03 /dev-libs/libnl
parentmedia-sound/sndio: Version cleanup, 1.7.0-r1 (diff)
downloadgentoo-9b5c967e79f1d5baf1e3b8d7f4c84c95fabb0408.tar.gz
gentoo-9b5c967e79f1d5baf1e3b8d7f4c84c95fabb0408.tar.bz2
gentoo-9b5c967e79f1d5baf1e3b8d7f4c84c95fabb0408.zip
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@gentoo.org>
Diffstat (limited to 'dev-libs/libnl')
-rw-r--r--dev-libs/libnl/libnl-3.5.0.ebuild4
-rw-r--r--dev-libs/libnl/libnl-99999999.ebuild4
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 ea0332a4ef97..4cbe4b34a9e5 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 1919e6e62e7d..b2b6af6a8f1e 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} )"