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