commit:     63492aad0a9e051db1ccabd113b6ae05ba32e761
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri May 23 07:47:09 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri May 23 08:16:59 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63492aad

sci-libs/matio: run tests in parallel

Much faster. Also, drop redundant --disable-static while here (as ebuild
already uses EAPI 8).

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-libs/matio/matio-1.5.23.ebuild | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/sci-libs/matio/matio-1.5.23.ebuild 
b/sci-libs/matio/matio-1.5.23.ebuild
index e6ae2a54d346..cb88ad45790d 100644
--- a/sci-libs/matio/matio-1.5.23.ebuild
+++ b/sci-libs/matio/matio-1.5.23.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit libtool
+inherit libtool multiprocessing
 
 DESCRIPTION="Library for reading and writing matlab files"
 HOMEPAGE="https://sourceforge.net/projects/matio/";
@@ -27,7 +27,6 @@ src_prepare() {
 
 src_configure() {
        econf \
-               --disable-static \
                $(use_enable hdf5 mat73) \
                $(use_enable sparse extended-sparse)
 }
@@ -37,6 +36,10 @@ src_compile() {
        use doc && emake -C documentation pdf
 }
 
+src_test() {
+       emake -Onone check TESTSUITEFLAGS="--jobs=$(makeopts_jobs)"
+}
+
 src_install() {
        default
        use doc && dodoc documentation/matio_user_guide.pdf

Reply via email to