Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Mar 2019 21:20:24 +0000 (UTC)
From:      "Jason W. Bacon" <jwb@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r496783 - head/biology/py-cutadapt
Message-ID:  <201903242120.x2OLKOCd089970@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jwb
Date: Sun Mar 24 21:20:24 2019
New Revision: 496783
URL: https://svnweb.freebsd.org/changeset/ports/496783

Log:
  biology/py-cutadapt: Upgrade to 2.1
  
  Add do-test target

Modified:
  head/biology/py-cutadapt/Makefile
  head/biology/py-cutadapt/distinfo

Modified: head/biology/py-cutadapt/Makefile
==============================================================================
--- head/biology/py-cutadapt/Makefile	Sun Mar 24 20:53:48 2019	(r496782)
+++ head/biology/py-cutadapt/Makefile	Sun Mar 24 21:20:24 2019	(r496783)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	cutadapt
-PORTVERSION=	1.18
+DISTVERSION=	2.1
 CATEGORIES=	biology python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,13 +12,19 @@ COMMENT=	Trim adapters from high-throughput sequencing
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}xopen>=0.3.2:archivers/py-xopen@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}bz2file>=0.98:archivers/py-bz2file@${PY_FLAVOR}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}xopen>=0.5.0:archivers/py-xopen@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}dnaio>=0.3: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.4+
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent cython distutils
 
 post-install:
 	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/cutadapt/*.so
+
+do-test:
+	@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest
 
 .include <bsd.port.mk>

Modified: head/biology/py-cutadapt/distinfo
==============================================================================
--- head/biology/py-cutadapt/distinfo	Sun Mar 24 20:53:48 2019	(r496782)
+++ head/biology/py-cutadapt/distinfo	Sun Mar 24 21:20:24 2019	(r496783)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1536508727
-SHA256 (cutadapt-1.18.tar.gz) = 17aabf9b19d09a426d96030a83ad003c97b26dba9d45bf5570d33088fcd533f9
-SIZE (cutadapt-1.18.tar.gz) = 342050
+TIMESTAMP = 1553346146
+SHA256 (cutadapt-2.1.tar.gz) = 09fd222a27cc1eeb571633f2bd54442ea9d4ff668ef1f475fd9d5253a7d315ef
+SIZE (cutadapt-2.1.tar.gz) = 264993



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903242120.x2OLKOCd089970>