From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Jun 15 14:40:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E5949F4F for ; Sat, 15 Jun 2013 14:40:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id CCA621A13 for ; Sat, 15 Jun 2013 14:40:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r5FEe0sd092653 for ; Sat, 15 Jun 2013 14:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r5FEe0R2092652; Sat, 15 Jun 2013 14:40:00 GMT (envelope-from gnats) Resent-Date: Sat, 15 Jun 2013 14:40:00 GMT Resent-Message-Id: <201306151440.r5FEe0R2092652@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Johannes Meixner Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 62716E4F for ; Sat, 15 Jun 2013 14:36:14 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) by mx1.freebsd.org (Postfix) with ESMTP id 3B7C719F2 for ; Sat, 15 Jun 2013 14:36:14 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r5FEaD7i076074 for ; Sat, 15 Jun 2013 14:36:13 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r5FEaD2h076071; Sat, 15 Jun 2013 14:36:13 GMT (envelope-from nobody) Message-Id: <201306151436.r5FEaD2h076071@oldred.freebsd.org> Date: Sat, 15 Jun 2013 14:36:13 GMT From: Johannes Meixner To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/179572: Add option to use science/hdf5-18 instead of science/hdf5 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Jun 2013 14:40:01 -0000 >Number: 179572 >Category: ports >Synopsis: Add option to use science/hdf5-18 instead of science/hdf5 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Jun 15 14:40:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Johannes Meixner >Release: 10.0-CURRENT >Organization: Goldener Grund OÜ >Environment: FreeBSD mx12.chaot.net 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r251531M: Fri Jun 14 13:16:06 EEST 2013 xmj@mx12.chaot.net:/usr/obj/usr/src/sys/xmj amd64 >Description: This patch adds an option to allow users to select hdf5-1.8 instead of hdf5-1.6,\as h5py autodetects the library's API version and works with either version. >How-To-Repeat: >Fix: Patch attached with submission follows: diff -ruN /usr/ports/science/py-h5py/Makefile ./Makefile --- /usr/ports/science/py-h5py/Makefile 2013-06-15 17:04:24.798080308 +0300 +++ ./Makefile 2013-06-15 16:50:09.308100218 +0300 @@ -1,9 +1,5 @@ -# Ports collection makefile for: h5py -# Date created: Jun 22, 2009 -# Whom: TAOKA Fumiyoshi -# -# $FreeBSD: ports/science/py-h5py/Makefile,v 1.4 2012/11/17 06:00:59 svnexp Exp $ -# +# Created by: TAOKA Fumiyoshi +# $FreeBSD$ PORTNAME= h5py PORTVERSION= 1.2.1 @@ -17,7 +13,16 @@ 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 + +.include +.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 diff -ruN /usr/ports/science/py-h5py/pkg-descr ./pkg-descr --- /usr/ports/science/py-h5py/pkg-descr 2009-07-13 17:07:16.000000000 +0300 +++ ./pkg-descr 2013-06-15 17:01:31.368711067 +0300 @@ -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 >Release-Note: >Audit-Trail: >Unformatted: