1 |
markusle 09/11/03 05:30:07 |
2 |
|
3 |
Modified: ChangeLog metadata.xml |
4 |
Added: apbs-1.2.0.ebuild |
5 |
Removed: apbs-0.5.0.ebuild apbs-0.5.1.ebuild |
6 |
Log: |
7 |
Version bump (fixes bug #262905) and removed old ebuilds. |
8 |
(Portage version: 2.1.7.3/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.22 sci-chemistry/apbs/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/apbs/ChangeLog?rev=1.22&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/apbs/ChangeLog?rev=1.22&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/apbs/ChangeLog?r1=1.21&r2=1.22 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/apbs/ChangeLog,v |
20 |
retrieving revision 1.21 |
21 |
retrieving revision 1.22 |
22 |
diff -u -r1.21 -r1.22 |
23 |
--- ChangeLog 6 May 2009 21:05:52 -0000 1.21 |
24 |
+++ ChangeLog 3 Nov 2009 05:30:06 -0000 1.22 |
25 |
@@ -1,6 +1,17 @@ |
26 |
# ChangeLog for sci-chemistry/apbs |
27 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/apbs/ChangeLog,v 1.21 2009/05/06 21:05:52 maekke Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/apbs/ChangeLog,v 1.22 2009/11/03 05:30:06 markusle Exp $ |
30 |
+ |
31 |
+*apbs-1.2.0 (03 Nov 2009) |
32 |
+ |
33 |
+ 03 Nov 2009; Markus Dittrich <markusle@g.o> -apbs-0.5.0.ebuild, |
34 |
+ -apbs-0.5.1.ebuild, +apbs-1.2.0.ebuild, +files/apbs-1.2.0-contrib.patch, |
35 |
+ +files/apbs-1.2.0-install-fix.patch, +files/apbs-1.2.0-link.patch, |
36 |
+ -files/apbs-examples-gentoo.patch, -files/apbs-gcc4-gentoo.patch, |
37 |
+ metadata.xml: |
38 |
+ Version bump (fixes bug #262905) and removed old ebuilds. Currently |
39 |
+ missing is opal support (needs keywording by ppc) as well as fetk |
40 |
+ support. Thanks much to Justin Lecher for his ebuild. |
41 |
|
42 |
06 May 2009; Markus Meier <maekke@g.o> apbs-1.0.0-r1.ebuild: |
43 |
amd64/x86 stable, bug #250903 |
44 |
|
45 |
|
46 |
|
47 |
1.4 sci-chemistry/apbs/metadata.xml |
48 |
|
49 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/apbs/metadata.xml?rev=1.4&view=markup |
50 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/apbs/metadata.xml?rev=1.4&content-type=text/plain |
51 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/apbs/metadata.xml?r1=1.3&r2=1.4 |
52 |
|
53 |
Index: metadata.xml |
54 |
=================================================================== |
55 |
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/apbs/metadata.xml,v |
56 |
retrieving revision 1.3 |
57 |
retrieving revision 1.4 |
58 |
diff -u -r1.3 -r1.4 |
59 |
--- metadata.xml 20 Sep 2006 05:09:00 -0000 1.3 |
60 |
+++ metadata.xml 3 Nov 2009 05:30:06 -0000 1.4 |
61 |
@@ -6,4 +6,7 @@ |
62 |
<name>Markus Dittrich</name> |
63 |
</maintainer> |
64 |
<herd>sci-chemistry</herd> |
65 |
+ <use> |
66 |
+ <flag name='arpack'>Include support for arpack libs</flag> |
67 |
+ </use> |
68 |
</pkgmetadata> |
69 |
|
70 |
|
71 |
|
72 |
1.1 sci-chemistry/apbs/apbs-1.2.0.ebuild |
73 |
|
74 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/apbs/apbs-1.2.0.ebuild?rev=1.1&view=markup |
75 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/apbs/apbs-1.2.0.ebuild?rev=1.1&content-type=text/plain |
76 |
|
77 |
Index: apbs-1.2.0.ebuild |
78 |
=================================================================== |
79 |
# Copyright 1999-2009 Gentoo Foundation |
80 |
# Distributed under the terms of the GNU General Public License v2 |
81 |
# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/apbs/apbs-1.2.0.ebuild,v 1.1 2009/11/03 05:30:06 markusle Exp $ |
82 |
|
83 |
EAPI="2" |
84 |
|
85 |
inherit eutils fortran autotools python versionator flag-o-matic |
86 |
|
87 |
MY_PV=$(get_version_component_range 1-2) |
88 |
MY_P="${PN}-${MY_PV}-source" |
89 |
S="${WORKDIR}"/"${MY_P}" |
90 |
|
91 |
DESCRIPTION=" Software for evaluating the electrostatic properties of nanoscale biomolecular systems" |
92 |
LICENSE="BSD" |
93 |
HOMEPAGE="http://apbs.sourceforge.net/" |
94 |
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" |
95 |
|
96 |
SLOT="0" |
97 |
IUSE="arpack blas doc mpi python openmp" |
98 |
KEYWORDS="~x86 ~amd64 ~ppc" |
99 |
|
100 |
DEPEND="dev-libs/maloc[mpi=] |
101 |
blas? ( virtual/blas ) |
102 |
python? ( dev-lang/python ) |
103 |
sys-libs/readline |
104 |
arpack? ( sci-libs/arpack ) |
105 |
mpi? ( virtual/mpi )" |
106 |
RDEPEND="${DEPEND}" |
107 |
|
108 |
FORTRAN="g77 gfortran ifc" |
109 |
|
110 |
src_prepare() { |
111 |
python_version |
112 |
|
113 |
epatch "${FILESDIR}"/${P}-install-fix.patch |
114 |
epatch "${FILESDIR}"/${P}-contrib.patch |
115 |
epatch "${FILESDIR}"/${P}-link.patch |
116 |
sed "s:GENTOO_PKG_NAME:${PN}:g" \ |
117 |
-i Makefile.am || die "Cannot correct package name" |
118 |
eautoreconf |
119 |
} |
120 |
|
121 |
src_configure() { |
122 |
local myconf="--docdir=/usr/share/doc/${PF}" |
123 |
use blas && myconf="${myconf} --with-blas=-lblas" |
124 |
use arpack && myconf="${myconf} --with-arpack=/usr/$(get_libdir)" |
125 |
|
126 |
# check which mpi version is installed and tell configure |
127 |
if use mpi; then |
128 |
export CC="/usr/bin/mpicc" |
129 |
export F77="/usr/bin/mpif77" |
130 |
|
131 |
if has_version sys-cluster/mpich; then |
132 |
myconf="${myconf} --with-mpich=/usr" |
133 |
elif has_version sys-cluster/mpich2; then |
134 |
myconf="${myconf} --with-mpich2=/usr" |
135 |
elif has_version sys-cluster/lam-mpi; then |
136 |
myconf="${myconf} --with-lam=/usr" |
137 |
elif has_version sys-cluster/openmpi; then |
138 |
myconf="${myconf} --with-openmpi=/usr" |
139 |
fi |
140 |
fi || die "Failed to select proper mpi implementation" |
141 |
|
142 |
# apbs' configure's openmp detection is broken; we'll |
143 |
# work around this until it is fixed |
144 |
if use openmp; then |
145 |
append-flags -fopenmp |
146 |
else |
147 |
myconf="${myconf} --disable-openmp" |
148 |
fi |
149 |
|
150 |
econf $(use_enable python) \ |
151 |
--disable-maloc-rebuild \ |
152 |
${myconf} || die "configure failed" |
153 |
} |
154 |
|
155 |
src_compile() { |
156 |
emake -j1 || die "make failed" |
157 |
} |
158 |
|
159 |
src_test() { |
160 |
cd examples && make test \ |
161 |
|| die "Tests failed" |
162 |
} |
163 |
|
164 |
src_install() { |
165 |
emake -j1 DESTDIR="${D}" install \ |
166 |
|| die "make install failed" |
167 |
|
168 |
dodoc AUTHORS INSTALL README NEWS ChangeLog \ |
169 |
|| die "Failed to install docs" |
170 |
|
171 |
if use doc; then |
172 |
dohtml -r doc/* || die "Failed to install html docs" |
173 |
fi |
174 |
} |