* [gentoo-commits] gentoo-x86 commit in sci-libs/hdf5: hdf5-1.8.4_p1.ebuild ChangeLog hdf5-1.6.6.ebuild hdf5-1.8.3-r1.ebuild hdf5-1.6.5-r1.ebuild
@ 2010-05-04 18:38 Sebastien Fabbro (bicatali)
0 siblings, 0 replies; only message in thread
From: Sebastien Fabbro (bicatali) @ 2010-05-04 18:38 UTC (permalink / raw
To: gentoo-commits
bicatali 10/05/04 18:38:14
Modified: ChangeLog
Added: hdf5-1.8.4_p1.ebuild
Removed: hdf5-1.6.6.ebuild hdf5-1.8.3-r1.ebuild
hdf5-1.6.5-r1.ebuild
Log:
Version bump. Important update mainly for netcdf4 users
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Revision Changes Path
1.54 sci-libs/hdf5/ChangeLog
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/hdf5/ChangeLog?rev=1.54&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/hdf5/ChangeLog?rev=1.54&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/hdf5/ChangeLog?r1=1.53&r2=1.54
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-libs/hdf5/ChangeLog,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -r1.53 -r1.54
--- ChangeLog 10 Feb 2010 17:21:57 -0000 1.53
+++ ChangeLog 4 May 2010 18:38:13 -0000 1.54
@@ -1,6 +1,13 @@
# ChangeLog for sci-libs/hdf5
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/hdf5/ChangeLog,v 1.53 2010/02/10 17:21:57 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/hdf5/ChangeLog,v 1.54 2010/05/04 18:38:13 bicatali Exp $
+
+*hdf5-1.8.4_p1 (04 May 2010)
+
+ 04 May 2010; Sébastien Fabbro <bicatali@gentoo.org>
+ -hdf5-1.6.5-r1.ebuild, -hdf5-1.6.6.ebuild, -hdf5-1.8.3-r1.ebuild,
+ files/hdf5-1.8.3-as-needed.patch, +hdf5-1.8.4_p1.ebuild:
+ Version bump. Important update mainly for netcdf4 users
10 Feb 2010; Sébastien Fabbro <bicatali@gentoo.org> hdf5-1.8.4-r1.ebuild:
Added some warnings for mpi
1.1 sci-libs/hdf5/hdf5-1.8.4_p1.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/hdf5/hdf5-1.8.4_p1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/hdf5/hdf5-1.8.4_p1.ebuild?rev=1.1&content-type=text/plain
Index: hdf5-1.8.4_p1.ebuild
===================================================================
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-libs/hdf5/hdf5-1.8.4_p1.ebuild,v 1.1 2010/05/04 18:38:13 bicatali Exp $
EAPI=2
inherit eutils autotools
MYP=${PN}-${PV/_p/-patch}
DESCRIPTION="General purpose library and file format for storing scientific data"
HOMEPAGE="http://www.hdfgroup.org/HDF5/"
SRC_URI="http://www.hdfgroup.org/ftp/HDF5/current/src/${MYP}.tar.gz"
LICENSE="NCSA-HDF"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="cxx examples fortran mpi szip threads zlib"
RDEPEND="mpi? ( virtual/mpi[romio] )
szip? ( >=sci-libs/szip-2.1 )
zlib? ( sys-libs/zlib )"
DEPEND="${RDEPEND}
>=sys-devel/libtool-2.2
sys-process/time"
S="${WORKDIR}/${MYP}"
pkg_setup() {
if use mpi; then
if has_version 'sci-libs/hdf5[-mpi]'; then
ewarn "Installing hdf5 with mpi enabled with a previous hdf5 with mpi disabled may fail."
ewarn "Try to uninstall the current hdf5 prior to enabling mpi support."
fi
if use cxx; then
ewarn "Simultaneous mpi and cxx is not supported by ${PN}"
ewarn "Will disable cxx interface"
fi
export CC=mpicc
if use fortran; then
export FC=mpif90
fi
elif has_version 'sci-libs/hdf5[mpi]'; then
ewarn "Installing hdf5 with mpi disabled while having hdf5 installed with mpi enabled may fail."
ewarn "Try to uninstall the current hdf5 prior to disabling mpi support."
fi
}
src_prepare() {
epatch "${FILESDIR}"/${PN}-1.8.3-as-needed.patch
epatch "${FILESDIR}"/${PN}-1.8.3-includes.patch
epatch "${FILESDIR}"/${PN}-1.8.3-noreturn.patch
epatch "${FILESDIR}"/${PN}-1.8.4-gnutools.patch
epatch "${FILESDIR}"/${PN}-1.8.4-scaleoffset.patch
epatch "${FILESDIR}"/${PN}-1.8.4-sigbus.patch
# respect gentoo examples directory
sed -i \
-e 's:$(docdir)/hdf5:$(DESTDIR)/$(docdir):' \
$(find . -name Makefile.am) || die
sed -i \
-e '/docdir/d' \
config/commence.am || die
eautoreconf
# enable shared libs by default for h5cc config utility
sed -i -e "s/SHLIB:-no/SHLIB:-yes/g" tools/misc/h5cc.in \
|| die "sed h5cc.in failed"
}
src_configure() {
# threadsafe incompatible with many options
local myconf="--disable-threadsafe"
use threads && ! use fortran && ! use cxx && ! use mpi \
&& myconf="--enable-threadsafe"
if use mpi; then
myconf="${myconf} --disable-cxx"
else
# workaround for bug 285148
if use cxx; then
myconf="${myconf} $(use_enable cxx) CXX=$(tc-getCXX)"
fi
if use fortran; then
myconf="${myconf} FC=$(tc-getFC)"
fi
fi
econf \
--disable-sharedlib-rpath \
--enable-production \
--enable-strict-format-checks \
--docdir=/usr/share/doc/${PF} \
--enable-deprecated-symbols \
--enable-shared \
$(use_enable fortran) \
$(use_enable mpi parallel) \
$(use_with szip szlib) \
$(use_with threads pthread) \
$(use_with zlib) \
${myconf}
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc README.txt
if use examples; then
emake DESTDIR="${D}" install-examples \
|| die "emake install examples failed"
fi
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-05-04 18:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-04 18:38 [gentoo-commits] gentoo-x86 commit in sci-libs/hdf5: hdf5-1.8.4_p1.ebuild ChangeLog hdf5-1.6.6.ebuild hdf5-1.8.3-r1.ebuild hdf5-1.6.5-r1.ebuild Sebastien Fabbro (bicatali)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox