From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-commits+bounces-355900-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1QYzZa-00087m-EV
	for garchives@archives.gentoo.org; Tue, 21 Jun 2011 11:56:50 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 8848B1C1E3;
	Tue, 21 Jun 2011 11:54:18 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	by pigeon.gentoo.org (Postfix) with ESMTP id 3F7061C1E3
	for <gentoo-commits@lists.gentoo.org>; Tue, 21 Jun 2011 11:54:18 +0000 (UTC)
Received: from pelican.gentoo.org (unknown [66.219.59.40])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id B6E7B1B403E
	for <gentoo-commits@lists.gentoo.org>; Tue, 21 Jun 2011 11:54:17 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by pelican.gentoo.org (Postfix) with ESMTP id 1E0F68001E
	for <gentoo-commits@lists.gentoo.org>; Tue, 21 Jun 2011 11:54:17 +0000 (UTC)
From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" <jlec@gentoo.org>
Message-ID: <a0bdaa8ec4e76bb990a06dc919de57b28cd48c4f.jlec@gentoo>
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/wannier90/
X-VCS-Repository: proj/sci
X-VCS-Files: sci-libs/wannier90/ChangeLog sci-libs/wannier90/metadata.xml sci-libs/wannier90/wannier90-1.2.ebuild
X-VCS-Directories: sci-libs/wannier90/
X-VCS-Committer: jlec
X-VCS-Committer-Name: Justin Lecher
X-VCS-Revision: a0bdaa8ec4e76bb990a06dc919de57b28cd48c4f
Date: Tue, 21 Jun 2011 11:54:17 +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
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: 
X-Archives-Hash: 03bc39237cc9736c8801c802fec34d42

commit:     a0bdaa8ec4e76bb990a06dc919de57b28cd48c4f
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 21 11:09:56 2011 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Tue Jun 21 11:09:56 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=3Dproj/sci.git;a=3Dc=
ommit;h=3Da0bdaa8e

Added fortran-2.eclass support

(Portage version: 2.2.0_alpha41/git/Linux x86_64, signed Manifest commit =
with key 70EB7916)

---
 sci-libs/wannier90/ChangeLog            |    4 ++++
 sci-libs/wannier90/metadata.xml         |    8 ++++++++
 sci-libs/wannier90/wannier90-1.2.ebuild |   23 ++++++++++++++---------
 3 files changed, 26 insertions(+), 9 deletions(-)

diff --git a/sci-libs/wannier90/ChangeLog b/sci-libs/wannier90/ChangeLog
index 7958732..ee66734 100644
--- a/sci-libs/wannier90/ChangeLog
+++ b/sci-libs/wannier90/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
=20
+  21 Jun 2011; Justin Lecher <jlec@gentoo.org> wannier90-1.2.ebuild,
+  +metadata.xml:
+  Added fortran-2.eclass support
+
   18 Jan 2011; Honza Mach=C3=A1=C4=8Dek <Hloupy.Honza@centrum.cz> wannie=
r90-1.2.ebuild:
   Corrected the sources location. Thanks to jerome.borme@laposte.net fro=
m bug
   329429.

diff --git a/sci-libs/wannier90/metadata.xml b/sci-libs/wannier90/metadat=
a.xml
new file mode 100644
index 0000000..efb490d
--- /dev/null
+++ b/sci-libs/wannier90/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version=3D"1.0" encoding=3D"UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<maintainer>
+  <email>sci@gentoo.org</email>
+</maintainer>
+</pkgmetadata>

diff --git a/sci-libs/wannier90/wannier90-1.2.ebuild b/sci-libs/wannier90=
/wannier90-1.2.ebuild
index 9e6c956..ad19243 100644
--- a/sci-libs/wannier90/wannier90-1.2.ebuild
+++ b/sci-libs/wannier90/wannier90-1.2.ebuild
@@ -1,22 +1,26 @@
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
+# $Header: $
=20
-EAPI=3D"3"
+EAPI=3D3
=20
-inherit eutils multilib
+inherit eutils fortran-2 multilib
=20
 DESCRIPTION=3D"Calculates maximally localized Wannier functions (MLWFs)"
 HOMEPAGE=3D"http://www.wannier.org/"
 SRC_URI=3D"http://wannier.org/code/${P}.tar.gz"
+
 LICENSE=3D"GPL-2"
 SLOT=3D"0"
 KEYWORDS=3D"~amd64 ~x86"
 IUSE=3D"doc examples perl test"
-RDEPEND=3D"virtual/blas
+
+RDEPEND=3D"
+	virtual/blas
 	virtual/lapack
 	perl? ( dev-lang/perl )"
 DEPEND=3D"${RDEPEND}
-		doc? ( virtual/latex-base=20
+		doc? ( virtual/latex-base
 			|| (
 				dev-texlive/texlive-latexextra
 				app-text/tetex
@@ -26,8 +30,9 @@ DEPEND=3D"${RDEPEND}
=20
 src_prepare() {
 	# Patch taken from sci-physics/abinit-5.7.3 bundled version
-	epatch "${FILESDIR}"/${PN}-1.1-0001.patch
-	epatch "${FILESDIR}"/${PN}-1.1-0002.patch
+	epatch \
+		"${FILESDIR}"/${PN}-1.1-0001.patch \
+		"${FILESDIR}"/${PN}-1.1-0002.patch
 }
=20
 src_configure() {
@@ -63,11 +68,11 @@ src_install() {
 	insinto /usr/$(get_libdir)/finclude
 	doins src/*.mod || die
 	if use examples; then
-		mkdir -p ${D}/usr/share/${PN}
-		cp -r examples ${D}/usr/share/${PN}/;
+		mkdir -p "${D}"/usr/share/${PN}
+		cp -r examples "${D}"/usr/share/${PN}/;
 	fi
 	if use doc; then
 		(cd doc; dodoc *.pdf )
 	fi
-	dodoc README README.install LICENCE CHANGE.log
+	dodoc README README.install CHANGE.log
 }