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-325722-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1PzRQ0-0004UQ-I8
	for garchives@archives.gentoo.org; Tue, 15 Mar 2011 10:24:00 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id EBFC81C00C;
	Tue, 15 Mar 2011 10:23:43 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	by pigeon.gentoo.org (Postfix) with ESMTP id ACFAB1C009
	for <gentoo-commits@lists.gentoo.org>; Tue, 15 Mar 2011 10:23:43 +0000 (UTC)
Received: from pelican.gentoo.org (unknown [66.219.59.40])
	(using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 12CEE1BC0EB
	for <gentoo-commits@lists.gentoo.org>; Tue, 15 Mar 2011 10:23:43 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by pelican.gentoo.org (Postfix) with ESMTP id 61E5680079
	for <gentoo-commits@lists.gentoo.org>; Tue, 15 Mar 2011 10:23:42 +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: <44afd40a1bf034a3afd6f6f097c644baf108dbd4.jlec@gentoo>
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/libxc/
X-VCS-Repository: proj/sci
X-VCS-Files: sci-libs/libxc/ChangeLog sci-libs/libxc/libxc-1.0.ebuild sci-libs/libxc/libxc-9999.ebuild sci-libs/libxc/metadata.xml
X-VCS-Directories: sci-libs/libxc/
X-VCS-Committer: jlec
X-VCS-Committer-Name: Justin Lecher
X-VCS-Revision: 44afd40a1bf034a3afd6f6f097c644baf108dbd4
Date: Tue, 15 Mar 2011 10:23:42 +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: 2e8b842441000c6634b13f16fbbb1ba2

commit:     44afd40a1bf034a3afd6f6f097c644baf108dbd4
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 15 10:22:36 2011 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Tue Mar 15 10:22:36 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=3Dproj/sci.git;a=3Dc=
ommit;h=3D44afd40a

Remove fortran.eclass

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

---
 sci-libs/libxc/ChangeLog         |    8 ++++++++
 sci-libs/libxc/libxc-1.0.ebuild  |   21 +++++++++++----------
 sci-libs/libxc/libxc-9999.ebuild |   14 ++++++--------
 sci-libs/libxc/metadata.xml      |    8 ++++++++
 4 files changed, 33 insertions(+), 18 deletions(-)

diff --git a/sci-libs/libxc/ChangeLog b/sci-libs/libxc/ChangeLog
index 09d066b..21317e9 100644
--- a/sci-libs/libxc/ChangeLog
+++ b/sci-libs/libxc/ChangeLog
@@ -2,6 +2,14 @@
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
=20
+  15 Mar 2011; Justin Lecher <jlec@gentoo.org> libxc-1.0.ebuild,
+  libxc-9999.ebuild, +metadata.xml:
+  Remove fortran.eclass
+
+  14 Mar 2011; Justin Lecher <jlec@gentoo.org> libxc-1.0.ebuild,
+  libxc-9999.ebuild:
+  Remove fortran.eclass
+
 *libxc-9999 (17 Jan 2011)
 *libxc-1.0 (17 Jan 2011)
=20

diff --git a/sci-libs/libxc/libxc-1.0.ebuild b/sci-libs/libxc/libxc-1.0.e=
build
index 6a3f194..2cbf8ff 100644
--- a/sci-libs/libxc/libxc-1.0.ebuild
+++ b/sci-libs/libxc/libxc-1.0.ebuild
@@ -3,41 +3,42 @@
=20
 EAPI=3D"2"
=20
-inherit fortran multilib
+inherit multilib toolchain-funcs
=20
 MY_P=3D${P//_/-}
=20
 DESCRIPTION=3D"A library of exchange-correlation functionals for use in =
DFT"
 HOMEPAGE=3D"http://www.tddft.org/programs/octopus/wiki/index.php/Libxc"
-SRC_URI=3D"http://www.tddft.org/programs/octopus/down.php?file=3D${PN}/$=
{MY_P}.tar.gz"
+SRC_URI=3D"http://www.tddft.org/programs/octopus/download/${PN}/${P}.tar=
.gz"
+
 LICENSE=3D"LGPL-3"
 SLOT=3D"0"
 KEYWORDS=3D"~amd64 ~x86"
 IUSE=3D"fortran"
-RDEPEND=3D""
-DEPEND=3D"${RDEPEND}"
-MAKEOPTS=3D"-j1"
=20
 S=3D${WORKDIR}/${MY_P}
=20
 pkg_setup() {
 	if use fortran ; then
-		FORTRAN=3D"gfortran ifc g77 pgf77 pgf90"
-		fortran_pkg_setup
+		tc-export FC
 	fi
 }
=20
 src_configure() {
 	econf \
-		"$(use_enable fortran)" \
+		$(use_enable fortran) \
 		FCFLAGS=3D"${FCFLAGS:- ${FFLAGS:- -O2}}"
 }
=20
-## Upstream recommends not running the test suite because it requires=20
-## human expert interpretation to determine whether output is an error o=
r=20
+## Upstream recommends not running the test suite because it requires
+## human expert interpretation to determine whether output is an error o=
r
 ## expected under certain circumstances.
 # src_test() { :; }
=20
+src_compile() {
+	emake -j1 || die
+}
+
 src_install() {
 	emake DESTDIR=3D"${D}" install || die
=20

diff --git a/sci-libs/libxc/libxc-9999.ebuild b/sci-libs/libxc/libxc-9999=
.ebuild
index ba15e67..0a7a5d1 100644
--- a/sci-libs/libxc/libxc-9999.ebuild
+++ b/sci-libs/libxc/libxc-9999.ebuild
@@ -3,30 +3,28 @@
=20
 EAPI=3D"2"
=20
-inherit fortran eutils multilib toolchain-funcs flag-o-matic autotools s=
ubversion
+inherit eutils multilib toolchain-funcs flag-o-matic autotools subversio=
n
=20
 DESCRIPTION=3D"The ETSF library of exchange-correlation functionals"
 HOMEPAGE=3D"http://www.tddft.org/programs/octopus/wiki/index.php/Libxc"
 ESVN_REPO_URI=3D"http://www.tddft.org/svn/octopus/trunk/${PN}/"
 ESVN_BOOTSTRAP=3D"eautoreconf -i"
=20
-LICENSE=3D"LGPL"
+LICENSE=3D"LGPL-3"
 SLOT=3D"0"
 IUSE=3D"fortran debug"
 KEYWORDS=3D"~amd64 ~x86"
=20
-RDEPEND=3D""
-DEPEND=3D"${RDEPEND}"
-
 pkg_setup() {
 	if use fortran ; then
-		FORTRAN=3D"gfortran ifc g77 pgf77 pgf90"
-		fortran_pkg_setup
+		tc-export FC
 	fi
 }
=20
 src_configure() {
-	econf "$(use_enable fortran)" || die "econf failed"
+	econf \
+		$(use_enable fortran) \
+		FCFLAGS=3D"${FCFLAGS:- ${FFLAGS:- -O2}}"
 }
=20
 src_compile() {

diff --git a/sci-libs/libxc/metadata.xml b/sci-libs/libxc/metadata.xml
new file mode 100644
index 0000000..efb490d
--- /dev/null
+++ b/sci-libs/libxc/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>