science/py-h5py: update to 2.2.1

- Update to 2.2.1
- Add EXAMPLES

PR:		ports/184746
Submitted by:	maintainer
This commit is contained in:
William Grzybowski 2013-12-13 19:59:42 +00:00
parent 5c12140d66
commit 8fac3afe60
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=336372
2 changed files with 8 additions and 4 deletions

View file

@ -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

View file

@ -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