aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHonza Macháček <Hloupy.Honza@centrum.cz>2015-04-22 16:43:01 +0200
committerHonza Macháček <Hloupy.Honza@centrum.cz>2015-04-22 16:43:01 +0200
commitc9ca85e6d5b8a2f3212a7046ab9e617c5a6b4d30 (patch)
tree8404a7204525a0c735bee86e1aee10e8fce25ccf /sci-libs
parentVersion bump to sci-libs/libxc-2.1.2 and 2.2.2 pair (diff)
downloadsci-c9ca85e6d5b8a2f3212a7046ab9e617c5a6b4d30.tar.gz
sci-c9ca85e6d5b8a2f3212a7046ab9e617c5a6b4d30.tar.bz2
sci-c9ca85e6d5b8a2f3212a7046ab9e617c5a6b4d30.zip
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
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/wannier90/ChangeLog9
-rw-r--r--sci-libs/wannier90/Manifest1
-rw-r--r--sci-libs/wannier90/wannier90-2.0.1.ebuild66
3 files changed, 75 insertions, 1 deletions
diff --git a/sci-libs/wannier90/ChangeLog b/sci-libs/wannier90/ChangeLog
index c778e5eee..8d5bf129b 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/Manifest b/sci-libs/wannier90/Manifest
index 8a8829898..6702b0b7c 100644
--- a/sci-libs/wannier90/Manifest
+++ b/sci-libs/wannier90/Manifest
@@ -1,2 +1,3 @@
DIST wannier90-1.2.tar.gz 5643731 SHA256 a76f88eef01c5a40aaa2c74ee393ede8a57bd9085f6b7f2ab656b50c1a30ece4 SHA512 323d078d0cdeeb361389600c39501410ca0da2879e8ba7d3262b49a76167e5385c09484eed47607d83feb68c9f16cfb6cdcebe89f7846157e0c71a8598238853 WHIRLPOOL 7e3288a85188d4661467d293d4a57973e926bf5a3b5736f83ed51e16a0fc4155ecc86e4e6dc6638b8a4d6373ca718ffd341cc11bde466d0166c1e591a9ac33c5
DIST wannier90-2.0.0.tar.gz 46152394 SHA256 e419a721541c16e89de66b8eefe2c41042dd7ff78a1fe8d61554a00efe79382a SHA512 87d9ae7f0f0343e188711bc2cea2124ef1e13482e87a0c2a7d250c36cabeb9d0a6da9eba92781763a0e65665c48f9bae4cd12f5f5390f87a7e8f15c508411efc WHIRLPOOL d9bafcab196735d182518dd71fc4ae7618a4cfdd9e21e450f4d5b17b288bb1ae43c93bdde5d3fca0b180377881f7443b00cc7dc989edf5609133271d01c00bab
+DIST wannier90-2.0.1.tar.gz 48327121 SHA256 05ea7cd421a219ce19d379ad6ae3d9b1a84be4ffb367506ffdfab1e729309e94 SHA512 dd7deb43272a9f0697ae59e272816a74ae15f7adb95f4c5d7ea40d98f8293b678da97494df471077a096f207d7a194a27ed09d6f456a8db20fe91e4f596602c4 WHIRLPOOL ab153c1983fc092b4de0312fc93506f0cf8622655fedecdf852e0b9a4f861d8913387007fd3aac780556ea33930efb39377d6469f5e943410c8a5300cff271a4
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 000000000..b0125e65d
--- /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
+}