public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/wannier90/
Date: Tue, 21 Jun 2011 11:54:17 +0000 (UTC)	[thread overview]
Message-ID: <a0bdaa8ec4e76bb990a06dc919de57b28cd48c4f.jlec@gentoo> (raw)

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=proj/sci.git;a=commit;h=a0bdaa8e

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: $
 
+  21 Jun 2011; Justin Lecher <jlec@gentoo.org> wannier90-1.2.ebuild,
+  +metadata.xml:
+  Added fortran-2.eclass support
+
   18 Jan 2011; Honza Macháček <Hloupy.Honza@centrum.cz> wannier90-1.2.ebuild:
   Corrected the sources location. Thanks to jerome.borme@laposte.net from bug
   329429.

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

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: $
 
-EAPI="3"
+EAPI=3
 
-inherit eutils multilib
+inherit eutils fortran-2 multilib
 
 DESCRIPTION="Calculates maximally localized Wannier functions (MLWFs)"
 HOMEPAGE="http://www.wannier.org/"
 SRC_URI="http://wannier.org/code/${P}.tar.gz"
+
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="doc examples perl test"
-RDEPEND="virtual/blas
+
+RDEPEND="
+	virtual/blas
 	virtual/lapack
 	perl? ( dev-lang/perl )"
 DEPEND="${RDEPEND}
-		doc? ( virtual/latex-base 
+		doc? ( virtual/latex-base
 			|| (
 				dev-texlive/texlive-latexextra
 				app-text/tetex
@@ -26,8 +30,9 @@ DEPEND="${RDEPEND}
 
 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
 }
 
 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
 }



             reply	other threads:[~2011-06-21 11:56 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-21 11:54 Justin Lecher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-09-04 12:41 [gentoo-commits] proj/sci:master commit in: sci-libs/wannier90/ Alexey Shvetsov
2012-06-22 22:44 Alexey Shvetsov
2013-02-22 10:15 Justin Lecher
2013-09-20  9:48 Justin Lecher
2013-09-26  9:41 Honza Macháček
2013-09-19 13:27 ` Honza Macháček
2014-11-15  0:21 Christoph Junghans
2014-12-10  9:47 Honza Macháček
2015-04-22 14:43 Honza Macháček
2020-09-28 10:12 Horea Christian
2020-09-28 10:12 Horea Christian
2021-01-19 16:56 Andrew Ammerlaan
2021-01-30 10:49 Andrew Ammerlaan
2021-12-16 10:57 Andrew Ammerlaan

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=a0bdaa8ec4e76bb990a06dc919de57b28cd48c4f.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