From: Craig Andrews Date: Sun, 15 Sep 2019 13:13:48 +0000 (-0400) Subject: net-libs/nghttp3: Disable test phase when test USE flag is disabled X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9ea6e8d213ac21da1e528b0bc650da852c041967;p=gentoo.git net-libs/nghttp3: Disable test phase when test USE flag is disabled 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 --- diff --git a/net-libs/nghttp3/nghttp3-0_pre20190912.ebuild b/net-libs/nghttp3/nghttp3-0_pre20190912.ebuild index 6489dde91d83..48b5fc1f2854 100644 --- a/net-libs/nghttp3/nghttp3-0_pre20190912.ebuild +++ b/net-libs/nghttp3/nghttp3-0_pre20190912.ebuild @@ -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=( diff --git a/net-libs/nghttp3/nghttp3-9999.ebuild b/net-libs/nghttp3/nghttp3-9999.ebuild index 62a48b643ade..9bc601bc0316 100644 --- a/net-libs/nghttp3/nghttp3-9999.ebuild +++ b/net-libs/nghttp3/nghttp3-9999.ebuild @@ -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=(