blob: ea5d333722ebac5341aaab88718a9dac0aa26cb6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
PORTNAME= ont-fast5-api
DISTVERSIONPREFIX= release_
DISTVERSION= 4.0.2
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 <bsd.port.mk>
|