app-arch/pigz: add missing conditional test RESTRICT
authorTim Harder <radhermit@gentoo.org>
Wed, 14 Aug 2019 23:02:46 +0000 (17:02 -0600)
committerTim Harder <radhermit@gentoo.org>
Wed, 14 Aug 2019 23:14:40 +0000 (17:14 -0600)
Signed-off-by: Tim Harder <radhermit@gentoo.org>
app-arch/pigz/pigz-2.4.ebuild

index ce6d961daf717b9c739f8b90f3d4ce94ebdefe76..ed4dddd258c953221cf8fe357dfb36ed0244534a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -13,6 +13,7 @@ LICENSE="ZLIB"
 SLOT="0"
 KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~ppc-macos ~sparc64-solaris"
 IUSE="static symlink test"
+RESTRICT="!test? ( test )"
 
 LIB_DEPEND="sys-libs/zlib[static-libs(+)]"
 RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"