2021-08-13 15:34:09 +02:00
|
|
|
PORTNAME= ont-fast5-api
|
|
|
|
DISTVERSIONPREFIX= release_
|
2022-03-25 17:37:29 +01:00
|
|
|
DISTVERSION= 4.0.2
|
2021-08-13 15:34:09 +02:00
|
|
|
CATEGORIES= biology python
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
|
|
|
MAINTAINER= jwb@FreeBSD.org
|
|
|
|
COMMENT= Interface to HDF5 files in Oxford Nanopore .fast5 format
|
2022-09-07 23:06:12 +02:00
|
|
|
WWW= https://pypi.python.org/pypi/ont_fast5_api
|
2021-08-13 15:34:09 +02:00
|
|
|
|
|
|
|
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
|
2022-03-25 17:37:29 +01:00
|
|
|
USE_PYTHON= autoplist concurrent distutils
|
2021-08-13 15:34:09 +02:00
|
|
|
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 <bsd.port.mk>
|