aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-libs/wannier90/ChangeLog4
-rw-r--r--sci-libs/wannier90/Manifest15
-rw-r--r--sci-libs/wannier90/metadata.xml8
-rw-r--r--sci-libs/wannier90/wannier90-1.2.ebuild23
4 files changed, 39 insertions, 11 deletions
diff --git a/sci-libs/wannier90/ChangeLog b/sci-libs/wannier90/ChangeLog
index 7958732ce..ee6673415 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/Manifest b/sci-libs/wannier90/Manifest
index 00eb9c868..c06406c54 100644
--- a/sci-libs/wannier90/Manifest
+++ b/sci-libs/wannier90/Manifest
@@ -1,5 +1,16 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX wannier90-1.1-0001.patch 616 RMD160 b92b6bf4f80dab94bc560325a8cde388a6c7a844 SHA1 375d6a8ff738e6e6ba55009802e2b651e95fa6e8 SHA256 05398424121dbe53f35559b0e0e372ea841f5dd5a9ede53df66afb805b5ef22a
AUX wannier90-1.1-0002.patch 5596 RMD160 36dd891904566fef47f601cc436bf0c89e10fcc3 SHA1 8dc7ff37147530a3a63484ef2695d2141bd20433 SHA256 2476ccf3090cbab54b699327df20b81c5aa75bd2b5c0b203841d5ec6128c620a
DIST wannier90-1.2.tar.gz 5643731 RMD160 4a8035ed4faf5256ad66aa9fe23ac32a86b3abf4 SHA1 b4caaddb6e91afe673c122507e92c6b5fbc7689f SHA256 a76f88eef01c5a40aaa2c74ee393ede8a57bd9085f6b7f2ab656b50c1a30ece4
-EBUILD wannier90-1.2.ebuild 1669 RMD160 8e3f198473aa1d3f46669fdce9af7b00544f1c88 SHA1 c0d58e15d785204be60bd7be6d241ac5bf049d94 SHA256 76b5015828c708be18b19ad9947d08999d2c179bb11b7854ec57748b80caacab
-MISC ChangeLog 514 RMD160 7f19f9584d3d6263e51d288cb308f63183a89d3a SHA1 ab60bf5ab8ed2523e7d4d05cbdcea7ffeef0e0c7 SHA256 b0f0e32be111fa76eadf05b8e42465b8f480104188b0e5b1d722f013e69a3b6a
+EBUILD wannier90-1.2.ebuild 1689 RMD160 31a4753d5270699e0e2cfb185d878d928c878e9d SHA1 67fd03a525cfa5e35b6d21508bc08196149b46ac SHA256 407918ff9614646097ba15eee9ab73aacd43a5fdf956613bc04d888c29fb712f
+MISC ChangeLog 634 RMD160 d11e401c8ef02e97415a0ff41973e9fa644fa2f9 SHA1 b2dbf5181fee326e0dd44a8d3b1757e33afea79d SHA256 1c271b6f28bb41041ca92a72b0a74b11a705bca566233ee8f389ad46cc89a661
+MISC metadata.xml 215 RMD160 bc9c07aa91f2f175542244e4e4522a73558210a1 SHA1 facb283386de1c0b6b938cdcd4dde04d1694298b SHA256 13f32353652adbd3d934d41381cfc2cacc9e1127c508cebc73806cc1026ee80c
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iEYEARECAAYFAk4AfAQACgkQgAnW8HDreRZEwgCgwWZmFgEfN4pjBPbnRYZGhoyj
+0GsAn1WlAyPvWCe+DV7FlPwj2mLht4Wh
+=66T6
+-----END PGP SIGNATURE-----
diff --git a/sci-libs/wannier90/metadata.xml b/sci-libs/wannier90/metadata.xml
new file mode 100644
index 000000000..efb490d78
--- /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 9e6c95627..ad19243ba 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
}