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

    license("MIT")

    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"))