1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

science/py-h5py: Upgrade to 2.3.0

- Update to 2.3.0
- Remove BROKEN mark

Approved by:	swills (mentor)
This commit is contained in:
Johannes Jost Meixner 2014-06-09 05:07:54 +00:00
parent 3331e59124
commit 22f32ce577
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357104
3 changed files with 10 additions and 25 deletions

View File

@ -2,10 +2,8 @@
# $FreeBSD$
PORTNAME= h5py
PORTVERSION= 2.2.1
PORTREVISION= 2
PORTVERSION= 2.3.0
CATEGORIES= science python
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= xmj@chaot.net
@ -13,12 +11,16 @@ COMMENT= General-purpose Python interface to the HDF5 library
LICENSE= BSD
BROKEN= Does not build
BUILD_DEPENDS= ${PYNUMPY}
BUILD_DEPENDS= ${PYNUMPY} \
cython:${PORTSDIR}/lang/cython
RUN_DEPENDS= ${PYNUMPY}
LIB_DEPENDS= libhdf5.so:${PORTSDIR}/science/hdf5
USE_GITHUB= yes
GH_ACCOUNT= h5py
GH_COMMIT= c8c63eb
GH_TAGNAME= ${GH_COMMIT}
USE_PYTHON= yes
USE_PYDISTUTILS= yes
@ -30,10 +32,6 @@ PORTEXAMPLES= multiprocessing_example.py \
OPTIONS_DEFINE= DOCS EXAMPLES
post-patch:
${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
${WRKSRC}/setup.py
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}

View File

@ -1,2 +1,2 @@
SHA256 (h5py-2.2.1.tar.gz) = b4510cb74aef332847dc88e3df6910d7af68c709b3556fc960a687c56ba6a4cb
SIZE (h5py-2.2.1.tar.gz) = 978796
SHA256 (h5py-2.3.0.tar.gz) = 1f3e236487213564d8654c6a83a2c75770028f5e79b3752e1ad703fdeab8c802
SIZE (h5py-2.3.0.tar.gz) = 219342

View File

@ -1,13 +0,0 @@
--- ./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']]