From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/libxc/
Date: Tue, 15 Mar 2011 10:23:42 +0000 (UTC) [thread overview]
Message-ID: <44afd40a1bf034a3afd6f6f097c644baf108dbd4.jlec@gentoo> (raw)
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=proj/sci.git;a=commit;h=44afd40a
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: $
+ 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)
diff --git a/sci-libs/libxc/libxc-1.0.ebuild b/sci-libs/libxc/libxc-1.0.ebuild
index 6a3f194..2cbf8ff 100644
--- a/sci-libs/libxc/libxc-1.0.ebuild
+++ b/sci-libs/libxc/libxc-1.0.ebuild
@@ -3,41 +3,42 @@
EAPI="2"
-inherit fortran multilib
+inherit multilib toolchain-funcs
MY_P=${P//_/-}
DESCRIPTION="A library of exchange-correlation functionals for use in DFT"
HOMEPAGE="http://www.tddft.org/programs/octopus/wiki/index.php/Libxc"
-SRC_URI="http://www.tddft.org/programs/octopus/down.php?file=${PN}/${MY_P}.tar.gz"
+SRC_URI="http://www.tddft.org/programs/octopus/download/${PN}/${P}.tar.gz"
+
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="fortran"
-RDEPEND=""
-DEPEND="${RDEPEND}"
-MAKEOPTS="-j1"
S=${WORKDIR}/${MY_P}
pkg_setup() {
if use fortran ; then
- FORTRAN="gfortran ifc g77 pgf77 pgf90"
- fortran_pkg_setup
+ tc-export FC
fi
}
src_configure() {
econf \
- "$(use_enable fortran)" \
+ $(use_enable fortran) \
FCFLAGS="${FCFLAGS:- ${FFLAGS:- -O2}}"
}
-## Upstream recommends not running the test suite because it requires
-## human expert interpretation to determine whether output is an error or
+## Upstream recommends not running the test suite because it requires
+## human expert interpretation to determine whether output is an error or
## expected under certain circumstances.
# src_test() { :; }
+src_compile() {
+ emake -j1 || die
+}
+
src_install() {
emake DESTDIR="${D}" install || die
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 @@
EAPI="2"
-inherit fortran eutils multilib toolchain-funcs flag-o-matic autotools subversion
+inherit eutils multilib toolchain-funcs flag-o-matic autotools subversion
DESCRIPTION="The ETSF library of exchange-correlation functionals"
HOMEPAGE="http://www.tddft.org/programs/octopus/wiki/index.php/Libxc"
ESVN_REPO_URI="http://www.tddft.org/svn/octopus/trunk/${PN}/"
ESVN_BOOTSTRAP="eautoreconf -i"
-LICENSE="LGPL"
+LICENSE="LGPL-3"
SLOT="0"
IUSE="fortran debug"
KEYWORDS="~amd64 ~x86"
-RDEPEND=""
-DEPEND="${RDEPEND}"
-
pkg_setup() {
if use fortran ; then
- FORTRAN="gfortran ifc g77 pgf77 pgf90"
- fortran_pkg_setup
+ tc-export FC
fi
}
src_configure() {
- econf "$(use_enable fortran)" || die "econf failed"
+ econf \
+ $(use_enable fortran) \
+ FCFLAGS="${FCFLAGS:- ${FFLAGS:- -O2}}"
}
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="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<maintainer>
+ <email>sci@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
next reply other threads:[~2011-03-15 10:24 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-15 10:23 Justin Lecher [this message]
-- strict thread matches above, loose matches on Subject: below --
2018-10-02 13:00 [gentoo-commits] proj/sci:master commit in: sci-libs/libxc/ Christoph Junghans
2017-01-11 15:23 Honza Macháček
2015-04-22 14:36 Honza Macháček
2014-12-10 15:29 Honza Macháček
2014-06-27 13:02 Honza Macháček
2014-04-15 15:35 Honza Macháček
2013-11-05 20:11 Justin Lecher
2012-06-22 22:49 Alexey Shvetsov
2012-04-23 8:52 Honza Macháček
2012-02-19 12:44 Justin Lecher
2011-12-16 10:07 Honza Macháček
2011-06-24 17:09 Justin Lecher
2011-06-21 11:54 Justin Lecher
2011-03-15 10:23 Justin Lecher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44afd40a1bf034a3afd6f6f097c644baf108dbd4.jlec@gentoo \
--to=jlec@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox