2017-11-29 22:17:43 +00:00
|
|
|
PORTNAME= cutadapt
|
2021-03-06 17:55:38 +00:00
|
|
|
DISTVERSION= 3.3
|
2021-05-04 13:20:39 +00:00
|
|
|
PORTREVISION= 1
|
2017-11-29 22:17:43 +00:00
|
|
|
CATEGORIES= biology python
|
|
|
|
MASTER_SITES= CHEESESHOP
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
|
|
|
MAINTAINER= jwb@FreeBSD.org
|
2018-09-20 14:10:52 +00:00
|
|
|
COMMENT= Trim adapters from high-throughput sequencing reads
|
2017-11-29 22:17:43 +00:00
|
|
|
|
|
|
|
LICENSE= MIT
|
2018-09-20 14:10:52 +00:00
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
2017-11-29 22:17:43 +00:00
|
|
|
|
2019-03-24 21:20:24 +00:00
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR}
|
2021-03-06 21:18:14 +00:00
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xopen==1.1:archivers/py-xopen@${PY_FLAVOR} \
|
2021-05-04 13:20:39 +00:00
|
|
|
${PYTHON_PKGNAMEPREFIX}dnaio==0.5.1:biology/py-dnaio@${PY_FLAVOR}
|
2019-03-24 21:20:24 +00:00
|
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
|
2022-04-06 23:20:09 +00:00
|
|
|
${PYTHON_PKGNAMEPREFIX}pytest-timeout>0:devel/py-pytest-timeout@${PY_FLAVOR} \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}pytest-mock>0:devel/py-pytest-mock@${PY_FLAVOR}
|
2017-11-29 22:17:43 +00:00
|
|
|
|
2021-02-02 20:39:09 +00:00
|
|
|
USES= python:3.6+
|
2019-03-24 21:20:24 +00:00
|
|
|
USE_PYTHON= autoplist concurrent cython distutils
|
2017-11-29 22:17:43 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/cutadapt/*.so
|
|
|
|
|
2019-03-24 21:20:24 +00:00
|
|
|
do-test:
|
|
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest
|
|
|
|
|
2017-11-29 22:17:43 +00:00
|
|
|
.include <bsd.port.mk>
|