From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-835715-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id AAC2B1387B1
	for <garchives@archives.gentoo.org>; Mon, 21 Sep 2015 17:44:32 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 9F37B21C0B5;
	Mon, 21 Sep 2015 17:44:22 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 4AB7C21C0B5
	for <gentoo-commits@lists.gentoo.org>; Mon, 21 Sep 2015 17:44:17 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 92724340887
	for <gentoo-commits@lists.gentoo.org>; Mon, 21 Sep 2015 17:44:16 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 7ED7623B
	for <gentoo-commits@lists.gentoo.org>; Mon, 21 Sep 2015 17:44:11 +0000 (UTC)
From: "Justin Lecher" <jlec@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, "Justin Lecher" <jlec@gentoo.org>
Message-ID: <1442856798.d786e71e19cac05e56ed0393f287b45df4686ba8.jlec@gentoo>
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/cgnstools/
X-VCS-Repository: proj/sci
X-VCS-Files: sci-libs/cgnstools/cgnstools-2.5.4-r1.ebuild
X-VCS-Directories: sci-libs/cgnstools/
X-VCS-Committer: jlec
X-VCS-Committer-Name: Justin Lecher
X-VCS-Revision: d786e71e19cac05e56ed0393f287b45df4686ba8
X-VCS-Branch: master
Date: Mon, 21 Sep 2015 17:44:11 +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: b8fb116a-f95a-499e-b24b-26245e2f1dfe
X-Archives-Hash: e8ba7f0383d7b5b7826158c32629649b

commit:     d786e71e19cac05e56ed0393f287b45df4686ba8
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 21 17:33:18 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Sep 21 17:33:18 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=d786e71e

sci-libs/cgnstools: Add subslot operators

Package-Manager: portage-2.2.20.1
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 sci-libs/cgnstools/cgnstools-2.5.4-r1.ebuild | 19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)

diff --git a/sci-libs/cgnstools/cgnstools-2.5.4-r1.ebuild b/sci-libs/cgnstools/cgnstools-2.5.4-r1.ebuild
index 7abf975..4382192 100644
--- a/sci-libs/cgnstools/cgnstools-2.5.4-r1.ebuild
+++ b/sci-libs/cgnstools/cgnstools-2.5.4-r1.ebuild
@@ -17,20 +17,25 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="hdf5 tcl tk X"
 
-DEPEND="hdf5? ( sci-libs/cgnslib[hdf5] )
+DEPEND="
+	hdf5? ( sci-libs/cgnslib[hdf5] )
 	!hdf5? ( sci-libs/cgnslib[-hdf5] )
-	tcl? ( dev-lang/tcl )
-	tk? ( dev-lang/tk )"
+	tcl? ( dev-lang/tcl:0= )
+	tk? ( dev-lang/tk:0= )"
 
 RDEPEND="${DEPEND}"
 
 S=${WORKDIR}/${PN}
 
+PATCHES=(
+	"${FILESDIR}"/${P}.patch
+	"${FILESDIR}"/${P}_cgns_to_vtk2D.patch
+	"${FILESDIR}"/${P}_gcc4.4.patch
+	"${FILESDIR}"/${P}_tcltk.patch
+)
+
 src_prepare() {
-	epatch "${FILESDIR}"/${P}.patch
-	epatch "${FILESDIR}"/${P}_cgns_to_vtk2D.patch
-	epatch "${FILESDIR}"/${P}_gcc4.4.patch
-	epatch "${FILESDIR}"/${P}_tcltk.patch
+	epatch "${PATCHES[@]}"
 }
 
 src_configure() {