From owner-svn-ports-head@FreeBSD.ORG Wed Oct 30 21:34:18 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 1C6536A1; Wed, 30 Oct 2013 21:34:18 +0000 (UTC) (envelope-from nemysis@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 09428256C; Wed, 30 Oct 2013 21:34:18 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r9ULYHFD057835; Wed, 30 Oct 2013 21:34:17 GMT (envelope-from nemysis@svn.freebsd.org) Received: (from nemysis@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r9ULYHd0057830; Wed, 30 Oct 2013 21:34:17 GMT (envelope-from nemysis@svn.freebsd.org) Message-Id: <201310302134.r9ULYHd0057830@svn.freebsd.org> From: Rusmir Dusko Date: Wed, 30 Oct 2013 21:34:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r332177 - in head/science/py-h5py: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Oct 2013 21:34:18 -0000 Author: nemysis Date: Wed Oct 30 21:34:16 2013 New Revision: 332177 URL: http://svnweb.freebsd.org/changeset/ports/332177 Log: - Update to 2.1.1 - Remove leading article from COMMENT - Use default dependency for science/hdf5-18 - Add patch PR: ports/181483 Submitted by: Johannes Meixner Approved by: wg (mentor) Added: head/science/py-h5py/files/ head/science/py-h5py/files/patch-setup.py (contents, props changed) Deleted: head/science/py-h5py/pkg-plist Modified: head/science/py-h5py/Makefile head/science/py-h5py/distinfo (contents, props changed) head/science/py-h5py/pkg-descr Modified: head/science/py-h5py/Makefile ============================================================================== --- head/science/py-h5py/Makefile Wed Oct 30 21:28:24 2013 (r332176) +++ head/science/py-h5py/Makefile Wed Oct 30 21:34:16 2013 (r332177) @@ -2,32 +2,27 @@ # $FreeBSD$ PORTNAME= h5py -PORTVERSION= 1.2.1 -PORTREVISION= 3 +PORTVERSION= 2.1.1 CATEGORIES= science python MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= fmysh@iijmio-mail.jp -COMMENT= A general-purpose Python interface to the HDF5 library +COMMENT= General-purpose Python interface to the HDF5 library BUILD_DEPENDS= ${PYNUMPY} RUN_DEPENDS= ${PYNUMPY} +LIB_DEPENDS= libhdf5.so:${PORTSDIR}/science/hdf5-18 -OPTIONS_DEFINE= NEW_HDF5 -NEW_HDF5_DESC= Use port science/hdf5-18 instead of science/hdf5 -OPTIONSFILE?= ${PORT_DBDIR}/py-${PORTNAME}/options - -NO_STAGE= yes -.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 -PYEASYINSTALL_ARCHDEP= yes +USE_PYTHON= yes +USE_PYDISTUTILS= yes +PYDISTUTILS_AUTOPLIST= yes + +post-patch: + ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ + ${WRKSRC}/setup.py + +regression-test: build + @cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test .include Modified: head/science/py-h5py/distinfo ============================================================================== --- head/science/py-h5py/distinfo Wed Oct 30 21:28:24 2013 (r332176) +++ head/science/py-h5py/distinfo Wed Oct 30 21:34:16 2013 (r332177) @@ -1,2 +1,2 @@ -SHA256 (h5py-1.2.1.tar.gz) = 2263c966a87adff606a677214d3af7593d3ae300b6b6b0a77412a9f3ae7a8e43 -SIZE (h5py-1.2.1.tar.gz) = 1462012 +SHA256 (h5py-2.1.1.tar.gz) = 6e4f135268436cda1dc19a081dc5384d431057344fa1121a886016cd8c89c716 +SIZE (h5py-2.1.1.tar.gz) = 984939 Added: head/science/py-h5py/files/patch-setup.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/py-h5py/files/patch-setup.py Wed Oct 30 21:34:16 2013 (r332177) @@ -0,0 +1,12 @@ +--- ./setup.py.orig 2013-10-29 15:50:15.741120947 +0200 ++++ ./setup.py 2013-10-29 15:51:01.621119992 +0200 +@@ -68,6 +68,9 @@ + elif sys.platform == 'darwin': + COMPILER_SETTINGS['include_dirs'] += ['/opt/local/include'] + COMPILER_SETTINGS['library_dirs'] += ['/opt/local/lib'] ++ elif sys.platform.startswith('freebsd'): ++ COMPILER_SETTINGS['include_dirs'] += ['%%LOCALBASE%%/include'] ++ COMPILER_SETTINGS['library_dirs'] += ['%%LOCALBASE%%/lib'] + COMPILER_SETTINGS['runtime_library_dirs'] = [op.abspath(x) for x in COMPILER_SETTINGS['library_dirs']] + + MODULES = ['defs','_errors','_objects','_proxy', 'h5fd', 'h5z', Modified: head/science/py-h5py/pkg-descr ============================================================================== --- head/science/py-h5py/pkg-descr Wed Oct 30 21:28:24 2013 (r332176) +++ head/science/py-h5py/pkg-descr Wed Oct 30 21:34:16 2013 (r332177) @@ -1,6 +1,6 @@ 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 +library from Python. The low-level interface is intended to be a complete +wrapping of the HDF5 1.8 API, 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