Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-libs/hdf5: metadata.xml hdf5-1.8.13.ebuild ChangeLog
Date: Wed, 04 Jun 2014 16:06:01
Message-Id: 20140604160556.143532004E@flycatcher.gentoo.org
1 bicatali 14/06/04 16:05:56
2
3 Modified: metadata.xml ChangeLog
4 Added: hdf5-1.8.13.ebuild
5 Log:
6 Version bump
7
8 (Portage version: HEAD/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
9
10 Revision Changes Path
11 1.11 sci-libs/hdf5/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/hdf5/metadata.xml?rev=1.11&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/hdf5/metadata.xml?rev=1.11&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/hdf5/metadata.xml?r1=1.10&r2=1.11
16
17 Index: metadata.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-libs/hdf5/metadata.xml,v
20 retrieving revision 1.10
21 retrieving revision 1.11
22 diff -u -r1.10 -r1.11
23 --- metadata.xml 18 Oct 2012 21:30:05 -0000 1.10
24 +++ metadata.xml 4 Jun 2014 16:05:55 -0000 1.11
25 @@ -1,19 +1,19 @@
26 <?xml version="1.0" encoding="UTF-8"?>
27 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
28 <pkgmetadata>
29 - <herd>sci</herd>
30 - <maintainer>
31 - <email>xarthisius@g.o</email>
32 - <name>Kacper Kowalik</name>
33 - </maintainer>
34 - <longdescription>
35 - HDF5 is a file format and library for storing scientific data. HDF5
36 - was designed and implemented to address the deficiencies of HDF4.x. It
37 - has a more powerful and flexible data model, supports files larger
38 - than 2 GB, and supports parallel I/O.
39 - </longdescription>
40 - <use>
41 - <flag name="fortran2003">enable new features that require Fortran 2003
42 - (http://www.hdfgroup.org/HDF5/doc/fortran/NewFeatures_F2003.pdf)</flag>
43 - </use>
44 +<herd>sci</herd>
45 +<maintainer>
46 + <email>xarthisius@g.o</email>
47 + <name>Kacper Kowalik</name>
48 +</maintainer>
49 +<longdescription>
50 + HDF5 is a file format and library for storing scientific data. HDF5
51 + was designed and implemented to address the deficiencies of HDF4.x. It
52 + has a more powerful and flexible data model, supports files larger
53 + than 2 GB, and supports parallel I/O.
54 +</longdescription>
55 +<use>
56 + <flag name="fortran2003">Enable new features that require Fortran 2003
57 + (http://www.hdfgroup.org/HDF5/doc/fortran/NewFeatures_F2003.pdf)</flag>
58 +</use>
59 </pkgmetadata>
60
61
62
63 1.118 sci-libs/hdf5/ChangeLog
64
65 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/hdf5/ChangeLog?rev=1.118&view=markup
66 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/hdf5/ChangeLog?rev=1.118&content-type=text/plain
67 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/hdf5/ChangeLog?r1=1.117&r2=1.118
68
69 Index: ChangeLog
70 ===================================================================
71 RCS file: /var/cvsroot/gentoo-x86/sci-libs/hdf5/ChangeLog,v
72 retrieving revision 1.117
73 retrieving revision 1.118
74 diff -u -r1.117 -r1.118
75 --- ChangeLog 15 Nov 2013 15:49:14 -0000 1.117
76 +++ ChangeLog 4 Jun 2014 16:05:55 -0000 1.118
77 @@ -1,6 +1,13 @@
78 # ChangeLog for sci-libs/hdf5
79 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
80 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/hdf5/ChangeLog,v 1.117 2013/11/15 15:49:14 xarthisius Exp $
81 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
82 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/hdf5/ChangeLog,v 1.118 2014/06/04 16:05:55 bicatali Exp $
83 +
84 +*hdf5-1.8.13 (04 Jun 2014)
85 +
86 + 04 Jun 2014; Sébastien Fabbro <bicatali@g.o>
87 + +files/hdf5-1.8.13-implicits.patch,
88 + +files/hdf5-1.8.13-no-messing-ldpath.patch, +hdf5-1.8.13.ebuild, metadata.xml:
89 + Version bump
90
91 *hdf5-1.8.12 (15 Nov 2013)
92
93
94
95
96 1.1 sci-libs/hdf5/hdf5-1.8.13.ebuild
97
98 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/hdf5/hdf5-1.8.13.ebuild?rev=1.1&view=markup
99 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/hdf5/hdf5-1.8.13.ebuild?rev=1.1&content-type=text/plain
100
101 Index: hdf5-1.8.13.ebuild
102 ===================================================================
103 # Copyright 1999-2014 Gentoo Foundation
104 # Distributed under the terms of the GNU General Public License v2
105 # $Header: /var/cvsroot/gentoo-x86/sci-libs/hdf5/hdf5-1.8.13.ebuild,v 1.1 2014/06/04 16:05:55 bicatali Exp $
106
107 EAPI=5
108
109 FORTRAN_NEEDED=fortran
110 AUTOTOOLS_AUTORECONF=1
111
112 inherit autotools-utils eutils fortran-2 flag-o-matic toolchain-funcs multilib
113
114 MY_P=${PN}-${PV/_p/-patch}
115
116 DESCRIPTION="General purpose library and file format for storing scientific data"
117 HOMEPAGE="http://www.hdfgroup.org/HDF5/"
118 SRC_URI="http://www.hdfgroup.org/ftp/HDF5/releases/${MY_P}/src/${MY_P}.tar.bz2"
119
120 LICENSE="NCSA-HDF"
121 SLOT="0/${PV%%_p*}"
122 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
123 IUSE="cxx debug examples fortran fortran2003 mpi static-libs szip threads zlib"
124
125 REQUIRED_USE="
126 cxx? ( !mpi ) mpi? ( !cxx )
127 threads? ( !cxx !mpi !fortran )
128 fortran2003? ( fortran )"
129
130 RDEPEND="
131 mpi? ( virtual/mpi[romio] )
132 szip? ( >=sci-libs/szip-2.1:0= )
133 zlib? ( sys-libs/zlib:0= )"
134
135 DEPEND="${RDEPEND}
136 sys-devel/libtool:2
137 >=sys-devel/autoconf-2.69"
138
139 S="${WORKDIR}/${MY_P}"
140
141 PATCHES=(
142 "${FILESDIR}"/${PN}-1.8.9-static_libgfortran.patch
143 "${FILESDIR}"/${PN}-1.8.9-mpicxx.patch
144 "${FILESDIR}"/${PN}-1.8.13-no-messing-ldpath.patch
145 "${FILESDIR}"/${PN}-1.8.13-implicits.patch
146 )
147
148 pkg_setup() {
149 tc-export CXX CC AR # workaround for bug 285148
150 if use fortran; then
151 use fortran2003 && FORTRAN_STANDARD=2003
152 fortran-2_pkg_setup
153 fi
154 if use mpi; then
155 if has_version 'sci-libs/hdf5[-mpi]'; then
156 ewarn "Installing hdf5 with mpi enabled with a previous hdf5 with mpi disabled may fail."
157 ewarn "Try to uninstall the current hdf5 prior to enabling mpi support."
158 fi
159 export CC=mpicc
160 use fortran && export FC=mpif90
161 elif has_version 'sci-libs/hdf5[mpi]'; then
162 ewarn "Installing hdf5 with mpi disabled while having hdf5 installed with mpi enabled may fail."
163 ewarn "Try to uninstall the current hdf5 prior to disabling mpi support."
164 fi
165 }
166
167 src_prepare() {
168 # respect gentoo examples directory
169 sed \
170 -e "s:hdf5_examples:doc/${PF}/examples:g" \
171 -i $(find . -name Makefile.am) $(find . -name "run*.sh.in") || die
172 sed \
173 -e '/docdir/d' \
174 -i config/commence.am || die
175 if ! use examples; then
176 sed -e '/^install:/ s/install-examples//' \
177 -i Makefile.am || die #409091
178 fi
179 # enable shared libs by default for h5cc config utility
180 sed -i -e "s/SHLIB:-no/SHLIB:-yes/g" tools/misc/h5cc.in || die
181 # bug #419677
182 use prefix && \
183 append-ldflags -Wl,-rpath,"${EPREFIX}"/usr/$(get_libdir) \
184 -Wl,-rpath,"${EPREFIX}"/$(get_libdir)
185 autotools-utils_src_prepare
186 }
187
188 src_configure() {
189 local myeconfargs=(
190 --enable-production
191 --docdir="${EPREFIX}"/usr/share/doc/${PF}
192 --enable-deprecated-symbols
193 $(use_enable prefix sharedlib-rpath)
194 $(use_enable debug debug all)
195 $(use_enable debug codestack)
196 $(use_enable cxx)
197 $(use_enable fortran)
198 $(use_enable fortran2003)
199 $(use_enable mpi parallel)
200 $(use_enable threads threadsafe)
201 $(use_with szip szlib)
202 $(use_with threads pthread)
203 $(use_with zlib)
204 )
205 autotools-utils_src_configure
206 }