summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2017-08-21 15:10:48 +0000
committeradam <adam@pkgsrc.org>2017-08-21 15:10:48 +0000
commitbf842412ac983b8487add4eccb15136db742cefb (patch)
tree56e3a596e120edeb37a24227112bac494a146b5f /devel
parent12c3a8c63eb65273e6c61a289fafa46809ef7e4a (diff)
downloadpkgsrc-bf842412ac983b8487add4eccb15136db742cefb.tar.gz
The plugin provides two options to rerun failures, namely --lf to only re-run
the failures and --ff to run all tests but the failures from the last run first. For cleanup (usually not needed), a --clearcache option allows to remove all cross-session cache contents ahead of a test run.
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile3
-rw-r--r--devel/py-test-cache/DESCR4
-rw-r--r--devel/py-test-cache/Makefile19
-rw-r--r--devel/py-test-cache/PLIST10
-rw-r--r--devel/py-test-cache/distinfo6
5 files changed, 41 insertions, 1 deletions
diff --git a/devel/Makefile b/devel/Makefile
index edf5d777db9..9ad0a326795 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2487 2017/08/21 13:27:22 nils Exp $
+# $NetBSD: Makefile,v 1.2488 2017/08/21 15:10:48 adam Exp $
#
COMMENT= Development utilities
@@ -2081,6 +2081,7 @@ SUBDIR+= py-subvertpy
SUBDIR+= py-sysctl
SUBDIR+= py-tabular
SUBDIR+= py-test
+SUBDIR+= py-test-cache
SUBDIR+= py-test-cov
SUBDIR+= py-test-forked
SUBDIR+= py-test-mock
diff --git a/devel/py-test-cache/DESCR b/devel/py-test-cache/DESCR
new file mode 100644
index 00000000000..aeb6b1885e9
--- /dev/null
+++ b/devel/py-test-cache/DESCR
@@ -0,0 +1,4 @@
+The plugin provides two options to rerun failures, namely --lf to only re-run
+the failures and --ff to run all tests but the failures from the last run
+first. For cleanup (usually not needed), a --clearcache option allows to
+remove all cross-session cache contents ahead of a test run.
diff --git a/devel/py-test-cache/Makefile b/devel/py-test-cache/Makefile
new file mode 100644
index 00000000000..7eb4f79ee90
--- /dev/null
+++ b/devel/py-test-cache/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2017/08/21 15:10:48 adam Exp $
+
+DISTNAME= pytest-cache-1.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
+CATEGORIES= devel python
+MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-cache/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://bitbucket.org/hpk42/pytest-cache/
+COMMENT= Pytest plugin with mechanisms for caching across test runs
+LICENSE= mit
+
+DEPENDS+= ${PYPKGPREFIX}-execnet>=1.2:../../devel/py-execnet
+DEPENDS+= ${PYPKGPREFIX}-test>=2.2:../../devel/py-test
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/py-test-cache/PLIST b/devel/py-test-cache/PLIST
new file mode 100644
index 00000000000..2e81bd9d92a
--- /dev/null
+++ b/devel/py-test-cache/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1 2017/08/21 15:10:48 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/pytest_cache.py
+${PYSITELIB}/pytest_cache.pyc
+${PYSITELIB}/pytest_cache.pyo
diff --git a/devel/py-test-cache/distinfo b/devel/py-test-cache/distinfo
new file mode 100644
index 00000000000..4017069d4c5
--- /dev/null
+++ b/devel/py-test-cache/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/08/21 15:10:48 adam Exp $
+
+SHA1 (pytest-cache-1.0.tar.gz) = 94d0a6512b888a3f36b2ae5748ceb789ddee5681
+RMD160 (pytest-cache-1.0.tar.gz) = 1b3714383bd9725166a324680215c7cf89cb58b4
+SHA512 (pytest-cache-1.0.tar.gz) = 55eb66718a45fb0ad8931780d96fa4715cf0d9f2568be2a1b08b3399d391b818a7ae8b2afeb74b50aaf8ec8f7f0d8da8e7a7483845a50e884822ca6ddbca03ea
+Size (pytest-cache-1.0.tar.gz) = 16242 bytes