From: "Honza Macháček" <Hloupy.Honza@centrum.cz>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/wannier90/
Date: Wed, 22 Apr 2015 14:43:31 +0000 (UTC) [thread overview]
Message-ID: <1429713781.c9ca85e6d5b8a2f3212a7046ab9e617c5a6b4d30.honza_machacek@gentoo> (raw)
commit: c9ca85e6d5b8a2f3212a7046ab9e617c5a6b4d30
Author: Honza Macháček <Hloupy.Honza <AT> centrum <DOT> cz>
AuthorDate: Wed Apr 22 14:43:01 2015 +0000
Commit: Honza Macháček <Hloupy.Honza <AT> centrum <DOT> cz>
CommitDate: Wed Apr 22 14:43:01 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=c9ca85e6
Version bump to sci-libs/wannier90-2.0.1, new dependency on dev-tex/revtex introduced if USE=doc
Package-Manager: portage-2.2.18
sci-libs/wannier90/ChangeLog | 9 ++++-
sci-libs/wannier90/wannier90-2.0.1.ebuild | 66 +++++++++++++++++++++++++++++++
2 files changed, 74 insertions(+), 1 deletion(-)
diff --git a/sci-libs/wannier90/ChangeLog b/sci-libs/wannier90/ChangeLog
index c778e5e..8d5bf12 100644
--- a/sci-libs/wannier90/ChangeLog
+++ b/sci-libs/wannier90/ChangeLog
@@ -1,7 +1,14 @@
# ChangeLog for sci-libs/wannier90
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*wannier90-2.0.1 (22 Apr 2015)
+
+ 22 Apr 2015; Honza Macháček <Hloupy.Honza@centrum.cz>
+ +wannier90-2.0.1.ebuild:
+ Version bump to sci-libs/wannier90-2.0.1, new dependency on dev-tex/revtex
+ introduced if USE=doc
+
*wannier90-2.0.0 (10 Dec 2014)
*wannier90-1.2-r3 (10 Dec 2014)
diff --git a/sci-libs/wannier90/wannier90-2.0.1.ebuild b/sci-libs/wannier90/wannier90-2.0.1.ebuild
new file mode 100644
index 0000000..b0125e6
--- /dev/null
+++ b/sci-libs/wannier90/wannier90-2.0.1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit eutils fortran-2 multilib toolchain-funcs
+
+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 ~amd64-linux"
+IUSE="doc examples perl test"
+
+RDEPEND="
+ virtual/blas
+ virtual/lapack
+ perl? ( dev-lang/perl )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( virtual/latex-base
+ dev-texlive/texlive-latexextra
+ dev-tex/revtex
+ )"
+
+src_configure() {
+ cat <<- EOF >> "${S}"/make.sys
+ F90 = $(tc-getFC)
+ FCOPTS = ${FCFLAGS:- ${FFLAGS:- -O2}}
+ LDOPTS = ${LDFLAGS}
+ LIBS = $($(tc-getPKG_CONFIG) --libs blas lapack)
+ EOF
+}
+
+src_compile() {
+ emake -j1 wannier
+ emake -j1 lib
+ if use doc; then
+ VARTEXFONTS="${T}/fonts"
+ emake -j1 doc
+ fi
+}
+
+src_test() {
+ einfo "Compare the 'Standard' and 'Current' outputs of this test."
+ pushd tests
+ emake test
+ cat wantest.log
+}
+
+src_install() {
+ dobin wannier90.x
+ use perl && dobin utility/kmesh.pl
+ dolib.a libwannier.a
+ insinto /usr/include
+ doins src/obj/*.mod
+ if use examples; then
+ insinto /usr/share/${PN}
+ doins -r examples
+ fi
+ use doc && dodoc doc/*.pdf
+ dodoc README README.install CHANGE.log
+}
next reply other threads:[~2015-04-22 14:43 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-22 14:43 Honza Macháček [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-12-16 10:57 [gentoo-commits] proj/sci:master commit in: sci-libs/wannier90/ Andrew Ammerlaan
2021-01-30 10:49 Andrew Ammerlaan
2021-01-19 16:56 Andrew Ammerlaan
2020-09-28 10:12 Horea Christian
2020-09-28 10:12 Horea Christian
2014-12-10 9:47 Honza Macháček
2014-11-15 0:21 Christoph Junghans
2013-09-26 9:41 Honza Macháček
2013-09-19 13:27 ` Honza Macháček
2013-09-20 9:48 Justin Lecher
2013-02-22 10:15 Justin Lecher
2012-06-22 22:44 Alexey Shvetsov
2011-09-04 12:41 Alexey Shvetsov
2011-06-21 11:54 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=1429713781.c9ca85e6d5b8a2f3212a7046ab9e617c5a6b4d30.honza_machacek@gentoo \
--to=hloupy.honza@centrum.cz \
--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