Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Sep 2017 11:10:45 +0000 (UTC)
From:      "Danilo G. Baio" <dbaio@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r449992 - in head/devel: . py-pytest-cov
Message-ID:  <201709171110.v8HBAjJP007064@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dbaio
Date: Sun Sep 17 11:10:45 2017
New Revision: 449992
URL: https://svnweb.freebsd.org/changeset/ports/449992

Log:
  Add devel/py-pytest-cov, pytest plugin for measuring coverage
  
  This plugin produces coverage reports. It supports centralised testing and
  distributed testing in both load and each modes. It also supports coverage of
  subprocesses.
  
  All features offered by the coverage package should be available, either through
  pytest-cov or through coverage's config file.
  
  WWW: https://github.com/pytest-dev/pytest-cov
  
  Reviewed by:	koobs
  Differential Revision:	D12394

Added:
  head/devel/py-pytest-cov/
  head/devel/py-pytest-cov/Makefile   (contents, props changed)
  head/devel/py-pytest-cov/distinfo   (contents, props changed)
  head/devel/py-pytest-cov/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sun Sep 17 11:10:43 2017	(r449991)
+++ head/devel/Makefile	Sun Sep 17 11:10:45 2017	(r449992)
@@ -4710,6 +4710,7 @@
     SUBDIR += py-pytest-asyncio
     SUBDIR += py-pytest-cache
     SUBDIR += py-pytest-capturelog
+    SUBDIR += py-pytest-cov
     SUBDIR += py-pytest-django
     SUBDIR += py-pytest-localserver
     SUBDIR += py-pytest-mock

Added: head/devel/py-pytest-cov/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-pytest-cov/Makefile	Sun Sep 17 11:10:45 2017	(r449992)
@@ -0,0 +1,22 @@
+# $FreeBSD$
+
+PORTNAME=	pytest-cov
+PORTVERSION=	2.5.1
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	dbaio@FreeBSD.org
+COMMENT=	Pytest plugin for measuring coverage
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}coverage>=3.7.1:devel/py-coverage \
+		${PYTHON_PKGNAMEPREFIX}pytest>=2.6.0:devel/py-pytest
+
+NO_ARCH=	yes
+USES=		python
+USE_PYTHON=	autoplist concurrent distutils
+
+.include <bsd.port.mk>

Added: head/devel/py-pytest-cov/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-pytest-cov/distinfo	Sun Sep 17 11:10:45 2017	(r449992)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1505266858
+SHA256 (pytest-cov-2.5.1.tar.gz) = 03aa752cf11db41d281ea1d807d954c4eda35cfa1b21d6971966cc041bbf6e2d
+SIZE (pytest-cov-2.5.1.tar.gz) = 36201

Added: head/devel/py-pytest-cov/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-pytest-cov/pkg-descr	Sun Sep 17 11:10:45 2017	(r449992)
@@ -0,0 +1,8 @@
+This plugin produces coverage reports. It supports centralised testing and
+distributed testing in both load and each modes. It also supports coverage of
+subprocesses.
+
+All features offered by the coverage package should be available, either through
+pytest-cov or through coverage's config file.
+
+WWW: https://github.com/pytest-dev/pytest-cov



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