summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pytest-random-order/package.py
blob: d76696d07b29e01a98623bf20f3aeabde64bc4e7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Copyright 2013-2022 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)


from spack.package import *


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.5:', type=('build', 'run'))
    depends_on('py-setuptools', type='build')
    depends_on('py-pytest@3.0.0:', type=('build', 'test', 'run'))