Date: Wed, 13 Nov 2013 21:28:30 +0000 (UTC) From: William Grzybowski <wg@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r333728 - in head/science/py-h5py: . files Message-ID: <201311132128.rADLSUEx002360@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: wg Date: Wed Nov 13 21:28:29 2013 New Revision: 333728 URL: http://svnweb.freebsd.org/changeset/ports/333728 Log: science/py-h5py: update to 2.2.0 - Update to 2.2.0 - Add LICENSE (BSD) - Add DOCS - Pass maintainership to submitter PR: ports/183519 Submitted by: Johannes Jost Meixner <xmj chaot.net> Approved by: maintainer (timeout, 2 weeks, 3 times) Modified: head/science/py-h5py/Makefile head/science/py-h5py/distinfo head/science/py-h5py/files/patch-setup.py Modified: head/science/py-h5py/Makefile ============================================================================== --- head/science/py-h5py/Makefile Wed Nov 13 20:18:22 2013 (r333727) +++ head/science/py-h5py/Makefile Wed Nov 13 21:28:29 2013 (r333728) @@ -2,26 +2,37 @@ # $FreeBSD$ PORTNAME= h5py -PORTVERSION= 2.1.1 +PORTVERSION= 2.2.0 CATEGORIES= science python MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -MAINTAINER= fmysh@iijmio-mail.jp +MAINTAINER= xmj@chaot.net COMMENT= General-purpose Python interface to the HDF5 library +LICENSE= BSD + BUILD_DEPENDS= ${PYNUMPY} RUN_DEPENDS= ${PYNUMPY} LIB_DEPENDS= libhdf5.so:${PORTSDIR}/science/hdf5-18 USE_PYTHON= yes USE_PYDISTUTILS= yes + PYDISTUTILS_AUTOPLIST= yes +PORTDOCS= README.rst + +OPTIONS_DEFINE= DOCS + post-patch: ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ ${WRKSRC}/setup.py +post-install: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + regression-test: build @cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test Modified: head/science/py-h5py/distinfo ============================================================================== --- head/science/py-h5py/distinfo Wed Nov 13 20:18:22 2013 (r333727) +++ head/science/py-h5py/distinfo Wed Nov 13 21:28:29 2013 (r333728) @@ -1,2 +1,2 @@ -SHA256 (h5py-2.1.1.tar.gz) = 6e4f135268436cda1dc19a081dc5384d431057344fa1121a886016cd8c89c716 -SIZE (h5py-2.1.1.tar.gz) = 984939 +SHA256 (h5py-2.2.0.tar.gz) = 021c63a57a5ae231e3d60333634d1ae0fd4adaede2f918d6a699d38246dbd8a2 +SIZE (h5py-2.2.0.tar.gz) = 975911 Modified: head/science/py-h5py/files/patch-setup.py ============================================================================== --- head/science/py-h5py/files/patch-setup.py Wed Nov 13 20:18:22 2013 (r333727) +++ head/science/py-h5py/files/patch-setup.py Wed Nov 13 21:28:29 2013 (r333728) @@ -1,12 +1,13 @@ ---- ./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'] +--- ./setup.py.orig 2013-09-04 02:32:03.000000000 +0300 ++++ ./setup.py 2013-10-30 23:46:03.668134592 +0200 +@@ -136,8 +136,8 @@ + COMPILER_SETTINGS['include_dirs'] += ['/usr/local/include'] # homebrew + COMPILER_SETTINGS['library_dirs'] += ['/usr/local/lib'] # homebrew + elif sys.platform.startswith('freebsd'): +- COMPILER_SETTINGS['include_dirs'] += ['/usr/local/include'] # homebrew +- COMPILER_SETTINGS['library_dirs'] += ['/usr/local/lib'] # homebrew ++ COMPILER_SETTINGS['include_dirs'] += ['%%LOCALBASE%%/include'] # homebrew ++ COMPILER_SETTINGS['library_dirs'] += ['%%LOCALBASE%%/lib'] # homebrew + if MPI: + COMPILER_SETTINGS['include_dirs'] += [mpi4py.get_include()] COMPILER_SETTINGS['runtime_library_dirs'] = [op.abspath(x) for x in COMPILER_SETTINGS['library_dirs']] - - MODULES = ['defs','_errors','_objects','_proxy', 'h5fd', 'h5z',
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311132128.rADLSUEx002360>