Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Oct 2013 12:11:23 +0200 (EET)
From:      Johannes Jost Meixner <xmj@chaot.net>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        fmysh@iijmio-mail.jp
Subject:   ports/183519: [UPDATE] science/py-h5py: update to 2.2.0
Message-ID:  <748625108.enqueue@mx12.chaot.net>
Resent-Message-ID: <201310311020.r9VAK12H007967@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         183519
>Category:       ports
>Synopsis:       [UPDATE] science/py-h5py: update to 2.2.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 31 10:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Johannes Jost Meixner
>Release:        FreeBSD 11.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD mx12.chaot.net 11.0-CURRENT FreeBSD 11.0-CURRENT #8: Sun Oct 13 11:56:41 EEST 2013
>Description:
- Update to 2.2.0
- Add LICENSE
- Add DOCS option

Port maintainer (fmysh@iijmio-mail.jp) is cc'd.

Generated with FreeBSD Port Tools 0.99_8 (mode: update, diff: ports)
>How-To-Repeat:
>Fix:

--- py27-h5py-2.2.0.patch begins here ---
diff -ruN /usr/ports/science/py-h5py/Makefile ./Makefile
--- /usr/ports/science/py-h5py/Makefile	2013-10-30 23:34:16.000000000 +0200
+++ ./Makefile	2013-10-31 12:06:02.666514441 +0200
@@ -1,8 +1,8 @@
 # Created by: TAOKA Fumiyoshi
-# $FreeBSD: science/py-h5py/Makefile 332177 2013-10-30 21:34:16Z nemysis $
+# $FreeBSD$
 
 PORTNAME=	h5py
-PORTVERSION=	2.1.1
+PORTVERSION=	2.2.0
 CATEGORIES=	science python
 MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -10,18 +10,30 @@
 MAINTAINER=	fmysh@iijmio-mail.jp
 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
+OPTIONSFILE?=	${PORT_DBDIR}/py-${PORTNAME}/options
+
 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
 
diff -ruN /usr/ports/science/py-h5py/distinfo ./distinfo
--- /usr/ports/science/py-h5py/distinfo	2013-10-30 23:34:16.000000000 +0200
+++ ./distinfo	2013-10-31 00:11:48.368101929 +0200
@@ -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
diff -ruN /usr/ports/science/py-h5py/files/patch-setup.py ./files/patch-setup.py
--- /usr/ports/science/py-h5py/files/patch-setup.py	2013-10-30 23:34:16.000000000 +0200
+++ ./files/patch-setup.py	2013-10-31 00:11:48.368101929 +0200
@@ -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',
--- py27-h5py-2.2.0.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?748625108.enqueue>