net-libs/nghttp3: Disable test phase when test USE flag is disabled
authorCraig Andrews <candrews@gentoo.org>
Sun, 15 Sep 2019 13:13:48 +0000 (09:13 -0400)
committerCraig Andrews <candrews@gentoo.org>
Sun, 15 Sep 2019 13:33:08 +0000 (09:33 -0400)
Bug: https://bugs.gentoo.org/show_bug.cgi?id=694342
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Craig Andrews <candrews@gentoo.org>
net-libs/nghttp3/nghttp3-0_pre20190912.ebuild
net-libs/nghttp3/nghttp3-9999.ebuild

index 6489dde91d83c58066ffc8afd3aa6b135c5d1cda..48b5fc1f28548b10acb4e81e788b1beb5c7a2c17 100644 (file)
@@ -25,6 +25,7 @@ IUSE="test"
 BDEPEND="virtual/pkgconfig"
 DEPEND="test? ( >=dev-util/cunit-2.1[${MULTILIB_USEDEP}] )"
 RDEPEND=""
+RESTRICT="!test? ( test )"
 
 multilib_src_configure() {
        local mycmakeargs=(
index 62a48b643ade08b04efe50972875f2b83eb840bb..9bc601bc03165ad9b41b65ad7229de577a4c6b5b 100644 (file)
@@ -23,6 +23,7 @@ IUSE="test"
 BDEPEND="virtual/pkgconfig"
 DEPEND="test? ( >=dev-util/cunit-2.1[${MULTILIB_USEDEP}] )"
 RDEPEND=""
+RESTRICT="!test? ( test )"
 
 multilib_src_configure() {
        local mycmakeargs=(