diff options
author | Mihael Hategan <hategan@mcs.anl.gov> | 2021-10-02 03:38:09 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-02 12:38:09 +0200 |
commit | b3d3ce1c3777a33c450cf1b06c52295ff7e86140 (patch) | |
tree | 58f7913d01b3aa1f0018a82b09096f72fe39f63c | |
parent | d9f25f223f192ee9f01db30ff3ca23fa45579273 (diff) | |
download | spack-b3d3ce1c3777a33c450cf1b06c52295ff7e86140.tar.gz spack-b3d3ce1c3777a33c450cf1b06c52295ff7e86140.tar.bz2 spack-b3d3ce1c3777a33c450cf1b06c52295ff7e86140.tar.xz spack-b3d3ce1c3777a33c450cf1b06c52295ff7e86140.zip |
py-pytest-random-order: new package - plugin for py-pytest. (#26413)
-rw-r--r-- | var/spack/repos/builtin/packages/py-pytest-random-order/package.py | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pytest-random-order/package.py b/var/spack/repos/builtin/packages/py-pytest-random-order/package.py new file mode 100644 index 0000000000..a182b89c05 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-pytest-random-order/package.py @@ -0,0 +1,24 @@ +# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + + +class PyPytestRandomOrder(PythonPackage): + """ + Randomise the order in which pytest tests are run. + """ + + homepage = "https://github.com/jbasko/pytest-random-order" + pypi = "pytest-random-order/pytest-random-order-1.0.4.tar.gz" + + version('1.0.4', sha256='6b2159342a4c8c10855bc4fc6d65ee890fc614cb2b4ff688979b008a82a0ff52') + + depends_on('python@3.4:', type=('build', 'run')) + depends_on('py-setuptools', type='build') + depends_on('py-pytest@3.0.0:', type=('build', 'test', 'run')) + depends_on('py-coverage', type=('test', 'run')) + depends_on('py-pytest-xdist', type=('test', 'run')) + depends_on('py-sphinx', type=('test', 'run')) + depends_on('py-tox', type=('test', 'run')) + depends_on('py-py', type=('test', 'run')) |