Gentoo Archives: gentoo-commits

From: "Honza Macháček" <Hloupy.Honza@×××××××.cz>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-physics/abinit/
Date: Sat, 05 Feb 2011 19:22:30
Message-Id: 728695abd8b31a2c57bcfe43d10fb2ab9293acee.honza_machacek@gentoo
1 commit: 728695abd8b31a2c57bcfe43d10fb2ab9293acee
2 Author: Honza Macháček <Hloupy.Honza <AT> centrum <DOT> cz>
3 AuthorDate: Sat Feb 5 19:21:51 2011 +0000
4 Commit: Honza Macháček <Hloupy.Honza <AT> centrum <DOT> cz>
5 CommitDate: Sat Feb 5 19:21:51 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=728695ab
7
8 A simple version bump. An unsolved problem with fortran flags when USE="+netcdf -mpi" circumvented. Minor changes to reports and logs when testing
9
10 ---
11 sci-physics/abinit/ChangeLog | 8 ++++++
12 sci-physics/abinit/abinit-6.4.2.ebuild | 2 +-
13 .../{abinit-6.4.2.ebuild => abinit-6.4.3.ebuild} | 25 ++++++++++---------
14 3 files changed, 22 insertions(+), 13 deletions(-)
15
16 diff --git a/sci-physics/abinit/ChangeLog b/sci-physics/abinit/ChangeLog
17 index dd05ff4..94ea184 100644
18 --- a/sci-physics/abinit/ChangeLog
19 +++ b/sci-physics/abinit/ChangeLog
20 @@ -2,6 +2,14 @@
21 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
22 # $Header: $
23
24 +*abinit-6.4.3 (05 Feb 2011)
25 +
26 + 05 Feb 2011; Honza Macháček <Hloupy.Honza@×××××××.cz> abinit-6.4.2.ebuild,
27 + +abinit-6.4.3.ebuild:
28 + A simple version bump. An unsolved problem with fortran flags when
29 + USE="+netcdf -mpi" circumvented. Minor changes to reports and logs when
30 + testing
31 +
32 20 Jan 2011; Honza Macháček <Hloupy.Honza@×××××××.cz> abinit-6.4.2.ebuild:
33 The typo of getFC corrected to . By Jérôme Borme <jerome.borme@×××××.com>
34
35
36 diff --git a/sci-physics/abinit/abinit-6.4.2.ebuild b/sci-physics/abinit/abinit-6.4.2.ebuild
37 index fe85154..ac9a31e 100644
38 --- a/sci-physics/abinit/abinit-6.4.2.ebuild
39 +++ b/sci-physics/abinit/abinit-6.4.2.ebuild
40 @@ -151,7 +151,7 @@ src_configure() {
41 CC="${MY_CC}" \
42 CXX="${MY_CXX}" \
43 LD="$(tc-getLD)" \
44 - FCFLAGS="${FCFLAGS:- ${FFLAGS:- -O2}} ${modules}"
45 + FCFLAGS="${FCFLAGS:- ${FFLAGS:- -O2}} ${modules} -I/usr/include"
46 }
47
48 src_compile() {
49
50 diff --git a/sci-physics/abinit/abinit-6.4.2.ebuild b/sci-physics/abinit/abinit-6.4.3.ebuild
51 similarity index 90%
52 copy from sci-physics/abinit/abinit-6.4.2.ebuild
53 copy to sci-physics/abinit/abinit-6.4.3.ebuild
54 index fe85154..7090336 100644
55 --- a/sci-physics/abinit/abinit-6.4.2.ebuild
56 +++ b/sci-physics/abinit/abinit-6.4.3.ebuild
57 @@ -151,7 +151,7 @@ src_configure() {
58 CC="${MY_CC}" \
59 CXX="${MY_CXX}" \
60 LD="$(tc-getLD)" \
61 - FCFLAGS="${FCFLAGS:- ${FFLAGS:- -O2}} ${modules}"
62 + FCFLAGS="${FCFLAGS:- ${FFLAGS:- -O2}} ${modules} -I/usr/include"
63 }
64
65 src_compile() {
66 @@ -166,12 +166,12 @@ src_test() {
67 einfo "The tests take quite a while, on the order of 1-2 hours"
68 einfo "on an Intel Penryn (2.5 GHz)."
69 cd "${S}"/tests
70 - emake tests_min
71 - emake tests_paw
72 - emake tests_gw
73 - emake tests_gw_paw
74 - emake tests tdft
75 - emake tests_bench
76 + emake tests_min || ewarn "Minimal tests failed"
77 + emake tests_paw || ewarn "PAW tests failed"
78 + emake tests_gw || ewarn "GW tests failed"
79 + emake tests_gw_paw || ewarn "GW-PAW tests failed"
80 + emake tests tdft || ewarn "TDFT tests failed"
81 + emake tests_bench || ewarn "Benchmarks failed"
82
83 local REPORT
84 for REPORT in $(find . -name report); do
85 @@ -186,15 +186,15 @@ src_test() {
86 done
87
88 local testdir
89 - find . -name ",,test*" -print | \
90 + find . -name "tmp-test*" -print | \
91 while read testdir; do
92 - if [ -e summary_tests.tar ]; then
93 - tar rvf summary_tests.tar ${testdir}
94 - else tar cvf summary_tests.tar ${testdir}
95 + if [ -e summary_of_tests.tar ]; then
96 + tar rvf summary_of_tests.tar ${testdir}
97 + else tar cvf summary_of_tests.tar ${testdir}
98 fi
99 done
100
101 - elog "The full test results will be installed as summary_tests.tar.bz2."
102 + elog "The full test results will be installed as summary_of_tests.tar.bz2."
103 elog "Also a concise report tests_summary.txt is installed."
104 }
105
106 @@ -204,6 +204,7 @@ src_install() {
107 if use test; then
108 dodoc tests/tests_summary.txt || ewarn "Copying tests summary failed"
109 dodoc tests/summary_tests.tar || ewarn "Copying tests results failed"
110 + dodoc tests/summary_of_tests.tar || ewarn "Copying tests results failed"
111 fi
112
113 dodoc KNOWN_PROBLEMS README || die "Copying doc files failed"