pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Jan 29 21:43:02 UTC 2020

Modified Files:
        pkgsrc/devel: Makefile
Added Files:
        pkgsrc/devel/py-test-random-order: DESCR Makefile PLIST distinfo

Log Message:
py-test-random-order: added version 1.0.4

pytest-random-order is a pytest plugin that randomises the order of tests. This
can be useful to detect a test that passes just because it happens to run after
an unrelated test that leaves the system in a favourable state.

The plugin allows user to control the level of randomness they want to
introduce and to disable reordering on subsets of tests. Tests can be rerun in
a specific order by passing a seed value reported in a previous test run.


To generate a diff of this commit:
cvs rdiff -u -r1.3038 -r1.3039 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-test-random-order/DESCR \
    pkgsrc/devel/py-test-random-order/Makefile \
    pkgsrc/devel/py-test-random-order/PLIST \
    pkgsrc/devel/py-test-random-order/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/Makefile
diff -u pkgsrc/devel/Makefile:1.3038 pkgsrc/devel/Makefile:1.3039
--- pkgsrc/devel/Makefile:1.3038        Tue Jan 28 13:27:18 2020
+++ pkgsrc/devel/Makefile       Wed Jan 29 21:43:02 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3038 2020/01/28 13:27:18 nia Exp $
+# $NetBSD: Makefile,v 1.3039 2020/01/29 21:43:02 adam Exp $
 #
 
 COMMENT=       Development utilities
@@ -2482,6 +2482,7 @@ SUBDIR+=  py-test-localserver
 SUBDIR+=       py-test-mock
 SUBDIR+=       py-test-pylint
 SUBDIR+=       py-test-pythonpath
+SUBDIR+=       py-test-random-order
 SUBDIR+=       py-test-randomly
 SUBDIR+=       py-test-relaxed
 SUBDIR+=       py-test-rerunfailures

Added files:

Index: pkgsrc/devel/py-test-random-order/DESCR
diff -u /dev/null pkgsrc/devel/py-test-random-order/DESCR:1.1
--- /dev/null   Wed Jan 29 21:43:02 2020
+++ pkgsrc/devel/py-test-random-order/DESCR     Wed Jan 29 21:43:02 2020
@@ -0,0 +1,7 @@
+pytest-random-order is a pytest plugin that randomises the order of tests. This
+can be useful to detect a test that passes just because it happens to run after
+an unrelated test that leaves the system in a favourable state.
+
+The plugin allows user to control the level of randomness they want to
+introduce and to disable reordering on subsets of tests. Tests can be rerun in
+a specific order by passing a seed value reported in a previous test run.
Index: pkgsrc/devel/py-test-random-order/Makefile
diff -u /dev/null pkgsrc/devel/py-test-random-order/Makefile:1.1
--- /dev/null   Wed Jan 29 21:43:02 2020
+++ pkgsrc/devel/py-test-random-order/Makefile  Wed Jan 29 21:43:02 2020
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2020/01/29 21:43:02 adam Exp $
+
+DISTNAME=      pytest-random-order-1.0.4
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/^py//}
+CATEGORIES=    devel python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pytest-random-order/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/jbasko/pytest-random-order
+COMMENT=       Randomise the order in which pytest tests are run
+LICENSE=       mit
+
+DEPENDS+=      ${PYPKGPREFIX}-test>=3.0.0:../../devel/py-test
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-test-random-order/PLIST
diff -u /dev/null pkgsrc/devel/py-test-random-order/PLIST:1.1
--- /dev/null   Wed Jan 29 21:43:02 2020
+++ pkgsrc/devel/py-test-random-order/PLIST     Wed Jan 29 21:43:02 2020
@@ -0,0 +1,25 @@
+@comment $NetBSD: PLIST,v 1.1 2020/01/29 21:43:02 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}/random_order/__init__.py
+${PYSITELIB}/random_order/__init__.pyc
+${PYSITELIB}/random_order/__init__.pyo
+${PYSITELIB}/random_order/bucket_types.py
+${PYSITELIB}/random_order/bucket_types.pyc
+${PYSITELIB}/random_order/bucket_types.pyo
+${PYSITELIB}/random_order/cache.py
+${PYSITELIB}/random_order/cache.pyc
+${PYSITELIB}/random_order/cache.pyo
+${PYSITELIB}/random_order/config.py
+${PYSITELIB}/random_order/config.pyc
+${PYSITELIB}/random_order/config.pyo
+${PYSITELIB}/random_order/plugin.py
+${PYSITELIB}/random_order/plugin.pyc
+${PYSITELIB}/random_order/plugin.pyo
+${PYSITELIB}/random_order/shuffler.py
+${PYSITELIB}/random_order/shuffler.pyc
+${PYSITELIB}/random_order/shuffler.pyo
Index: pkgsrc/devel/py-test-random-order/distinfo
diff -u /dev/null pkgsrc/devel/py-test-random-order/distinfo:1.1
--- /dev/null   Wed Jan 29 21:43:02 2020
+++ pkgsrc/devel/py-test-random-order/distinfo  Wed Jan 29 21:43:02 2020
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/01/29 21:43:02 adam Exp $
+
+SHA1 (pytest-random-order-1.0.4.tar.gz) = 2210e86ad78ef333da45dc25c622dfe3cfab5bba
+RMD160 (pytest-random-order-1.0.4.tar.gz) = 02e9bbad6a7bbb31adf090dc26b607ddcf3f18f5
+SHA512 (pytest-random-order-1.0.4.tar.gz) = d9d83fe51d9b7727ef50e69eeea0041c81cebcbec73fac201ec817de8ab77cb5d043954f94efda75571a0168a227f78c1f3a4a0c380a53d3180fc7f60fd8850c
+Size (pytest-random-order-1.0.4.tar.gz) = 18045 bytes



Home | Main Index | Thread Index | Old Index