Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-chemistry/apbs: apbs-1.2.1b.ebuild ChangeLog
Date: Thu, 18 Feb 2010 22:12:22
Message-Id: E1NiEbZ-0006kk-TB@stork.gentoo.org
1 jlec 10/02/18 22:12:17
2
3 Modified: apbs-1.2.1b.ebuild ChangeLog
4 Log:
5 EAPI=3, keyworded for {amd64,x86}-linux, made it EPREFIX aware
6 (Portage version: 2.2_rc62/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.2 sci-chemistry/apbs/apbs-1.2.1b.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/apbs/apbs-1.2.1b.ebuild?rev=1.2&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/apbs/apbs-1.2.1b.ebuild?rev=1.2&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/apbs/apbs-1.2.1b.ebuild?r1=1.1&r2=1.2
14
15 Index: apbs-1.2.1b.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/apbs/apbs-1.2.1b.ebuild,v
18 retrieving revision 1.1
19 retrieving revision 1.2
20 diff -u -r1.1 -r1.2
21 --- apbs-1.2.1b.ebuild 4 Dec 2009 04:09:15 -0000 1.1
22 +++ apbs-1.2.1b.ebuild 18 Feb 2010 22:12:17 -0000 1.2
23 @@ -1,8 +1,10 @@
24 -# Copyright 1999-2009 Gentoo Foundation
25 +# Copyright 1999-2010 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/apbs/apbs-1.2.1b.ebuild,v 1.1 2009/12/04 04:09:15 markusle Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/apbs/apbs-1.2.1b.ebuild,v 1.2 2010/02/18 22:12:17 jlec Exp $
29
30 -EAPI="2"
31 +EAPI="3"
32 +
33 +PYTHON_DEPEND="2"
34
35 inherit eutils fortran autotools python versionator flag-o-matic
36
37 @@ -17,7 +19,7 @@
38
39 SLOT="0"
40 IUSE="arpack blas doc mpi python openmp"
41 -KEYWORDS="~x86 ~amd64 ~ppc"
42 +KEYWORDS="~x86 ~amd64 ~ppc ~amd64-linux ~x86-linux"
43
44 DEPEND="dev-libs/maloc[mpi=]
45 blas? ( virtual/blas )
46 @@ -30,8 +32,6 @@
47 FORTRAN="g77 gfortran ifc"
48
49 src_prepare() {
50 - python_version
51 -
52 epatch "${FILESDIR}"/${PN}-1.2.0-install-fix.patch
53 epatch "${FILESDIR}"/${PN}-1.2.0-contrib.patch
54 epatch "${FILESDIR}"/${PN}-1.2.0-link.patch
55 @@ -42,23 +42,23 @@
56 }
57
58 src_configure() {
59 - local myconf="--docdir=/usr/share/doc/${PF}"
60 + local myconf="--docdir=${EPREFIX}/usr/share/doc/${PF}"
61 use blas && myconf="${myconf} --with-blas=-lblas"
62 - use arpack && myconf="${myconf} --with-arpack=/usr/$(get_libdir)"
63 + use arpack && myconf="${myconf} --with-arpack=${EPREFIX}/usr/$(get_libdir)"
64
65 # check which mpi version is installed and tell configure
66 if use mpi; then
67 - export CC="/usr/bin/mpicc"
68 - export F77="/usr/bin/mpif77"
69 + export CC="${EPREFIX}/usr/bin/mpicc"
70 + export F77="${EPREFIX}/usr/bin/mpif77"
71
72 if has_version sys-cluster/mpich; then
73 - myconf="${myconf} --with-mpich=/usr"
74 + myconf="${myconf} --with-mpich=${EPREFIX}/usr"
75 elif has_version sys-cluster/mpich2; then
76 - myconf="${myconf} --with-mpich2=/usr"
77 + myconf="${myconf} --with-mpich2=${EPREFIX}/usr"
78 elif has_version sys-cluster/lam-mpi; then
79 - myconf="${myconf} --with-lam=/usr"
80 + myconf="${myconf} --with-lam=${EPREFIX}/usr"
81 elif has_version sys-cluster/openmpi; then
82 - myconf="${myconf} --with-openmpi=/usr"
83 + myconf="${myconf} --with-openmpi=${EPREFIX}/usr"
84 fi
85 fi || die "Failed to select proper mpi implementation"
86
87 @@ -72,7 +72,7 @@
88
89 econf $(use_enable python) \
90 --disable-maloc-rebuild \
91 - ${myconf} || die "configure failed"
92 + ${myconf}
93 }
94
95 src_compile() {
96
97
98
99 1.24 sci-chemistry/apbs/ChangeLog
100
101 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/apbs/ChangeLog?rev=1.24&view=markup
102 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/apbs/ChangeLog?rev=1.24&content-type=text/plain
103 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/apbs/ChangeLog?r1=1.23&r2=1.24
104
105 Index: ChangeLog
106 ===================================================================
107 RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/apbs/ChangeLog,v
108 retrieving revision 1.23
109 retrieving revision 1.24
110 diff -u -r1.23 -r1.24
111 --- ChangeLog 4 Dec 2009 04:09:15 -0000 1.23
112 +++ ChangeLog 18 Feb 2010 22:12:17 -0000 1.24
113 @@ -1,6 +1,9 @@
114 # ChangeLog for sci-chemistry/apbs
115 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
116 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/apbs/ChangeLog,v 1.23 2009/12/04 04:09:15 markusle Exp $
117 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
118 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/apbs/ChangeLog,v 1.24 2010/02/18 22:12:17 jlec Exp $
119 +
120 + 18 Feb 2010; Justin Lecher (jlec) <jlec@g.o> apbs-1.2.1b.ebuild:
121 + EAPI=3, keyworded for {amd64,x86}-linux, made it EPREFIX aware
122
123 *apbs-1.2.1b (04 Dec 2009)