diff options
author | Sam James <sam@gentoo.org> | 2024-04-08 07:58:13 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-04-08 07:58:13 +0100 |
commit | 7901097290645dfe6daee81cda3732498f00fc6d (patch) | |
tree | 3d18ad7893062822f89ea0805e781a04c75f5e6b /net-libs | |
parent | net-dns/inadyn: cleanup ebuild a bit, smaller distfile, add note on tests (diff) | |
download | gentoo-7901097290645dfe6daee81cda3732498f00fc6d.tar.gz gentoo-7901097290645dfe6daee81cda3732498f00fc6d.tar.bz2 gentoo-7901097290645dfe6daee81cda3732498f00fc6d.zip |
net-libs/czmq: conditionally build tests
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/czmq/czmq-4.2.1.ebuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/net-libs/czmq/czmq-4.2.1.ebuild b/net-libs/czmq/czmq-4.2.1.ebuild index 6b42355ba222..0da2a9fa4f74 100644 --- a/net-libs/czmq/czmq-4.2.1.ebuild +++ b/net-libs/czmq/czmq-4.2.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="8" @@ -10,7 +10,8 @@ SRC_URI="https://github.com/zeromq/${PN}/releases/download/v${PV}/${P}.tar.gz" LICENSE="MPL-2.0" SLOT="0/4" KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~ppc64 ~riscv x86" -IUSE="curl drafts http-client http-server lz4 nss static-libs systemd +uuid" +IUSE="curl drafts http-client http-server lz4 nss static-libs systemd test +uuid" +RESTRICT="!test? ( test )" BDEPEND="app-text/asciidoc app-text/xmlto @@ -41,6 +42,7 @@ src_configure() { --with-libsystemd=$(usex systemd) --with-liblz4=$(usex lz4) --with-nss=$(usex nss) + $(use_enable test czmq_selftest) ) econf "${myeconfargs[@]}" |