Gentoo Archives: gentoo-commits

From: "Markus Dittrich (markusle)" <markusle@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-physics/meep: ChangeLog meep-0.10.1.ebuild
Date: Sat, 28 Jun 2008 13:14:28
Message-Id: E1KCaFy-0002mC-0H@stork.gentoo.org
1 markusle 08/06/28 13:14:22
2
3 Modified: ChangeLog meep-0.10.1.ebuild
4 Log:
5 Explicitly depend on blas-atlas and add warnings pointing out potential issues when using meep with blas-reference (see bug #229693).
6 (Portage version: 2.2_rc1/cvs/Linux 2.6.25-SENTINEL-3 i686)
7
8 Revision Changes Path
9 1.3 sci-physics/meep/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/meep/ChangeLog?rev=1.3&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/meep/ChangeLog?rev=1.3&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/meep/ChangeLog?r1=1.2&r2=1.3
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/sci-physics/meep/ChangeLog,v
18 retrieving revision 1.2
19 retrieving revision 1.3
20 diff -u -r1.2 -r1.3
21 --- ChangeLog 27 Jun 2008 17:21:17 -0000 1.2
22 +++ ChangeLog 28 Jun 2008 13:14:21 -0000 1.3
23 @@ -1,6 +1,12 @@
24 # ChangeLog for sci-physics/meep
25 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/meep/ChangeLog,v 1.2 2008/06/27 17:21:17 markusle Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/meep/ChangeLog,v 1.3 2008/06/28 13:14:21 markusle Exp $
28 +
29 + 28 Jun 2008; Markus Dittrich <markusle@g.o> meep-0.10.1.ebuild:
30 + Since blas-reference seems to result in a faulty meep, let's depend
31 + explicitly on blas-atlas and add a warning in case the user has
32 + selected blas-reference (see bug #229693). Thanks much to
33 + Dustin Surawicz for tracking this down.
34
35 27 Jun 2008; Markus Dittrich <markusle@g.o>
36 +files/meep-0.10.1-gcc4.3.patch, meep-0.10.1.ebuild:
37
38
39
40 1.3 sci-physics/meep/meep-0.10.1.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/meep/meep-0.10.1.ebuild?rev=1.3&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/meep/meep-0.10.1.ebuild?rev=1.3&content-type=text/plain
44 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/meep/meep-0.10.1.ebuild?r1=1.2&r2=1.3
45
46 Index: meep-0.10.1.ebuild
47 ===================================================================
48 RCS file: /var/cvsroot/gentoo-x86/sci-physics/meep/meep-0.10.1.ebuild,v
49 retrieving revision 1.2
50 retrieving revision 1.3
51 diff -u -r1.2 -r1.3
52 --- meep-0.10.1.ebuild 27 Jun 2008 17:21:17 -0000 1.2
53 +++ meep-0.10.1.ebuild 28 Jun 2008 13:14:21 -0000 1.3
54 @@ -1,6 +1,6 @@
55 # Copyright 1999-2008 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/meep/meep-0.10.1.ebuild,v 1.2 2008/06/27 17:21:17 markusle Exp $
58 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/meep/meep-0.10.1.ebuild,v 1.3 2008/06/28 13:14:21 markusle Exp $
59
60 inherit eutils autotools
61
62 @@ -17,10 +17,24 @@
63 !bindist? ( sci-libs/gsl )
64 bindist? ( <sci-libs/gsl-1.10 )
65 sci-physics/harminv
66 + sci-libs/blas-atlas
67 + virtual/lapack
68 guile? ( >=sci-libs/libctl-3.0 )
69 hdf5? ( sci-libs/hdf5 )
70 mpi? ( virtual/mpi )"
71
72 +pkg_setup() {
73 + SELECTED_BLAS=$(eselect blas show | cut -d' ' -f2)
74 + if [[ ${SELECTED_BLAS} == "reference" ]]; then
75 + ewarn "You have selected blas-reference which may yield a"
76 + ewarn "broken meep and cause test failures (see bug #229693)"
77 + ewarn "We highly recommend that you use blas-atlas"
78 + ewarn "when compiling and using meep."
79 + epause 5
80 + fi
81 +}
82 +
83 +
84 src_unpack() {
85 unpack ${A}
86 cd "${S}"
87 @@ -49,3 +63,13 @@
88 doins -r examples || die "install examples failed"
89 fi
90 }
91 +
92 +pkg_postinst() {
93 + # warn the user that meep + blas-reference may cause problems
94 + echo
95 + elog "Please note that meep may produce bad results when"
96 + elog "used in conjunction with blas-reference. We recommend"
97 + elog "that you use blas-atlas instead."
98 + echo
99 +}
100 +
101
102
103
104 --
105 gentoo-commits@l.g.o mailing list