svn commit: r462889 - in head/science/py-h5py: . files
Yuri Victorovich
yuri at FreeBSD.org
Sun Feb 25 01:24:20 UTC 2018
Author: yuri
Date: Sun Feb 25 01:24:18 2018
New Revision: 462889
URL: https://svnweb.freebsd.org/changeset/ports/462889
Log:
science/py-h5py: Update to 2.7.1
Additional port changes:
* Changed to DISTVERSION
* Grouped USExx
* Added USE_PYTHON=concurrent (for docs, examples)
* Removed patching (in post-patch and files/)
* Added stripping
* Updated WWW
Approved by: tcberner (mentor, implicit)
Deleted:
head/science/py-h5py/files/
Modified:
head/science/py-h5py/Makefile
head/science/py-h5py/distinfo
head/science/py-h5py/pkg-descr
Modified: head/science/py-h5py/Makefile
==============================================================================
--- head/science/py-h5py/Makefile Sun Feb 25 00:53:01 2018 (r462888)
+++ head/science/py-h5py/Makefile Sun Feb 25 01:24:18 2018 (r462889)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= h5py
-PORTVERSION= 2.7.0
+DISTVERSION= 2.7.1
CATEGORIES= science python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -19,20 +19,16 @@ LIB_DEPENDS= libhdf5.so:science/hdf5
RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${FLAVOR}
+USES= python
USE_GITHUB= yes
+USE_PYTHON= distutils cython autoplist concurrent
-USES= python
-USE_PYTHON= autoplist distutils cython
-
PORTDOCS= *
PORTEXAMPLES= multiprocessing_example.py swmr_multiprocess.py \
swmr_inotify_example.py threading_example.py
OPTIONS_DEFINE= DOCS EXAMPLES
-post-patch:
- ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/setup_build.py
-
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.rst ${STAGEDIR}${DOCSDIR}
@@ -42,7 +38,10 @@ do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/examples/|} ${STAGEDIR}${EXAMPLESDIR}
+post-install:
+ @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/h5py/*.so
+
do-test:
- cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
+ @cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
.include <bsd.port.mk>
Modified: head/science/py-h5py/distinfo
==============================================================================
--- head/science/py-h5py/distinfo Sun Feb 25 00:53:01 2018 (r462888)
+++ head/science/py-h5py/distinfo Sun Feb 25 01:24:18 2018 (r462889)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1496507199
-SHA256 (h5py-h5py-2.7.0_GH0.tar.gz) = fff3a878c6adfa1b4f5c30b558a295d52dd4fee9174128c626ef416dec1b536b
-SIZE (h5py-h5py-2.7.0_GH0.tar.gz) = 265122
+TIMESTAMP = 1519520436
+SHA256 (h5py-h5py-2.7.1_GH0.tar.gz) = 55bdefda47c49973ec24384097d18eb5f84797c057aaf0bf0b6b0f7860ad43e7
+SIZE (h5py-h5py-2.7.1_GH0.tar.gz) = 268457
Modified: head/science/py-h5py/pkg-descr
==============================================================================
--- head/science/py-h5py/pkg-descr Sun Feb 25 00:53:01 2018 (r462888)
+++ head/science/py-h5py/pkg-descr Sun Feb 25 01:24:18 2018 (r462889)
@@ -9,4 +9,4 @@ to the existing HDF5 API and abstractions, so that Pyt
easily deal with HDF5 files and exchange data with other HDF5-aware
applications.
-WWW: http://h5py.alfven.org
+WWW: https://www.h5py.org
More information about the svn-ports-head
mailing list