commit:     aa83e57725062655fd5efbbbb8128cf9c8953885
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 26 20:32:19 2025 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Mon Jan 27 04:46:01 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa83e577

dev-build/meson: add USE=test-full to guarantee the whole testsuite runs

There are lots of obscure deps we don't necessarily want to require just
to run basic "does it work" tests.

Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 dev-build/meson/meson-1.6.1.ebuild                 | 37 +++++++++++++++++++-
 dev-build/meson/meson-1.7.0_rc1.ebuild             | 37 +++++++++++++++++++-
 dev-build/meson/meson-9999.ebuild                  | 39 ++++++++++++++++++++--
 dev-build/meson/metadata.xml                       |  3 ++
 profiles/arch/arm/package.use.mask                 |  4 +++
 profiles/arch/loong/package.use.mask               |  4 +++
 profiles/arch/mips/package.use.mask                |  4 +++
 .../arch/powerpc/ppc64/package.use.stable.mask     |  4 +++
 profiles/arch/ppc/package.use.mask                 |  6 +++-
 profiles/arch/riscv/package.use.mask               |  6 +++-
 profiles/arch/s390/package.use.mask                |  4 +++
 profiles/arch/sparc/package.use.mask               |  4 +++
 profiles/arch/x86/package.use.mask                 |  6 +++-
 profiles/features/wd40/package.use.mask            |  4 +++
 14 files changed, 155 insertions(+), 7 deletions(-)

diff --git a/dev-build/meson/meson-1.6.1.ebuild 
b/dev-build/meson/meson-1.6.1.ebuild
index bac7abfbfca0..e1c6c692a1f4 100644
--- a/dev-build/meson/meson-1.6.1.ebuild
+++ b/dev-build/meson/meson-1.6.1.ebuild
@@ -42,8 +42,9 @@ HOMEPAGE="https://mesonbuild.com/";
 
 LICENSE="Apache-2.0"
 SLOT="0"
-IUSE="test"
+IUSE="test test-full"
 RESTRICT="!test? ( test )"
+REQUIRED_USE="test-full? ( test )"
 
 DEPEND="
        test? (
@@ -53,6 +54,40 @@ DEPEND="
                dev-vcs/git
                sys-libs/zlib[static-libs(+)]
                virtual/pkgconfig
+               dev-build/cmake
+       )
+       test-full? (
+               || ( dev-lang/rust dev-lang/rust-bin )
+               dev-lang/nasm
+               dev-lang/vala
+               dev-python/cython
+               virtual/fortran
+               virtual/jdk
+
+               app-text/doxygen
+               dev-cpp/gtest
+               dev-libs/protobuf
+               dev-util/bindgen
+               dev-util/gtk-doc
+               dev-util/itstool
+               media-libs/libsdl2
+               media-libs/libwmf
+               net-libs/libpcap
+               sci-libs/hdf5
+               sci-libs/netcdf
+               sys-cluster/openmpi
+               sys-devel/bison
+               sys-devel/flex
+
+               dev-qt/linguist-tools:5
+               dev-qt/qtwidgets:5
+               dev-qt/qtbase:6[gui,widgets]
+               dev-qt/qttools:6
+               dev-util/gdbus-codegen
+               x11-libs/gtk+:3
+
+               dev-libs/wayland
+               dev-util/wayland-scanner
        )
 "
 RDEPEND="

diff --git a/dev-build/meson/meson-1.7.0_rc1.ebuild 
b/dev-build/meson/meson-1.7.0_rc1.ebuild
index 7c4c5f96b87d..64be9d3d5fa6 100644
--- a/dev-build/meson/meson-1.7.0_rc1.ebuild
+++ b/dev-build/meson/meson-1.7.0_rc1.ebuild
@@ -42,8 +42,9 @@ HOMEPAGE="https://mesonbuild.com/";
 
 LICENSE="Apache-2.0"
 SLOT="0"
-IUSE="test"
+IUSE="test test-full"
 RESTRICT="!test? ( test )"
+REQUIRED_USE="test-full? ( test )"
 
 DEPEND="
        test? (
@@ -53,6 +54,40 @@ DEPEND="
                dev-vcs/git
                sys-libs/zlib[static-libs(+)]
                virtual/pkgconfig
+               dev-build/cmake
+       )
+       test-full? (
+               || ( dev-lang/rust dev-lang/rust-bin )
+               dev-lang/nasm
+               dev-lang/vala
+               dev-python/cython
+               virtual/fortran
+               virtual/jdk
+
+               app-text/doxygen
+               dev-cpp/gtest
+               dev-libs/protobuf
+               dev-util/bindgen
+               dev-util/gtk-doc
+               dev-util/itstool
+               media-libs/libsdl2
+               media-libs/libwmf
+               net-libs/libpcap
+               sci-libs/hdf5
+               sci-libs/netcdf
+               sys-cluster/openmpi
+               sys-devel/bison
+               sys-devel/flex
+
+               dev-qt/linguist-tools:5
+               dev-qt/qtwidgets:5
+               dev-qt/qtbase:6[gui,widgets]
+               dev-qt/qttools:6
+               dev-util/gdbus-codegen
+               x11-libs/gtk+:3
+
+               dev-libs/wayland
+               dev-util/wayland-scanner
        )
 "
 RDEPEND="

diff --git a/dev-build/meson/meson-9999.ebuild 
b/dev-build/meson/meson-9999.ebuild
index 70a2f51176dd..64be9d3d5fa6 100644
--- a/dev-build/meson/meson-9999.ebuild
+++ b/dev-build/meson/meson-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2016-2024 Gentoo Authors
+# Copyright 2016-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -42,8 +42,9 @@ HOMEPAGE="https://mesonbuild.com/";
 
 LICENSE="Apache-2.0"
 SLOT="0"
-IUSE="test"
+IUSE="test test-full"
 RESTRICT="!test? ( test )"
+REQUIRED_USE="test-full? ( test )"
 
 DEPEND="
        test? (
@@ -53,6 +54,40 @@ DEPEND="
                dev-vcs/git
                sys-libs/zlib[static-libs(+)]
                virtual/pkgconfig
+               dev-build/cmake
+       )
+       test-full? (
+               || ( dev-lang/rust dev-lang/rust-bin )
+               dev-lang/nasm
+               dev-lang/vala
+               dev-python/cython
+               virtual/fortran
+               virtual/jdk
+
+               app-text/doxygen
+               dev-cpp/gtest
+               dev-libs/protobuf
+               dev-util/bindgen
+               dev-util/gtk-doc
+               dev-util/itstool
+               media-libs/libsdl2
+               media-libs/libwmf
+               net-libs/libpcap
+               sci-libs/hdf5
+               sci-libs/netcdf
+               sys-cluster/openmpi
+               sys-devel/bison
+               sys-devel/flex
+
+               dev-qt/linguist-tools:5
+               dev-qt/qtwidgets:5
+               dev-qt/qtbase:6[gui,widgets]
+               dev-qt/qttools:6
+               dev-util/gdbus-codegen
+               x11-libs/gtk+:3
+
+               dev-libs/wayland
+               dev-util/wayland-scanner
        )
 "
 RDEPEND="

diff --git a/dev-build/meson/metadata.xml b/dev-build/meson/metadata.xml
index 0bea8119a5b7..4cd5b8f68b1a 100644
--- a/dev-build/meson/metadata.xml
+++ b/dev-build/meson/metadata.xml
@@ -12,4 +12,7 @@
                <remote-id type="github">mesonbuild/meson</remote-id>
                <remote-id type="pypi">meson</remote-id>
        </upstream>
+       <use>
+               <flag name="test-full">pull in dependencies to run all 
tests</flag>
+       </use>
 </pkgmetadata>

diff --git a/profiles/arch/arm/package.use.mask 
b/profiles/arch/arm/package.use.mask
index 677a82642613..85408fcd3be2 100644
--- a/profiles/arch/arm/package.use.mask
+++ b/profiles/arch/arm/package.use.mask
@@ -1,6 +1,10 @@
 # Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
+# Eli Schwartz <[email protected]> (2025-01-26)
+# Dependencies e.g. bindgen not keyworded
+dev-build/meson test-full
+
 # Sam James <[email protected]> (2025-01-04)
 # kde-plasma/kde-cli-tools not keyworded here
 x11-misc/xdg-utils plasma

diff --git a/profiles/arch/loong/package.use.mask 
b/profiles/arch/loong/package.use.mask
index 1969983a39ce..67d0b3324822 100644
--- a/profiles/arch/loong/package.use.mask
+++ b/profiles/arch/loong/package.use.mask
@@ -1,6 +1,10 @@
 # Copyright 2022-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
+# Eli Schwartz <[email protected]> (2025-01-26)
+# Dependencies e.g. netcdf not keyworded
+dev-build/meson test-full
+
 # WANG Xuerui <[email protected]> (2025-01-16)
 # tests require qtwebengine which is unavailable
 dev-python/qtconsole test

diff --git a/profiles/arch/mips/package.use.mask 
b/profiles/arch/mips/package.use.mask
index f0fc727e560d..7f9c65aac21b 100644
--- a/profiles/arch/mips/package.use.mask
+++ b/profiles/arch/mips/package.use.mask
@@ -1,6 +1,10 @@
 # Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
+# Eli Schwartz <[email protected]> (2025-01-26)
+# Dependencies e.g. bindgen not keyworded
+dev-build/meson test-full
+
 # Pacho Ramos <[email protected]> (2025-01-26)
 # Needs unkeyworded net-libs/msgraph
 gnome-base/gvfs onedrive

diff --git a/profiles/arch/powerpc/ppc64/package.use.stable.mask 
b/profiles/arch/powerpc/ppc64/package.use.stable.mask
index 151441b4a4bf..3c1f55daae6b 100644
--- a/profiles/arch/powerpc/ppc64/package.use.stable.mask
+++ b/profiles/arch/powerpc/ppc64/package.use.stable.mask
@@ -17,6 +17,10 @@
 
 #--- END OF EXAMPLES ---
 
+# Eli Schwartz <[email protected]> (2025-01-26)
+# Dependencies e.g. bindgen not stable here.
+dev-build/meson test-full
+
 # Sam James <[email protected]> (2025-01-04)
 # kde-plasma/kde-cli-tools not marked stable here
 x11-misc/xdg-utils plasma

diff --git a/profiles/arch/ppc/package.use.mask 
b/profiles/arch/ppc/package.use.mask
index b77ede00e413..4cfea6fc21a3 100644
--- a/profiles/arch/ppc/package.use.mask
+++ b/profiles/arch/ppc/package.use.mask
@@ -1,6 +1,10 @@
-# Copyright 2023-2024 Gentoo Authors
+# Copyright 2023-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
+# Eli Schwartz <[email protected]> (2025-01-26)
+# Dependencies e.g. bindgen not keyworded
+dev-build/meson test-full
+
 # Paul Zander <[email protected]> (2024-11-04)
 # media-libs/libavif is not keyworded
 media-libs/opencv avif

diff --git a/profiles/arch/riscv/package.use.mask 
b/profiles/arch/riscv/package.use.mask
index afa3fa29cba5..5227b6335514 100644
--- a/profiles/arch/riscv/package.use.mask
+++ b/profiles/arch/riscv/package.use.mask
@@ -1,6 +1,10 @@
-# Copyright 2019-2024 Gentoo Authors
+# Copyright 2019-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
+# Eli Schwartz <[email protected]> (2025-01-26)
+# Dependencies e.g. netcdf not keyworded
+dev-build/meson test-full
+
 # Alexey Shvetsov <[email protected]> (2024-11-21)
 # sci-libs/caffe2 is not keyworded on arm64
 sci-chemistry/gromacs nnpot

diff --git a/profiles/arch/s390/package.use.mask 
b/profiles/arch/s390/package.use.mask
index f39f5b057b6b..bc1bc0607647 100644
--- a/profiles/arch/s390/package.use.mask
+++ b/profiles/arch/s390/package.use.mask
@@ -1,6 +1,10 @@
 # Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
+# Eli Schwartz <[email protected]> (2025-01-26)
+# Dependencies e.g. bindgen not keyworded
+dev-build/meson test-full
+
 # Sam James <[email protected]. (2025-01-14)
 # dev-cpp/benchmark is not yet keyworded here
 dev-libs/re2 benchmark

diff --git a/profiles/arch/sparc/package.use.mask 
b/profiles/arch/sparc/package.use.mask
index ce5d2e47e6bb..2ecf67dd984f 100644
--- a/profiles/arch/sparc/package.use.mask
+++ b/profiles/arch/sparc/package.use.mask
@@ -1,6 +1,10 @@
 # Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
+# Eli Schwartz <[email protected]> (2025-01-26)
+# Dependencies e.g. bindgen not keyworded
+dev-build/meson test-full
+
 # Pacho Ramos <[email protected]> (2025-01-26)
 # Needs unkeyworded net-libs/msgraph
 gnome-base/gvfs onedrive

diff --git a/profiles/arch/x86/package.use.mask 
b/profiles/arch/x86/package.use.mask
index ba16b35f2df8..36087928dcd7 100644
--- a/profiles/arch/x86/package.use.mask
+++ b/profiles/arch/x86/package.use.mask
@@ -1,6 +1,10 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
+# Eli Schwartz <[email protected]> (2025-01-26)
+# Dependencies e.g. bindgen not keyworded
+dev-build/meson test-full
+
 # Nowa Ammerlaan <[email protected]> (2024-12-20)
 # qtremoteobjects and qthttpserver not yet keyworded here
 dev-python/pyside6 httpserver remoteobjects

diff --git a/profiles/features/wd40/package.use.mask 
b/profiles/features/wd40/package.use.mask
index ca24ddf1d273..4a46c53b5f29 100644
--- a/profiles/features/wd40/package.use.mask
+++ b/profiles/features/wd40/package.use.mask
@@ -1,6 +1,10 @@
 # Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
+# Eli Schwartz <[email protected]> (2025-01-26)
+# Tests the ability to compile rust projects
+dev-build/meson test-full
+
 # Viorel Munteanu <[email protected]> (2025-01-24)
 # Requires dev-python/asyncssh.
 net-misc/dropbear test-async

Reply via email to