* [gentoo-commits] proj/sci:master commit in: sci-libs/wannier90/
@ 2011-06-21 11:54 Justin Lecher
0 siblings, 0 replies; 15+ messages in thread
From: Justin Lecher @ 2011-06-21 11:54 UTC (permalink / raw
To: gentoo-commits
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
}
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/wannier90/
@ 2011-09-04 12:41 Alexey Shvetsov
0 siblings, 0 replies; 15+ messages in thread
From: Alexey Shvetsov @ 2011-09-04 12:41 UTC (permalink / raw
To: gentoo-commits
commit: 5592c8ea1582d500ef8cd38860ab03640f6faa23
Author: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 4 12:41:03 2011 +0000
Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
CommitDate: Sun Sep 4 12:41:03 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=5592c8ea
[sci-libs/wannier90] Fix blas stuff
(Portage version: 2.2.0_alpha52/git/Linux x86_64, signed Manifest commit with key F82F92E6)
---
sci-libs/wannier90/wannier90-1.2.ebuild | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/sci-libs/wannier90/wannier90-1.2.ebuild b/sci-libs/wannier90/wannier90-1.2.ebuild
index ad19243..55e20ac 100644
--- a/sci-libs/wannier90/wannier90-1.2.ebuild
+++ b/sci-libs/wannier90/wannier90-1.2.ebuild
@@ -40,7 +40,7 @@ src_configure() {
F90 = $(tc-getFC)
FCOPTS = ${FCFLAGS:- ${FFLAGS:- -O2}}
LDOPTS = ${LDFLAGS}
- LIBS = -llapack -lblas
+ LIBS = $(pkg-config --libs blas lapack)
EOF
}
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/wannier90/
@ 2012-06-22 22:44 Alexey Shvetsov
0 siblings, 0 replies; 15+ messages in thread
From: Alexey Shvetsov @ 2012-06-22 22:44 UTC (permalink / raw
To: gentoo-commits
commit: 1b64f726891e66728ec5667ea0da9dbe1b8bb14c
Author: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 22 22:44:22 2012 +0000
Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
CommitDate: Fri Jun 22 22:44:22 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=1b64f726
[sci-libs/wannier90] add ~amd64-linux
(Portage version: 2.2.0_alpha110/git/Linux x86_64, unsigned Manifest commit)
---
sci-libs/wannier90/ChangeLog | 5 ++++-
sci-libs/wannier90/wannier90-1.2.ebuild | 4 ++--
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/sci-libs/wannier90/ChangeLog b/sci-libs/wannier90/ChangeLog
index ee66734..9209f04 100644
--- a/sci-libs/wannier90/ChangeLog
+++ b/sci-libs/wannier90/ChangeLog
@@ -1,7 +1,10 @@
# ChangeLog for sci-libs/wannier90
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 22 Jun 2012; Alexey Shvetsov <alexxy@gentoo.org> wannier90-1.2.ebuild:
+ [sci-libs/wannier90] add ~amd64-linux
+
21 Jun 2011; Justin Lecher <jlec@gentoo.org> wannier90-1.2.ebuild,
+metadata.xml:
Added fortran-2.eclass support
diff --git a/sci-libs/wannier90/wannier90-1.2.ebuild b/sci-libs/wannier90/wannier90-1.2.ebuild
index 55e20ac..53a77dc 100644
--- a/sci-libs/wannier90/wannier90-1.2.ebuild
+++ b/sci-libs/wannier90/wannier90-1.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
@@ -12,7 +12,7 @@ SRC_URI="http://wannier.org/code/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~x86 ~amd64-linux"
IUSE="doc examples perl test"
RDEPEND="
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/wannier90/
@ 2013-02-22 10:15 Justin Lecher
0 siblings, 0 replies; 15+ messages in thread
From: Justin Lecher @ 2013-02-22 10:15 UTC (permalink / raw
To: gentoo-commits
commit: 75c2410ad17ce2d4878c09a2fdcb62203bfb281e
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 22 09:42:41 2013 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Fri Feb 22 09:42:41 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=75c2410a
sci-libs/wannier90: Use tc-getPKG_CONFIG from toolchain-funcs.eclass instead of plain pkg-config; bump to EAPI=5
Package-Manager: portage-2.2.0_alpha163
---
sci-libs/wannier90/ChangeLog | 7 ++++-
sci-libs/wannier90/metadata.xml | 8 ++--
sci-libs/wannier90/wannier90-1.2.ebuild | 51 ++++++++++++++-----------------
3 files changed, 33 insertions(+), 33 deletions(-)
diff --git a/sci-libs/wannier90/ChangeLog b/sci-libs/wannier90/ChangeLog
index 9209f04..dfe5c7a 100644
--- a/sci-libs/wannier90/ChangeLog
+++ b/sci-libs/wannier90/ChangeLog
@@ -1,7 +1,12 @@
# ChangeLog for sci-libs/wannier90
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 22 Feb 2013; Justin Lecher <jlec@gentoo.org> wannier90-1.2.ebuild,
+ metadata.xml:
+ Use tc-getPKG_CONFIG from toolchain-funcs.eclass instead of plain pkg-config;
+ bump to EAPI=5
+
22 Jun 2012; Alexey Shvetsov <alexxy@gentoo.org> wannier90-1.2.ebuild:
[sci-libs/wannier90] add ~amd64-linux
diff --git a/sci-libs/wannier90/metadata.xml b/sci-libs/wannier90/metadata.xml
index efb490d..4bf6dbc 100644
--- a/sci-libs/wannier90/metadata.xml
+++ b/sci-libs/wannier90/metadata.xml
@@ -1,8 +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>
+ <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 53a77dc..2527922 100644
--- a/sci-libs/wannier90/wannier90-1.2.ebuild
+++ b/sci-libs/wannier90/wannier90-1.2.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-EAPI=3
+EAPI=5
-inherit eutils fortran-2 multilib
+inherit eutils fortran-2 multilib toolchain-funcs
DESCRIPTION="Calculates maximally localized Wannier functions (MLWFs)"
HOMEPAGE="http://www.wannier.org/"
@@ -20,13 +20,14 @@ RDEPEND="
virtual/lapack
perl? ( dev-lang/perl )"
DEPEND="${RDEPEND}
- doc? ( virtual/latex-base
- || (
- dev-texlive/texlive-latexextra
- app-text/tetex
- app-tex/ptex
- )
- )"
+ virtual/pkgconfig
+ doc? ( virtual/latex-base
+ || (
+ dev-texlive/texlive-latexextra
+ app-text/tetex
+ app-tex/ptex
+ )
+ )"
src_prepare() {
# Patch taken from sci-physics/abinit-5.7.3 bundled version
@@ -40,39 +41,33 @@ src_configure() {
F90 = $(tc-getFC)
FCOPTS = ${FCFLAGS:- ${FFLAGS:- -O2}}
LDOPTS = ${LDFLAGS}
- LIBS = $(pkg-config --libs blas lapack)
+ LIBS = $($(tc-getPKG_CONFIG) --libs blas lapack)
EOF
}
src_compile() {
- emake -j1 wannier || die "make wannier failed"
- emake -j1 lib || die "make lib failed"
- if use doc; then
- emake -j1 doc || die "make doc failed"
- fi
+ emake -j1 wannier
+ emake -j1 lib
+ use doc & emake -j1 doc
}
src_test() {
einfo "Compare the 'Standard' and 'Current' outputs of this test."
pushd tests
- emake test || die
+ emake test
cat wantest.log
}
src_install() {
- dobin wannier90.x || die "Wannier executable cannot be installed"
- if use perl; then
- ( cd utility; dobin kmesh.pl )
- fi
- dolib.a libwannier.a || die "libwannier.a cannot be installed"
+ dobin wannier90.x
+ use perl && dobin utility/kmesh.pl
+ dolib.a libwannier.a
insinto /usr/$(get_libdir)/finclude
- doins src/*.mod || die
+ doins src/*.mod
if use examples; then
- mkdir -p "${D}"/usr/share/${PN}
- cp -r examples "${D}"/usr/share/${PN}/;
- fi
- if use doc; then
- (cd doc; dodoc *.pdf )
+ insinto /usr/share/${PN}
+ doins -r examples
fi
+ use doc && dodoc doc/*.pdf
dodoc README README.install CHANGE.log
}
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/wannier90/
2013-09-26 9:41 Honza Macháček
@ 2013-09-19 13:27 ` Honza Macháček
0 siblings, 0 replies; 15+ messages in thread
From: Honza Macháček @ 2013-09-19 13:27 UTC (permalink / raw
To: gentoo-commits
commit: fb53e50d5abf4c2c0f92d888c94e8e4d13da3aca
Author: Honza Macháček <Hloupy.Honza <AT> centrum <DOT> cz>
AuthorDate: Thu Sep 19 13:27:07 2013 +0000
Commit: Honza Macháček <Hloupy.Honza <AT> centrum <DOT> cz>
CommitDate: Thu Sep 19 13:27:07 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=fb53e50d
sci-libs/wannier90-1.2-r2.ebuild modified from -r1 to avoid sandbox violation when generating TeX fonts.
Package-Manager: portage-2.2.1
---
sci-libs/wannier90/ChangeLog | 6 ++++++
.../wannier90/{wannier90-1.2-r1.ebuild => wannier90-1.2-r2.ebuild} | 5 ++++-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/sci-libs/wannier90/ChangeLog b/sci-libs/wannier90/ChangeLog
index bb0da88..ff8ee50 100644
--- a/sci-libs/wannier90/ChangeLog
+++ b/sci-libs/wannier90/ChangeLog
@@ -2,6 +2,12 @@
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*wannier90-1.2-r2 (19 Sep 2013)
+
+ 19 Sep 2013; Honza Macháček <Hloupy.Honza@centrum.cz>
+ -wannier90-1.2-r1.ebuild, +wannier90-1.2-r2.ebuild:
+ Avoid sandbox violation when generating TeX fonts.
+
*wannier90-1.2-r1 (17 Jun 2013)
17 Jun 2013; Honza Macháček <Hloupy.Honza@centrum.cz>
diff --git a/sci-libs/wannier90/wannier90-1.2-r1.ebuild b/sci-libs/wannier90/wannier90-1.2-r2.ebuild
similarity index 95%
rename from sci-libs/wannier90/wannier90-1.2-r1.ebuild
rename to sci-libs/wannier90/wannier90-1.2-r2.ebuild
index 2527922..481ce2b 100644
--- a/sci-libs/wannier90/wannier90-1.2-r1.ebuild
+++ b/sci-libs/wannier90/wannier90-1.2-r2.ebuild
@@ -48,7 +48,10 @@ src_configure() {
src_compile() {
emake -j1 wannier
emake -j1 lib
- use doc & emake -j1 doc
+ if use doc; then
+ VARTEXFONTS="${T}/fonts"
+ emake -j1 doc
+ fi
}
src_test() {
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/wannier90/
@ 2013-09-20 9:48 Justin Lecher
0 siblings, 0 replies; 15+ messages in thread
From: Justin Lecher @ 2013-09-20 9:48 UTC (permalink / raw
To: gentoo-commits
commit: c7f816faaacf7010c30d1e07d757764e7024d637
Author: Honza Macháček <Hloupy.Honza <AT> centrum <DOT> cz>
AuthorDate: Thu Sep 19 13:27:07 2013 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Fri Sep 20 09:46:51 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=c7f816fa
sci-libs/wannier90-1.2-r2.ebuild modified from -r1 to avoid sandbox violation when generating TeX fonts.
Package-Manager: portage-2.2.1
---
sci-libs/wannier90/ChangeLog | 6 ++++++
.../wannier90/{wannier90-1.2-r1.ebuild => wannier90-1.2-r2.ebuild} | 5 ++++-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/sci-libs/wannier90/ChangeLog b/sci-libs/wannier90/ChangeLog
index bb0da88..ff8ee50 100644
--- a/sci-libs/wannier90/ChangeLog
+++ b/sci-libs/wannier90/ChangeLog
@@ -2,6 +2,12 @@
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*wannier90-1.2-r2 (19 Sep 2013)
+
+ 19 Sep 2013; Honza Macháček <Hloupy.Honza@centrum.cz>
+ -wannier90-1.2-r1.ebuild, +wannier90-1.2-r2.ebuild:
+ Avoid sandbox violation when generating TeX fonts.
+
*wannier90-1.2-r1 (17 Jun 2013)
17 Jun 2013; Honza Macháček <Hloupy.Honza@centrum.cz>
diff --git a/sci-libs/wannier90/wannier90-1.2-r1.ebuild b/sci-libs/wannier90/wannier90-1.2-r2.ebuild
similarity index 95%
rename from sci-libs/wannier90/wannier90-1.2-r1.ebuild
rename to sci-libs/wannier90/wannier90-1.2-r2.ebuild
index 2527922..481ce2b 100644
--- a/sci-libs/wannier90/wannier90-1.2-r1.ebuild
+++ b/sci-libs/wannier90/wannier90-1.2-r2.ebuild
@@ -48,7 +48,10 @@ src_configure() {
src_compile() {
emake -j1 wannier
emake -j1 lib
- use doc & emake -j1 doc
+ if use doc; then
+ VARTEXFONTS="${T}/fonts"
+ emake -j1 doc
+ fi
}
src_test() {
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/wannier90/
@ 2013-09-26 9:41 Honza Macháček
2013-09-19 13:27 ` Honza Macháček
0 siblings, 1 reply; 15+ messages in thread
From: Honza Macháček @ 2013-09-26 9:41 UTC (permalink / raw
To: gentoo-commits
commit: fb53e50d5abf4c2c0f92d888c94e8e4d13da3aca
Author: Honza Macháček <Hloupy.Honza <AT> centrum <DOT> cz>
AuthorDate: Thu Sep 19 13:27:07 2013 +0000
Commit: Honza Macháček <Hloupy.Honza <AT> centrum <DOT> cz>
CommitDate: Thu Sep 19 13:27:07 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=fb53e50d
sci-libs/wannier90-1.2-r2.ebuild modified from -r1 to avoid sandbox violation when generating TeX fonts.
Package-Manager: portage-2.2.1
---
sci-libs/wannier90/ChangeLog | 6 ++++++
.../wannier90/{wannier90-1.2-r1.ebuild => wannier90-1.2-r2.ebuild} | 5 ++++-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/sci-libs/wannier90/ChangeLog b/sci-libs/wannier90/ChangeLog
index bb0da88..ff8ee50 100644
--- a/sci-libs/wannier90/ChangeLog
+++ b/sci-libs/wannier90/ChangeLog
@@ -2,6 +2,12 @@
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*wannier90-1.2-r2 (19 Sep 2013)
+
+ 19 Sep 2013; Honza Macháček <Hloupy.Honza@centrum.cz>
+ -wannier90-1.2-r1.ebuild, +wannier90-1.2-r2.ebuild:
+ Avoid sandbox violation when generating TeX fonts.
+
*wannier90-1.2-r1 (17 Jun 2013)
17 Jun 2013; Honza Macháček <Hloupy.Honza@centrum.cz>
diff --git a/sci-libs/wannier90/wannier90-1.2-r1.ebuild b/sci-libs/wannier90/wannier90-1.2-r2.ebuild
similarity index 95%
rename from sci-libs/wannier90/wannier90-1.2-r1.ebuild
rename to sci-libs/wannier90/wannier90-1.2-r2.ebuild
index 2527922..481ce2b 100644
--- a/sci-libs/wannier90/wannier90-1.2-r1.ebuild
+++ b/sci-libs/wannier90/wannier90-1.2-r2.ebuild
@@ -48,7 +48,10 @@ src_configure() {
src_compile() {
emake -j1 wannier
emake -j1 lib
- use doc & emake -j1 doc
+ if use doc; then
+ VARTEXFONTS="${T}/fonts"
+ emake -j1 doc
+ fi
}
src_test() {
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/wannier90/
@ 2014-11-15 0:21 Christoph Junghans
0 siblings, 0 replies; 15+ messages in thread
From: Christoph Junghans @ 2014-11-15 0:21 UTC (permalink / raw
To: gentoo-commits
commit: 39e2504dc9093cff78f6dbeb9b96d829e12d36ca
Author: Christoph Junghans <ottxor <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 15 00:17:10 2014 +0000
Commit: Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Sat Nov 15 00:17:10 2014 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=39e2504d
fixed latex dep
Package-Manager: portage-2.2.8-r2
---
sci-libs/wannier90/ChangeLog | 6 ++++--
sci-libs/wannier90/wannier90-1.2-r2.ebuild | 6 +-----
2 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/sci-libs/wannier90/ChangeLog b/sci-libs/wannier90/ChangeLog
index ff8ee50..4311efb 100644
--- a/sci-libs/wannier90/ChangeLog
+++ b/sci-libs/wannier90/ChangeLog
@@ -1,7 +1,10 @@
# ChangeLog for sci-libs/wannier90
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 15 Nov 2014; Christoph Junghans <ottxor@gentoo.org> wannier90-1.2-r2.ebuild:
+ fixed latex dep
+
*wannier90-1.2-r2 (19 Sep 2013)
19 Sep 2013; Honza Macháček <Hloupy.Honza@centrum.cz>
@@ -37,4 +40,3 @@
+files/wannier90-1.1-0001.patch, +files/wannier90-1.1-0002.patch,
+wannier90-1.2.ebuild:
A wannier90 ebuild for sci-physics/abinit
-
diff --git a/sci-libs/wannier90/wannier90-1.2-r2.ebuild b/sci-libs/wannier90/wannier90-1.2-r2.ebuild
index 7741e9f..6396770 100644
--- a/sci-libs/wannier90/wannier90-1.2-r2.ebuild
+++ b/sci-libs/wannier90/wannier90-1.2-r2.ebuild
@@ -22,11 +22,7 @@ RDEPEND="
DEPEND="${RDEPEND}
virtual/pkgconfig
doc? ( virtual/latex-base
- || (
- dev-texlive/texlive-latexextra
- app-text/tetex
- app-tex/ptex
- )
+ dev-texlive/texlive-latexextra
)"
src_prepare() {
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/wannier90/
@ 2014-12-10 9:47 Honza Macháček
0 siblings, 0 replies; 15+ messages in thread
From: Honza Macháček @ 2014-12-10 9:47 UTC (permalink / raw
To: gentoo-commits
commit: 5387d8ed4e684d7921d7e52e9fc8768a1bbec640
Author: Honza Macháček <Hloupy.Honza <AT> centrum <DOT> cz>
AuthorDate: Wed Dec 10 09:47:03 2014 +0000
Commit: Honza Macháček <Hloupy.Honza <AT> centrum <DOT> cz>
CommitDate: Wed Dec 10 09:47:03 2014 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=5387d8ed
Bumped sci-libs/wannier90 to version 2.0. Preserved 1.2 version until compatibility of 2.0 with sci-physics/abinit is verified, stepped up to 1.2-r3 purging forgotten LIBDIR/finclude.
Package-Manager: portage-2.2.14
---
sci-libs/wannier90/ChangeLog | 9 +++++++++
.../{wannier90-1.2-r2.ebuild => wannier90-1.2-r3.ebuild} | 2 +-
.../{wannier90-1.2-r2.ebuild => wannier90-2.0.0.ebuild} | 11 ++---------
3 files changed, 12 insertions(+), 10 deletions(-)
diff --git a/sci-libs/wannier90/ChangeLog b/sci-libs/wannier90/ChangeLog
index 4311efb..c778e5e 100644
--- a/sci-libs/wannier90/ChangeLog
+++ b/sci-libs/wannier90/ChangeLog
@@ -2,6 +2,15 @@
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*wannier90-2.0.0 (10 Dec 2014)
+*wannier90-1.2-r3 (10 Dec 2014)
+
+ 10 Dec 2014; Honza Macháček <Hloupy.Honza@centrum.cz>
+ -wannier90-1.2-r2.ebuild, +wannier90-1.2-r3.ebuild, +wannier90-2.0.0.ebuild:
+ Version bump to sci-libs/wannier90-2.0. Preserved 1.2 version until
+ compatibility of 2.0 with sci-physics/abinit is verified, stepped up to
+ 1.2-r3 purging forgotten LIBDIR/finclude.
+
15 Nov 2014; Christoph Junghans <ottxor@gentoo.org> wannier90-1.2-r2.ebuild:
fixed latex dep
diff --git a/sci-libs/wannier90/wannier90-1.2-r2.ebuild b/sci-libs/wannier90/wannier90-1.2-r3.ebuild
similarity index 97%
copy from sci-libs/wannier90/wannier90-1.2-r2.ebuild
copy to sci-libs/wannier90/wannier90-1.2-r3.ebuild
index 6396770..e8e79df 100644
--- a/sci-libs/wannier90/wannier90-1.2-r2.ebuild
+++ b/sci-libs/wannier90/wannier90-1.2-r3.ebuild
@@ -61,7 +61,7 @@ src_install() {
dobin wannier90.x
use perl && dobin utility/kmesh.pl
dolib.a libwannier.a
- insinto /usr/$(get_libdir)/finclude
+ insinto /usr/include
doins src/*.mod
if use examples; then
insinto /usr/share/${PN}
diff --git a/sci-libs/wannier90/wannier90-1.2-r2.ebuild b/sci-libs/wannier90/wannier90-2.0.0.ebuild
similarity index 85%
rename from sci-libs/wannier90/wannier90-1.2-r2.ebuild
rename to sci-libs/wannier90/wannier90-2.0.0.ebuild
index 6396770..1c00f9f 100644
--- a/sci-libs/wannier90/wannier90-1.2-r2.ebuild
+++ b/sci-libs/wannier90/wannier90-2.0.0.ebuild
@@ -25,13 +25,6 @@ DEPEND="${RDEPEND}
dev-texlive/texlive-latexextra
)"
-src_prepare() {
- # Patch taken from sci-physics/abinit-5.7.3 bundled version
- epatch \
- "${FILESDIR}"/${PN}-1.1-0001.patch \
- "${FILESDIR}"/${PN}-1.1-0002.patch
-}
-
src_configure() {
cat <<- EOF >> "${S}"/make.sys
F90 = $(tc-getFC)
@@ -61,8 +54,8 @@ src_install() {
dobin wannier90.x
use perl && dobin utility/kmesh.pl
dolib.a libwannier.a
- insinto /usr/$(get_libdir)/finclude
- doins src/*.mod
+ insinto /usr/include
+ doins src/obj/*.mod
if use examples; then
insinto /usr/share/${PN}
doins -r examples
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/wannier90/
@ 2015-04-22 14:43 Honza Macháček
0 siblings, 0 replies; 15+ messages in thread
From: Honza Macháček @ 2015-04-22 14:43 UTC (permalink / raw
To: gentoo-commits
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
+}
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/wannier90/
@ 2020-09-28 10:12 Horea Christian
0 siblings, 0 replies; 15+ messages in thread
From: Horea Christian @ 2020-09-28 10:12 UTC (permalink / raw
To: gentoo-commits
commit: d0e19e5efc8e6aa2ad24f8a05902ee812d4a3ffa
Author: Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Mon Sep 28 10:08:54 2020 +0000
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Mon Sep 28 10:08:54 2020 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=d0e19e5e
sci-libs/wannier90: metadata indentation
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Horea Christian <chr <AT> chymera.eu>
sci-libs/wannier90/metadata.xml | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/sci-libs/wannier90/metadata.xml b/sci-libs/wannier90/metadata.xml
index 07476ed95..a7ac8e977 100644
--- a/sci-libs/wannier90/metadata.xml
+++ b/sci-libs/wannier90/metadata.xml
@@ -10,11 +10,11 @@
<name>Honza Macháček</name>
</maintainer>
<longdescription lang="en">
-Wannier90 is an electronic-structure software computing maximally-localized Wannier functions (MLWF).
-It works on top of other electronic-structure software, such as Abinit, FLEUR, and PwSCF.
-The project and associated repository on Launchpad only deal with patches over the official release,
-as well as its packaging into the Debian and Ubuntu distributions.
-</longdescription>
+ Wannier90 is an electronic-structure software computing maximally-localized Wannier functions (MLWF).
+ It works on top of other electronic-structure software, such as Abinit, FLEUR, and PwSCF.
+ The project and associated repository on Launchpad only deal with patches over the official release,
+ as well as its packaging into the Debian and Ubuntu distributions.
+ </longdescription>
<upstream>
<doc>http://www.wannier.org/</doc>
<remote-id type="launchpad">wannier90</remote-id>
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/wannier90/
@ 2020-09-28 10:12 Horea Christian
0 siblings, 0 replies; 15+ messages in thread
From: Horea Christian @ 2020-09-28 10:12 UTC (permalink / raw
To: gentoo-commits
commit: 42c49460f202ef0b13e5d091e5c0258417101876
Author: Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Mon Sep 28 10:08:25 2020 +0000
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Mon Sep 28 10:08:25 2020 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=42c49460
sci-libs/wannier90: rm old version and doc USE due to missing dep
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Horea Christian <chr <AT> chymera.eu>
sci-libs/wannier90/wannier90-1.2-r3.ebuild | 70 -----------------------------
sci-libs/wannier90/wannier90-2.0.1.1.ebuild | 27 ++---------
sci-libs/wannier90/wannier90-2.0.1.ebuild | 15 ++-----
3 files changed, 6 insertions(+), 106 deletions(-)
diff --git a/sci-libs/wannier90/wannier90-1.2-r3.ebuild b/sci-libs/wannier90/wannier90-1.2-r3.ebuild
deleted file mode 100644
index 952c9baaf..000000000
--- a/sci-libs/wannier90/wannier90-1.2-r3.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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 static-libs test"
-
-RDEPEND="
- virtual/blas
- virtual/lapack
- perl? ( dev-lang/perl )"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- doc? ( virtual/latex-base
- dev-texlive/texlive-latexextra
- )"
-
-src_prepare() {
- # Patch taken from sci-physics/abinit-5.7.3 bundled version
- epatch \
- "${FILESDIR}"/${PN}-1.1-0001.patch \
- "${FILESDIR}"/${PN}-1.1-0002.patch
-}
-
-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."
- cd tests
- emake test
- cat wantest.log
-}
-
-src_install() {
- dobin wannier90.x
- use perl && dobin utility/kmesh.pl
- use static-libs && dolib.a libwannier.a
- doheader src/*.mod
- if use examples; then
- insinto /usr/share/${PN}
- doins -r examples
- fi
- use doc && dodoc doc/*.pdf
- dodoc README README.install CHANGE.log
-}
diff --git a/sci-libs/wannier90/wannier90-2.0.1.1.ebuild b/sci-libs/wannier90/wannier90-2.0.1.1.ebuild
index cd58f4bcd..096bf6645 100644
--- a/sci-libs/wannier90/wannier90-2.0.1.1.ebuild
+++ b/sci-libs/wannier90/wannier90-2.0.1.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -13,7 +13,7 @@ SRC_URI="https://launchpad.net/${PN}/2.0/${PV}/+download/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux"
-IUSE="doc mpi perl test"
+IUSE="mpi perl test"
RDEPEND="
virtual/blas
@@ -21,10 +21,7 @@ RDEPEND="
perl? ( dev-lang/perl )"
DEPEND="${RDEPEND}
virtual/pkgconfig
- doc? ( virtual/latex-base
- dev-texlive/texlive-latexextra
- dev-tex/revtex
- )"
+"
pkg_setup() {
# fortran-2.eclass does not handle mpi wrappers
@@ -60,18 +57,6 @@ src_compile() {
pushd "${BUILD_DIR}"/utility > /dev/null || die
emake || die "emake in utility failed"
popd > /dev/null || die
- if use doc; then
- VARTEXFONTS="${T}/fonts"
- pushd "${BUILD_DIR}"/doc/user_guide > /dev/null || die
- emake || die 'emake in doc/user_guide failed'
- cd "${BUILD_DIR}"/doc/tutorial
- emake || die 'emake in doc/tutorial failed'
- cd "${BUILD_DIR}"/utility/w90vdw/doc
- emake || die 'emake in utility/w90vdw/doc failed'
- cd "${BUILD_DIR}"/utility/w90pov/doc
- emake || die 'emake in utility/w90pov/doc failed'
- popd > /dev/null || die
- fi
}
src_test() {
@@ -87,10 +72,4 @@ src_install() {
dobin "${BUILD_DIR}"/utility/w90pov/src/w90pov.x
dobin "${BUILD_DIR}"/utility/PL_assessment/w90_pl_assess.x
use perl && dobin "$S"/utility/w90_kmesh.pl
- if use doc; then
- dodoc "${BUILD_DIR}"/doc/tutorial/tutorial.pdf
- dodoc "${BUILD_DIR}"/doc/user_guide/user_guide.pdf
- dodoc "${BUILD_DIR}"/utility/w90vdw/doc/w90vdw.pdf
- dodoc "${BUILD_DIR}"/utility/w90pov/doc/w90pov.pdf
- fi
}
diff --git a/sci-libs/wannier90/wannier90-2.0.1.ebuild b/sci-libs/wannier90/wannier90-2.0.1.ebuild
index 3eafd6a88..fe9e598fe 100644
--- a/sci-libs/wannier90/wannier90-2.0.1.ebuild
+++ b/sci-libs/wannier90/wannier90-2.0.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -12,7 +12,7 @@ SRC_URI="http://wannier.org/code/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux"
-IUSE="doc examples perl static-libs test"
+IUSE="examples perl static-libs test"
RDEPEND="
virtual/blas
@@ -20,10 +20,7 @@ RDEPEND="
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
@@ -37,10 +34,6 @@ src_configure() {
src_compile() {
emake -j1 wannier
emake -j1 lib
- if use doc; then
- VARTEXFONTS="${T}/fonts"
- emake -j1 doc
- fi
}
src_test() {
@@ -59,6 +52,4 @@ src_install() {
insinto /usr/share/${PN}
doins -r examples
fi
- use doc && dodoc doc/*.pdf
- dodoc README README.install CHANGE.log
}
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/wannier90/
@ 2021-01-19 16:56 Andrew Ammerlaan
0 siblings, 0 replies; 15+ messages in thread
From: Andrew Ammerlaan @ 2021-01-19 16:56 UTC (permalink / raw
To: gentoo-commits
commit: 9daac8be66d015861cae1026aeb32bff11d026b3
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Tue Jan 19 16:51:26 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Tue Jan 19 16:51:26 2021 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=9daac8be
sci-libs/wannier90: add RESTRICT="!test? ( test )"
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
sci-libs/wannier90/wannier90-2.0.1.1.ebuild | 4 +++-
sci-libs/wannier90/wannier90-2.0.1.ebuild | 4 +++-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/sci-libs/wannier90/wannier90-2.0.1.1.ebuild b/sci-libs/wannier90/wannier90-2.0.1.1.ebuild
index 096bf6645..bc7e9c399 100644
--- a/sci-libs/wannier90/wannier90-2.0.1.1.ebuild
+++ b/sci-libs/wannier90/wannier90-2.0.1.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -13,7 +13,9 @@ SRC_URI="https://launchpad.net/${PN}/2.0/${PV}/+download/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux"
+
IUSE="mpi perl test"
+RESTRICT="!test? ( test )"
RDEPEND="
virtual/blas
diff --git a/sci-libs/wannier90/wannier90-2.0.1.ebuild b/sci-libs/wannier90/wannier90-2.0.1.ebuild
index fe9e598fe..306e619b4 100644
--- a/sci-libs/wannier90/wannier90-2.0.1.ebuild
+++ b/sci-libs/wannier90/wannier90-2.0.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -12,7 +12,9 @@ SRC_URI="http://wannier.org/code/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux"
+
IUSE="examples perl static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="
virtual/blas
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/wannier90/
@ 2021-01-30 10:49 Andrew Ammerlaan
0 siblings, 0 replies; 15+ messages in thread
From: Andrew Ammerlaan @ 2021-01-30 10:49 UTC (permalink / raw
To: gentoo-commits
commit: 1e554b8b088f15c731c6a1254024ddc884dc9684
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sat Jan 30 10:49:00 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sat Jan 30 10:49:00 2021 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=1e554b8b
sci-libs/wannier90: version bump, EAPI bump
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
sci-libs/wannier90/wannier90-2.0.1.1.ebuild | 77 ----------------------
...nnier90-2.0.1.ebuild => wannier90-3.1.0.ebuild} | 31 +++++----
2 files changed, 15 insertions(+), 93 deletions(-)
diff --git a/sci-libs/wannier90/wannier90-2.0.1.1.ebuild b/sci-libs/wannier90/wannier90-2.0.1.1.ebuild
deleted file mode 100644
index bc7e9c399..000000000
--- a/sci-libs/wannier90/wannier90-2.0.1.1.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit autotools-utils 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"
-SRC_URI="https://launchpad.net/${PN}/2.0/${PV}/+download/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux"
-
-IUSE="mpi perl test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- virtual/blas
- virtual/lapack
- perl? ( dev-lang/perl )"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
-"
-
-pkg_setup() {
- # fortran-2.eclass does not handle mpi wrappers
- if use mpi; then
- export FC="mpif90"
- export F77="mpif77"
- export CC="mpicc"
- export CXX="mpic++"
- export MPIFC="mpif90"
- export MPICC="mpicc"
- else
- tc-export FC F77 CC CXX
- fi
-
- # Preprocesor macross can make some lines really long
- append-fflags -ffree-line-length-none
-
- fortran-2_pkg_setup
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/"$P"-runtest.patch
-}
-
-src_configure() {
- export LINALG_INCLUDES="$($(tc-getPKG_CONFIG) --cflags blas lapack)"
- export LINALG_LIBS="$($(tc-getPKG_CONFIG) --libs blas lapack)"
- autotools-utils_src_configure
-}
-
-src_compile() {
- autotools-utils_src_compile
- pushd "${BUILD_DIR}"/utility > /dev/null || die
- emake || die "emake in utility failed"
- popd > /dev/null || die
-}
-
-src_test() {
- einfo "Compare the 'Standard' and 'Current' outputs of this test."
-# cd tests
-# emake test
- autotools-utils_src_compile check
- cat "${BUILD_DIR}"/tests/wantest.log
-}
-
-src_install() {
- autotools-utils_src_install
- dobin "${BUILD_DIR}"/utility/w90pov/src/w90pov.x
- dobin "${BUILD_DIR}"/utility/PL_assessment/w90_pl_assess.x
- use perl && dobin "$S"/utility/w90_kmesh.pl
-}
diff --git a/sci-libs/wannier90/wannier90-2.0.1.ebuild b/sci-libs/wannier90/wannier90-3.1.0.ebuild
similarity index 67%
rename from sci-libs/wannier90/wannier90-2.0.1.ebuild
rename to sci-libs/wannier90/wannier90-3.1.0.ebuild
index 306e619b4..28bd897c4 100644
--- a/sci-libs/wannier90/wannier90-2.0.1.ebuild
+++ b/sci-libs/wannier90/wannier90-3.1.0.ebuild
@@ -1,28 +1,33 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
-inherit eutils fortran-2 multilib toolchain-funcs
+inherit 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"
+SRC_URI="https://github.com/wannier-developers/wannier90/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux"
-IUSE="examples perl static-libs test"
-RESTRICT="!test? ( test )"
+IUSE="examples perl static-libs"
RDEPEND="
virtual/blas
virtual/lapack
- perl? ( dev-lang/perl )"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
+ virtual/mpi
+ perl? ( dev-lang/perl )
"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_prepare() {
+ default
+ cp config/make.inc.gfort make.inc || die
+}
src_configure() {
cat <<- EOF >> "${S}"/make.sys
@@ -33,16 +38,10 @@ src_configure() {
EOF
}
-src_compile() {
- emake -j1 wannier
- emake -j1 lib
-}
-
src_test() {
einfo "Compare the 'Standard' and 'Current' outputs of this test."
- cd tests
- emake test
- cat wantest.log
+ cd test-suite || die
+ ./run_tests --default || die
}
src_install() {
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/wannier90/
@ 2021-12-16 10:57 Andrew Ammerlaan
0 siblings, 0 replies; 15+ messages in thread
From: Andrew Ammerlaan @ 2021-12-16 10:57 UTC (permalink / raw
To: gentoo-commits
commit: 745c0c4205685b207f86771b138d0b6fbda16c09
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 16 10:48:59 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Thu Dec 16 10:48:59 2021 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=745c0c42
sci-libs/wannier90: drop UnusedInherits
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
sci-libs/wannier90/wannier90-3.1.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/wannier90/wannier90-3.1.0.ebuild b/sci-libs/wannier90/wannier90-3.1.0.ebuild
index 28bd897c4..ca53b3863 100644
--- a/sci-libs/wannier90/wannier90-3.1.0.ebuild
+++ b/sci-libs/wannier90/wannier90-3.1.0.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit fortran-2 multilib toolchain-funcs
+inherit fortran-2 toolchain-funcs
DESCRIPTION="Calculates maximally localized Wannier functions (MLWFs)"
HOMEPAGE="http://www.wannier.org/"
^ permalink raw reply related [flat|nested] 15+ messages in thread
end of thread, other threads:[~2021-12-16 10:57 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-19 16:56 [gentoo-commits] proj/sci:master commit in: sci-libs/wannier90/ Andrew Ammerlaan
-- strict thread matches above, loose matches on Subject: below --
2021-12-16 10:57 Andrew Ammerlaan
2021-01-30 10:49 Andrew Ammerlaan
2020-09-28 10:12 Horea Christian
2020-09-28 10:12 Horea Christian
2015-04-22 14:43 Honza Macháček
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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox