commit:     21e3d4c351898c6b79e8a802465b350a6d09a603
Author:     Matoro Mahri <matoro_gentoo <AT> matoro <DOT> tk>
AuthorDate: Sun Jan 14 22:50:17 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jan 17 05:45:46 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21e3d4c3

dev-libs/libdnet: disable tests for <1.16.4

Uses an old --with-check=<explicit path>, which appears to work but then
actually no-ops the test suite.  >=1.16.4 have an --enable/--disable
toggle that actually works.

Bug: https://bugs.gentoo.org/913838
Signed-off-by: Matoro Mahri <matoro_gentoo <AT> matoro.tk>
Closes: https://github.com/gentoo/gentoo/pull/34812
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/libdnet/libdnet-1.14-r2.ebuild |  5 ++---
 dev-libs/libdnet/libdnet-1.16.1.ebuild  | 10 ++++------
 dev-libs/libdnet/libdnet-1.16.2.ebuild  | 10 ++++------
 3 files changed, 10 insertions(+), 15 deletions(-)

diff --git a/dev-libs/libdnet/libdnet-1.14-r2.ebuild 
b/dev-libs/libdnet/libdnet-1.14-r2.ebuild
index 90dbdead4409..c245b49afed1 100644
--- a/dev-libs/libdnet/libdnet-1.14-r2.ebuild
+++ b/dev-libs/libdnet/libdnet-1.14-r2.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=7
@@ -16,9 +16,8 @@ S="${WORKDIR}/${PN}-${P}"
 LICENSE="LGPL-2"
 SLOT="0"
 KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
-IUSE="python test"
+IUSE="python"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-RESTRICT="!test? ( test )"
 
 DEPEND="python? ( ${PYTHON_DEPS} )"
 RDEPEND="${DEPEND}"

diff --git a/dev-libs/libdnet/libdnet-1.16.1.ebuild 
b/dev-libs/libdnet/libdnet-1.16.1.ebuild
index 6321f1a10785..8f181b069e5c 100644
--- a/dev-libs/libdnet/libdnet-1.16.1.ebuild
+++ b/dev-libs/libdnet/libdnet-1.16.1.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
@@ -15,16 +15,14 @@ S="${WORKDIR}/${PN}-${P}"
 LICENSE="LGPL-2"
 SLOT="0"
 KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
-IUSE="python test"
-RESTRICT="!test? ( test )"
+IUSE="python"
 
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 DEPEND="dev-libs/libbsd
        python? ( ${PYTHON_DEPS} )"
 RDEPEND="${DEPEND}"
-BDEPEND="python? ( dev-python/cython[${PYTHON_USEDEP}] )
-       test? ( dev-libs/check )"
+BDEPEND="python? ( dev-python/cython[${PYTHON_USEDEP}] )"
 
 DOCS=( README.md THANKS )
 
@@ -55,7 +53,7 @@ src_prepare() {
 src_configure() {
        econf \
                $(use_with python) \
-               $(use_enable test check)
+               --without-check
 }
 
 src_compile() {

diff --git a/dev-libs/libdnet/libdnet-1.16.2.ebuild 
b/dev-libs/libdnet/libdnet-1.16.2.ebuild
index 7b853da8a2fc..cf6a8e46f761 100644
--- a/dev-libs/libdnet/libdnet-1.16.2.ebuild
+++ b/dev-libs/libdnet/libdnet-1.16.2.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
@@ -15,16 +15,14 @@ S="${WORKDIR}/${PN}-${P}"
 LICENSE="LGPL-2"
 SLOT="0"
 KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
-IUSE="python test"
-RESTRICT="!test? ( test )"
+IUSE="python"
 
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 DEPEND="dev-libs/libbsd
        python? ( ${PYTHON_DEPS} )"
 RDEPEND="${DEPEND}"
-BDEPEND="python? ( dev-python/cython[${PYTHON_USEDEP}] )
-       test? ( dev-libs/check )"
+BDEPEND="python? ( dev-python/cython[${PYTHON_USEDEP}] )"
 
 DOCS=( README.md THANKS )
 
@@ -55,7 +53,7 @@ src_prepare() {
 src_configure() {
        econf \
                $(use_with python) \
-               $(use_enable test check)
+               --without-check
 }
 
 src_compile() {

Reply via email to