Date: Tue, 13 Aug 2013 11:59:54 +0000 (UTC) From: Kubilay Kocak <koobs@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r324659 - head/science/py-h5py Message-ID: <201308131159.r7DBxteV085890@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: koobs Date: Tue Aug 13 11:59:54 2013 New Revision: 324659 URL: http://svnweb.freebsd.org/changeset/ports/324659 Log: science/py-h5py: Add OPTION support for HDF5 1.8 - Add OPTION to use science/hdf5-18 instead of science/hdf5 PR: ports/179572 Submitted by: Johannes Meixner <xmj@chaot.net> Approved by: maintainer timeout (8 weeks) Modified: head/science/py-h5py/Makefile (contents, props changed) head/science/py-h5py/pkg-descr (contents, props changed) Modified: head/science/py-h5py/Makefile ============================================================================== --- head/science/py-h5py/Makefile Tue Aug 13 11:40:47 2013 (r324658) +++ head/science/py-h5py/Makefile Tue Aug 13 11:59:54 2013 (r324659) @@ -1,13 +1,9 @@ -# Ports collection makefile for: h5py -# Date created: Jun 22, 2009 -# Whom: TAOKA Fumiyoshi -# +# Created by: TAOKA Fumiyoshi # $FreeBSD$ -# PORTNAME= h5py PORTVERSION= 1.2.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= science python MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -17,7 +13,17 @@ COMMENT= A general-purpose Python interf BUILD_DEPENDS= ${PYNUMPY} RUN_DEPENDS= ${PYNUMPY} -LIB_DEPENDS= hdf5.0:${PORTSDIR}/science/hdf5 + +OPTIONS_DEFINE= NEW_HDF5 +NEW_HDF5_DESC= Use port science/hdf5-18 instead of science/hdf5 +OPTIONSFILE?= ${PORT_DBDIR}/py-${PORTNAME}/options + +.include <bsd.port.options.mk> +.if ${PORT_OPTIONS:MNEW_HDF5} +LIB_DEPENDS= hdf5:${PORTSDIR}/science/hdf5-18 +.else +LIB_DEPENDS= hdf5:${PORTSDIR}/science/hdf5 +.endif USE_PYTHON= 2.5+ USE_PYDISTUTILS= easy_install Modified: head/science/py-h5py/pkg-descr ============================================================================== --- head/science/py-h5py/pkg-descr Tue Aug 13 11:40:47 2013 (r324658) +++ head/science/py-h5py/pkg-descr Tue Aug 13 11:59:54 2013 (r324659) @@ -1,8 +1,7 @@ -The h5py package provides both a high- and low-level interface to the -HDF5 library from Python. The low-level interface is -intended to be a complete wrapping of the HDF5 1.6 API, while the high- -level component supports Python-style object-oriented access to HDF5 files, -datasets and groups. +The h5py package provides both a high- and low-level interface to the HDF5 +library from Python. The low-level interface is intended to be a complete +wrapping of the HDF5 1.6 and 1.8 APIs, while the high-level component supports +Python-style object-oriented access to HDF5 files, datasets and groups. The goal of this package is not to provide yet another scientific data model. It is an attempt to create as straightforward a binding as possible
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308131159.r7DBxteV085890>