PORTNAME= ont-fast5-api DISTVERSIONPREFIX= release_ DISTVERSION= 4.0.2 PORTREVISION= 1 CATEGORIES= biology python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= jwb@FreeBSD.org COMMENT= Interface to HDF5 files in Oxford Nanopore .fast5 format WWW= https://pypi.python.org/pypi/ont_fast5_api LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/LICENSE.md LIB_DEPENDS= libvbz_hdf_plugin.so:archivers/vbz-compression RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}h5py>=2.2.0:science/py-h5py@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}progressbar>0:misc/py-progressbar@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pip>=0:devel/py-pip@${PY_FLAVOR} USES= python USE_PYTHON= autoplist concurrent distutils USE_GITHUB= yes GH_ACCOUNT= nanoporetech GH_PROJECT= ont_fast5_api NO_ARCH= yes NO_BUILD= yes post-patch: ${RM} ${WRKSRC}/ont_fast5_api/vbz_plugin/* pre-configure: @${REINPLACE_CMD} -e 's|progressbar33|progressbar|g' \ ${WRKSRC}/setup.py \ ${WRKSRC}/README.rst \ ${WRKSRC}/ont_fast5_api/conversion_tools/conversion_utils.py do-test: @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test .include