# $FreeBSD: head/biology/py-cutadapt/Makefile 567519 2021-03-06 21:18:14Z antoine $ PORTNAME= cutadapt DISTVERSION= 3.3 CATEGORIES= biology python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= jwb@FreeBSD.org COMMENT= Trim adapters from high-throughput sequencing reads LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xopen==1.1:archivers/py-xopen@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dnaio==0.5:biology/py-dnaio@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-timeout>0:devel/py-pytest-timeout@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist concurrent cython distutils post-install: @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/cutadapt/*.so do-test: @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest .include