commit:     4fe9d3e62ee3a271ca381e8d729ea419c3619140
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri May 12 02:51:42 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri May 12 02:55:40 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fe9d3e6

x11-wm/fluxbox: wire up (restricted) tests

Interactive and throw.

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

 x11-wm/fluxbox/fluxbox-1.3.7-r4.ebuild | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/x11-wm/fluxbox/fluxbox-1.3.7-r4.ebuild 
b/x11-wm/fluxbox/fluxbox-1.3.7-r4.ebuild
index 0b4473aa39bc..a7785b67f68f 100644
--- a/x11-wm/fluxbox/fluxbox-1.3.7-r4.ebuild
+++ b/x11-wm/fluxbox/fluxbox-1.3.7-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -12,9 +12,10 @@ SRC_URI="mirror://sourceforge/fluxbox/${P}.tar.xz"
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc x86 
~amd64-linux ~x86-linux"
-IUSE="nls xinerama bidi +truetype +imlib +slit +systray +toolbar vim-syntax"
-
+IUSE="nls xinerama bidi +truetype +imlib +slit +systray test +toolbar 
vim-syntax"
 REQUIRED_USE="systray? ( toolbar )"
+# Tests are all manual and throw an exception on launch.
+RESTRICT="!test? ( test ) test"
 
 RDEPEND="bidi? ( >=dev-libs/fribidi-0.19.2 )
        imlib? ( >=media-libs/imlib2-1.2.0[X] )
@@ -72,9 +73,10 @@ src_configure() {
                $(use_enable bidi fribidi ) \
                $(use_enable imlib imlib2) \
                $(use_enable nls) \
-               $(use_enable slit ) \
-               $(use_enable systray ) \
-               $(use_enable toolbar ) \
+               $(use_enable slit) \
+               $(use_enable systray) \
+               $(use_enable test) \
+               $(use_enable toolbar) \
                $(use_enable truetype xft) \
                $(use_enable xinerama) \
                --sysconfdir="${EPREFIX}"/etc/X11/${PN} \

Reply via email to