From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1452403-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id EC4E9158021
	for <garchives@archives.gentoo.org>; Wed,  2 Nov 2022 00:47:48 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 1A4DCE0A94;
	Wed,  2 Nov 2022 00:47:48 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id F276FE0A94
	for <gentoo-commits@lists.gentoo.org>; Wed,  2 Nov 2022 00:47:47 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id EA9B9340F2E
	for <gentoo-commits@lists.gentoo.org>; Wed,  2 Nov 2022 00:47:46 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 75BD755B
	for <gentoo-commits@lists.gentoo.org>; Wed,  2 Nov 2022 00:47:45 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1667350053.b6514d396ca1023d0a9645965a45424d87d91028.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/swig/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-lang/swig/swig-4.1.0.ebuild
X-VCS-Directories: dev-lang/swig/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: b6514d396ca1023d0a9645965a45424d87d91028
X-VCS-Branch: master
Date: Wed,  2 Nov 2022 00:47:45 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: d297b0a9-e0a3-4921-89bb-ef05071e4eb1
X-Archives-Hash: bbad672e1005e8a47649f5d7fa34c908

commit:     b6514d396ca1023d0a9645965a45424d87d91028
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Nov  1 23:45:37 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Nov  2 00:47:33 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6514d39

dev-lang/swig: depend on Boost for tests

Closes: https://bugs.gentoo.org/879047
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-lang/swig/swig-4.1.0.ebuild | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/dev-lang/swig/swig-4.1.0.ebuild b/dev-lang/swig/swig-4.1.0.ebuild
index a87f2a77cd6a..76be84b0a4f5 100644
--- a/dev-lang/swig/swig-4.1.0.ebuild
+++ b/dev-lang/swig/swig-4.1.0.ebuild
@@ -12,14 +12,17 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 LICENSE="GPL-3+ BSD BSD-2"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-IUSE="ccache doc pcre"
-#RESTRICT="test"
+IUSE="ccache doc pcre test"
+RESTRICT="!test? ( test )"
 
 RDEPEND="
 	pcre? ( dev-libs/libpcre2 )
 	ccache? ( sys-libs/zlib )
 "
-DEPEND="${RDEPEND}"
+DEPEND="
+	${RDEPEND}
+	test? ( dev-libs/boost )
+"
 BDEPEND="virtual/pkgconfig"
 
 DOCS=( ANNOUNCE CHANGES CHANGES.current README TODO )