aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2013-12-14 03:59:42 +0800
committerwg <wg@FreeBSD.org>2013-12-14 03:59:42 +0800
commitd5faf17eb0506ee8dd771af257b01d63fe73b336 (patch)
treee7f415d67b990d305f1f6385ebadb5af3de9156f /science
parent18c0b33fbeabedaac7b21251e815e00d0a57c7ea (diff)
downloadfreebsd-ports-gnome-d5faf17eb0506ee8dd771af257b01d63fe73b336.tar.gz
freebsd-ports-gnome-d5faf17eb0506ee8dd771af257b01d63fe73b336.tar.zst
freebsd-ports-gnome-d5faf17eb0506ee8dd771af257b01d63fe73b336.zip
science/py-h5py: update to 2.2.1
- Update to 2.2.1 - Add EXAMPLES PR: ports/184746 Submitted by: maintainer
Diffstat (limited to 'science')
-rw-r--r--science/py-h5py/Makefile8
-rw-r--r--science/py-h5py/distinfo4
2 files changed, 8 insertions, 4 deletions
diff --git a/science/py-h5py/Makefile b/science/py-h5py/Makefile
index d6881c5de55b..351064ebc76c 100644
--- a/science/py-h5py/Makefile
+++ b/science/py-h5py/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= h5py
-PORTVERSION= 2.2.0
+PORTVERSION= 2.2.1
CATEGORIES= science python
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -22,8 +22,10 @@ USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
PORTDOCS= README.rst
+PORTEXAMPLES= multiprocessing_example.py \
+ threading_example.py
-OPTIONS_DEFINE= DOCS
+OPTIONS_DEFINE= DOCS EXAMPLES
post-patch:
${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
@@ -32,6 +34,8 @@ post-patch:
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/examples/|} ${STAGEDIR}${EXAMPLESDIR}
regression-test: build
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
diff --git a/science/py-h5py/distinfo b/science/py-h5py/distinfo
index 38b6f8b18d03..a5227215a1c3 100644
--- a/science/py-h5py/distinfo
+++ b/science/py-h5py/distinfo
@@ -1,2 +1,2 @@
-SHA256 (h5py-2.2.0.tar.gz) = 021c63a57a5ae231e3d60333634d1ae0fd4adaede2f918d6a699d38246dbd8a2
-SIZE (h5py-2.2.0.tar.gz) = 975911
+SHA256 (h5py-2.2.1.tar.gz) = b4510cb74aef332847dc88e3df6910d7af68c709b3556fc960a687c56ba6a4cb
+SIZE (h5py-2.2.1.tar.gz) = 978796