diff options
author | Sam James <sam@gentoo.org> | 2023-05-27 06:10:29 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-05-27 07:12:12 +0100 |
commit | c50f3066ecb86708a26a52744c657cacc84e0592 (patch) | |
tree | 3095a11ed4ffdfa604c7df04228ebf4b230f1592 /dev-libs | |
parent | llvm.org.eclass: Remove old snapshots (diff) | |
download | gentoo-c50f3066ecb86708a26a52744c657cacc84e0592.tar.gz gentoo-c50f3066ecb86708a26a52744c657cacc84e0592.tar.bz2 gentoo-c50f3066ecb86708a26a52744c657cacc84e0592.zip |
dev-libs/libee: conditionally build tests
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/libee/libee-0.4.1.ebuild | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/dev-libs/libee/libee-0.4.1.ebuild b/dev-libs/libee/libee-0.4.1.ebuild index 9355b1f0a058..0c199a5b8e31 100644 --- a/dev-libs/libee/libee-0.4.1.ebuild +++ b/dev-libs/libee/libee-0.4.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -10,17 +10,19 @@ SRC_URI="http://www.libee.org/files/download/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="amd64 arm ~arm64 ~hppa x86 ~amd64-linux" -IUSE="debug" +IUSE="debug test" +RESTRICT="!test? ( test )" RDEPEND=" dev-libs/libxml2 - dev-libs/libestr" + dev-libs/libestr +" DEPEND="${RDEPEND}" src_configure() { econf \ --disable-static \ - --enable-testbench \ + $(use_enable test testbench) \ $(use_enable debug) } |