Gentoo Archives: gentoo-commits

From: "Kacper Kowalik (xarthisius)" <xarthisius@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-libs/hdf5: hdf5-1.8.9.ebuild ChangeLog
Date: Wed, 30 May 2012 16:44:28
Message-Id: 20120530164417.88AF32004C@flycatcher.gentoo.org
1 xarthisius 12/05/30 16:44:17
2
3 Modified: ChangeLog
4 Added: hdf5-1.8.9.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.2.0_alpha108/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.85 sci-libs/hdf5/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/hdf5/ChangeLog?rev=1.85&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/hdf5/ChangeLog?rev=1.85&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/hdf5/ChangeLog?r1=1.84&r2=1.85
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-libs/hdf5/ChangeLog,v
20 retrieving revision 1.84
21 retrieving revision 1.85
22 diff -u -r1.84 -r1.85
23 --- ChangeLog 30 May 2012 06:48:48 -0000 1.84
24 +++ ChangeLog 30 May 2012 16:44:17 -0000 1.85
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sci-libs/hdf5
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/hdf5/ChangeLog,v 1.84 2012/05/30 06:48:48 jdhore Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/hdf5/ChangeLog,v 1.85 2012/05/30 16:44:17 xarthisius Exp $
30 +
31 +*hdf5-1.8.9 (30 May 2012)
32 +
33 + 30 May 2012; Kacper Kowalik <xarthisius@g.o>
34 + +files/hdf5-1.8.9-implicits.patch, +hdf5-1.8.9.ebuild:
35 + Version bump
36
37 30 May 2012; Jeff Horelick <jdhore@g.o> hdf5-1.8.8-r1.ebuild:
38 marked x86 per bug 417607
39
40
41
42 1.1 sci-libs/hdf5/hdf5-1.8.9.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/hdf5/hdf5-1.8.9.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/hdf5/hdf5-1.8.9.ebuild?rev=1.1&content-type=text/plain
46
47 Index: hdf5-1.8.9.ebuild
48 ===================================================================
49 # Copyright 1999-2012 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sci-libs/hdf5/hdf5-1.8.9.ebuild,v 1.1 2012/05/30 16:44:17 xarthisius Exp $
52
53 EAPI=4
54
55 inherit autotools eutils fortran-2 toolchain-funcs
56
57 DESCRIPTION="General purpose library and file format for storing scientific data"
58 HOMEPAGE="http://www.hdfgroup.org/HDF5/"
59 SRC_URI="http://www.hdfgroup.org/ftp/HDF5/releases/${P}/src/${P}.tar.bz2"
60
61 LICENSE="NCSA-HDF"
62 SLOT="0"
63 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
64 IUSE="cxx debug examples fortran fortran2003 mpi static-libs szip threads zlib"
65 REQUIRED_USE="cxx? ( !mpi ) mpi? ( !cxx )
66 threads? ( !cxx !mpi !fortran )
67 fortran2003? ( fortran )"
68
69 RDEPEND="
70 fortran? ( virtual/fortran )
71 mpi? ( virtual/mpi[romio] )
72 szip? ( >=sci-libs/szip-2.1 )
73 zlib? ( sys-libs/zlib )"
74
75 DEPEND="${RDEPEND}
76 sys-devel/libtool:2"
77
78 pkg_setup() {
79 tc-export CXX CC FC # workaround for bug 285148
80 if use fortran; then
81 use fortran2003 && FORTRAN_STANDARD=2003
82 fortran-2_pkg_setup
83 fi
84 if use mpi; then
85 if has_version 'sci-libs/hdf5[-mpi]'; then
86 ewarn "Installing hdf5 with mpi enabled with a previous hdf5 with mpi disabled may fail."
87 ewarn "Try to uninstall the current hdf5 prior to enabling mpi support."
88 fi
89 export CC=mpicc
90 use fortran && export FC=mpif90
91 elif has_version 'sci-libs/hdf5[mpi]'; then
92 ewarn "Installing hdf5 with mpi disabled while having hdf5 installed with mpi enabled may fail."
93 ewarn "Try to uninstall the current hdf5 prior to disabling mpi support."
94 fi
95 }
96
97 src_prepare() {
98 epatch "${FILESDIR}"/${PN}-1.8.8-buildsystem.patch \
99 "${FILESDIR}"/${PN}-1.8.8-array_bounds.patch \
100 "${FILESDIR}"/${P}-implicits.patch
101 # respect gentoo examples directory
102 sed \
103 -e "s:hdf5_examples:doc/${PF}/examples:g" \
104 -i $(find . -name Makefile.am) $(find . -name "run*.sh.in") || die
105 sed \
106 -e '/docdir/d' \
107 -i config/commence.am || die
108 if ! use examples; then
109 sed -e '/^install:/ s/install-examples//' \
110 -i Makefile.am || die #409091
111 fi
112 eautoreconf
113 # enable shared libs by default for h5cc config utility
114 sed -i -e "s/SHLIB:-no/SHLIB:-yes/g" tools/misc/h5cc.in || die
115 }
116
117 src_configure() {
118 econf \
119 --disable-sharedlib-rpath \
120 --enable-production \
121 --docdir="${EPREFIX}"/usr/share/doc/${PF} \
122 --enable-deprecated-symbols \
123 --enable-shared \
124 --disable-silent-rules \
125 $(use_enable static-libs static) \
126 $(use_enable debug debug all) \
127 $(use_enable debug codestack) \
128 $(use_enable cxx) \
129 $(use_enable fortran) \
130 $(use_enable fortran2003) \
131 $(use_enable mpi parallel) \
132 $(use_enable threads threadsafe) \
133 $(use_with szip szlib) \
134 $(use_with threads pthread) \
135 $(use_with zlib) \
136 ${myconf}
137 }
138
139 src_install() {
140 default
141 use static-libs || find "${ED}" -name '*.la' -exec rm -f {} +
142 }