commit:     b2a2324ebb6e86b47ecca117bf7adf5473f6e41f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 20 05:04:56 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jul 20 05:06:42 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2a2324e

dev-libs/libnl: restrict tests

Bug: https://github.com/thom311/libnl/issues/361
Closes: https://bugs.gentoo.org/840167
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/libnl/libnl-3.10.0.ebuild | 3 ++-
 dev-libs/libnl/libnl-3.7.0.ebuild  | 6 ++++--
 dev-libs/libnl/libnl-3.8.0.ebuild  | 6 ++++--
 dev-libs/libnl/libnl-3.9.0.ebuild  | 4 +++-
 dev-libs/libnl/libnl-9999.ebuild   | 4 +++-
 5 files changed, 16 insertions(+), 7 deletions(-)

diff --git a/dev-libs/libnl/libnl-3.10.0.ebuild 
b/dev-libs/libnl/libnl-3.10.0.ebuild
index 7075f44f5c89..1c7d4454ac9e 100644
--- a/dev-libs/libnl/libnl-3.10.0.ebuild
+++ b/dev-libs/libnl/libnl-3.10.0.ebuild
@@ -30,7 +30,8 @@ fi
 LICENSE="LGPL-2.1 utils? ( GPL-2 )"
 SLOT="3"
 IUSE="+debug python test utils"
-# Tests require privileges
+# Tests fail w/ sandboxes
+# https://github.com/thom311/libnl/issues/361
 RESTRICT="!test? ( test ) test"
 
 RDEPEND="python? ( ${PYTHON_DEPS} )"

diff --git a/dev-libs/libnl/libnl-3.7.0.ebuild 
b/dev-libs/libnl/libnl-3.7.0.ebuild
index dc16175b64ac..c4bd28210037 100644
--- a/dev-libs/libnl/libnl-3.7.0.ebuild
+++ b/dev-libs/libnl/libnl-3.7.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -27,7 +27,9 @@ fi
 LICENSE="LGPL-2.1 utils? ( GPL-2 )"
 SLOT="3"
 IUSE="+debug python test utils"
-RESTRICT="!test? ( test )"
+# Tests fail w/ sandboxes
+# https://github.com/thom311/libnl/issues/361
+RESTRICT="!test? ( test ) test"
 
 RDEPEND="python? ( ${PYTHON_DEPS} )"
 DEPEND="${RDEPEND}"

diff --git a/dev-libs/libnl/libnl-3.8.0.ebuild 
b/dev-libs/libnl/libnl-3.8.0.ebuild
index c72e4b01c347..5a815cb27fa7 100644
--- a/dev-libs/libnl/libnl-3.8.0.ebuild
+++ b/dev-libs/libnl/libnl-3.8.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -30,7 +30,9 @@ fi
 LICENSE="LGPL-2.1 utils? ( GPL-2 )"
 SLOT="3"
 IUSE="+debug python test utils"
-RESTRICT="!test? ( test )"
+# Tests fail w/ sandboxes
+# https://github.com/thom311/libnl/issues/361
+RESTRICT="!test? ( test ) test"
 
 RDEPEND="python? ( ${PYTHON_DEPS} )"
 DEPEND="${RDEPEND}"

diff --git a/dev-libs/libnl/libnl-3.9.0.ebuild 
b/dev-libs/libnl/libnl-3.9.0.ebuild
index cd91ab04a015..157fe4e901fc 100644
--- a/dev-libs/libnl/libnl-3.9.0.ebuild
+++ b/dev-libs/libnl/libnl-3.9.0.ebuild
@@ -30,7 +30,9 @@ fi
 LICENSE="LGPL-2.1 utils? ( GPL-2 )"
 SLOT="3"
 IUSE="+debug python test utils"
-RESTRICT="!test? ( test )"
+# Tests fail w/ sandboxes
+# https://github.com/thom311/libnl/issues/361
+RESTRICT="!test? ( test ) test"
 
 RDEPEND="python? ( ${PYTHON_DEPS} )"
 DEPEND="${RDEPEND}"

diff --git a/dev-libs/libnl/libnl-9999.ebuild b/dev-libs/libnl/libnl-9999.ebuild
index 65afdf1df751..1c7d4454ac9e 100644
--- a/dev-libs/libnl/libnl-9999.ebuild
+++ b/dev-libs/libnl/libnl-9999.ebuild
@@ -30,7 +30,9 @@ fi
 LICENSE="LGPL-2.1 utils? ( GPL-2 )"
 SLOT="3"
 IUSE="+debug python test utils"
-RESTRICT="!test? ( test )"
+# Tests fail w/ sandboxes
+# https://github.com/thom311/libnl/issues/361
+RESTRICT="!test? ( test ) test"
 
 RDEPEND="python? ( ${PYTHON_DEPS} )"
 DEPEND="${RDEPEND}"

Reply via email to