From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-889938-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 7959C1382DE
	for <garchives@archives.gentoo.org>; Sat,  2 Jul 2016 16:12:59 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 9F98014179;
	Sat,  2 Jul 2016 16:12:57 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 1BE5914179
	for <gentoo-commits@lists.gentoo.org>; Sat,  2 Jul 2016 16:12:57 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 3833E340DC8
	for <gentoo-commits@lists.gentoo.org>; Sat,  2 Jul 2016 16:12:56 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id EA3F62424
	for <gentoo-commits@lists.gentoo.org>; Sat,  2 Jul 2016 16:12:51 +0000 (UTC)
From: "Amadeusz Piotr Żołnowski" <aidecoe@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, "Amadeusz Piotr Żołnowski" <aidecoe@gentoo.org>
Message-ID: <1467475916.67d71e92930ef8716512c0111c30d796e01a0880.aidecoe@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/
X-VCS-Repository: repo/gentoo
X-VCS-Files: net-mail/notmuch/metadata.xml net-mail/notmuch/notmuch-0.22-r2.ebuild
X-VCS-Directories: net-mail/notmuch/
X-VCS-Committer: aidecoe
X-VCS-Committer-Name: Amadeusz Piotr Żołnowski
X-VCS-Revision: 67d71e92930ef8716512c0111c30d796e01a0880
X-VCS-Branch: master
Date: Sat,  2 Jul 2016 16:12:51 +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-Archives-Salt: 1940e8a1-f059-405e-8833-141f413e23c7
X-Archives-Hash: 8106c45c7eaceb2287a512158624a971

commit:     67d71e92930ef8716512c0111c30d796e01a0880
Author:     Amadeusz Żołnowski <aidecoe <AT> gentoo <DOT> org>
AuthorDate: Sat Jul  2 09:27:20 2016 +0000
Commit:     Amadeusz Piotr Żołnowski <aidecoe <AT> gentoo <DOT> org>
CommitDate: Sat Jul  2 16:11:56 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67d71e92

net-mail/notmuch: Rename debug flag to valgrind (in testing ebuild only)

Require valgrind only for build. 'debug' flag was actually misused.

Gentoo-Bug: 587560

Package-Manager: portage-2.3.0

 net-mail/notmuch/metadata.xml           | 1 +
 net-mail/notmuch/notmuch-0.22-r2.ebuild | 8 ++++----
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/net-mail/notmuch/metadata.xml b/net-mail/notmuch/metadata.xml
index d476d72..332a3c0 100644
--- a/net-mail/notmuch/metadata.xml
+++ b/net-mail/notmuch/metadata.xml
@@ -15,6 +15,7 @@
 		<flag name="nmbug">Install experimental tag sharing /
 			pseudo-bug-tracking script for Notmuch
 			(see http://notmuchmail.org/nmbug/)</flag>
+		<flag name="valgrind">Depend on dev-util/vagrind for test suite</flag>
 	</use>
 	<longdescription lang="en">
 		Notmuch is a system for indexing, searching, reading, and tagging large

diff --git a/net-mail/notmuch/notmuch-0.22-r2.ebuild b/net-mail/notmuch/notmuch-0.22-r2.ebuild
index 41765a4..6f415c8 100644
--- a/net-mail/notmuch/notmuch-0.22-r2.ebuild
+++ b/net-mail/notmuch/notmuch-0.22-r2.ebuild
@@ -22,9 +22,9 @@ KEYWORDS="~amd64 ~x86"
 REQUIRED_USE="
 	nmbug? ( python )
 	python? ( ${PYTHON_REQUIRED_USE} )
-	test? ( crypt debug emacs python )
+	test? ( crypt emacs python valgrind )
 	"
-IUSE="crypt debug doc emacs mutt nmbug python test"
+IUSE="crypt doc emacs mutt nmbug python test valgrind"
 
 CDEPEND="
 	>=app-shells/bash-completion-1.9
@@ -35,7 +35,6 @@ CDEPEND="
 	>=sys-libs/zlib-1.2.5.2
 	sys-libs/talloc
 	crypt? ( >=dev-libs/gmime-2.6.20-r2:2.6[smime] )
-	debug? ( dev-util/valgrind )
 	emacs? ( >=virtual/emacs-23 )
 	python? ( ${PYTHON_DEPS} )
 	"
@@ -45,6 +44,7 @@ DEPEND="${CDEPEND}
 	test? ( app-misc/dtach || ( >=app-editors/emacs-23[libxml2]
 		>=app-editors/emacs-vcs-23[libxml2] ) sys-devel/gdb
 		crypt? ( app-crypt/gnupg dev-libs/openssl ) )
+	valgrind? ( dev-util/valgrind )
 	"
 RDEPEND="${CDEPEND}
 	crypt? ( app-crypt/gnupg )
@@ -99,7 +99,7 @@ src_prepare() {
 
 	rm -f Makefile.config # assure that new Makefile.config will be generated
 
-	if use debug; then
+	if use test; then
 		append-cflags -g
 		append-cxxflags -g
 	fi