Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Dec 2015 20:19:10 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r403555 - head/science/py-h5py
Message-ID:  <201512112019.tBBKJADu089781@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Fri Dec 11 20:19:10 2015
New Revision: 403555
URL: https://svnweb.freebsd.org/changeset/ports/403555

Log:
  - Update to 2.5.0
  - Switch to options helper
  - Switch to do-test
  
  PR:		205137
  Submitted by:	maintainer
  Approved by:	mat (mentor)
  Differential Revision:	D4507

Modified:
  head/science/py-h5py/Makefile
  head/science/py-h5py/distinfo

Modified: head/science/py-h5py/Makefile
==============================================================================
--- head/science/py-h5py/Makefile	Fri Dec 11 19:59:16 2015	(r403554)
+++ head/science/py-h5py/Makefile	Fri Dec 11 20:19:10 2015	(r403555)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	h5py
-PORTVERSION=	2.4.0
-PORTREVISION=	2
+PORTVERSION=	2.5.0
 CATEGORIES=	science python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -14,28 +13,34 @@ LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/licenses/license.txt
 
 BUILD_DEPENDS=	${PYNUMPY} \
-		cython:${PORTSDIR}/lang/cython
-RUN_DEPENDS=	${PYNUMPY}
+		cython:${PORTSDIR}/lang/cython \
+		${PYTHON_PKGNAMEPREFIX}six>0:${PORTSDIR}/devel/py-six \
+		${PYTHON_PKGNAMEPREFIX}pkgconfig>0:${PORTSDIR}/devel/py-pkgconfig
 LIB_DEPENDS=	libhdf5.so:${PORTSDIR}/science/hdf5
+RUN_DEPENDS=	${PYNUMPY} \
+		${PYTHON_PKGNAMEPREFIX}six>0:${PORTSDIR}/devel/py-six
 
 USE_GITHUB=	yes
 
 USES=		python
 USE_PYTHON=	autoplist distutils
+NO_ARCH=	yes
 
-PORTDOCS=	README.rst
-PORTEXAMPLES=	multiprocessing_example.py \
-		threading_example.py
+PORTDOCS=	*
+PORTEXAMPLES=	multiprocessing_example.py swmr_multiprocess.py \
+		swmr_inotify_example.py  threading_example.py
 
 OPTIONS_DEFINE=	DOCS EXAMPLES
 
-post-install:
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README.rst ${STAGEDIR}${DOCSDIR}
+	@(cd ${WRKSRC}/docs) && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
+do-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/examples/|} ${STAGEDIR}${EXAMPLESDIR}
 
-regression-test: build
+do-test:
 	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
 
 .include <bsd.port.mk>

Modified: head/science/py-h5py/distinfo
==============================================================================
--- head/science/py-h5py/distinfo	Fri Dec 11 19:59:16 2015	(r403554)
+++ head/science/py-h5py/distinfo	Fri Dec 11 20:19:10 2015	(r403555)
@@ -1,2 +1,2 @@
-SHA256 (h5py-h5py-2.4.0_GH0.tar.gz) = 953b638ec32e705d0fb885f994016700e947f260532f3313494403b7cf9607db
-SIZE (h5py-h5py-2.4.0_GH0.tar.gz) = 225363
+SHA256 (h5py-h5py-2.5.0_GH0.tar.gz) = ec526191b9bbf7a937b7cdf1ea60984f50d889b45900d9a704bb35c93ece65df
+SIZE (h5py-h5py-2.5.0_GH0.tar.gz) = 237107



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