summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pytest-xdist/package.py
blob: 89746e788a007a97d566f7f933723e20d70d327f (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
25
26
27
28
29
30
# Copyright 2013-2019 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 import *


class PyPytestXdist(PythonPackage):
    """py.test xdist plugin for distributed testing and loop-on-failing mode"""

    homepage = "https://github.com/pytest-dev/pytest-xdist"
    url      = "https://pypi.io/packages/source/p/pytest-xdist/pytest-xdist-1.30.0.tar.gz"

    version('1.30.0', sha256='5d1b1d4461518a6023d56dab62fb63670d6f7537f23e2708459a557329accf48')
    version('1.29.0', sha256='3489d91516d7847db5eaecff7a2e623dba68984835dbe6cedb05ae126c4fb17f')
    version('1.27.0', sha256='a96ed691705882560fa3fc95531fbd4c224896c827f4004817eb2dcac4ba41a2')
    version('1.24.0', sha256='8e188d13ce6614c7a678179a76f46231199ffdfe6163de031c17e62ffa256917')
    version('1.17.0', sha256='e7e48c111677af23078b1ed23501e493e12c4b6d91657f6884a64e4ce0f14144')
    version('1.16.0', sha256='42e5a1e5da9d7cff3e74b07f8692598382f95624f234ff7e00a3b1237e0feba2')

    depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
    depends_on('py-setuptools',    type='build')
    depends_on('py-execnet@1.1:',  type=('build', 'run'))
    depends_on('py-pytest@4.4.0:', type=('build', 'run'), when='@1.28.0:')
    depends_on('py-pytest@3.6.0:', type=('build', 'run'), when='@1.25.0:1.27.0')
    depends_on('py-pytest@3.0.0:', type=('build', 'run'), when='@1.18.0:1.24.0')
    depends_on('py-pytest@2.7.0:', type=('build', 'run'), when='@1.16.0:1.17.0')
    depends_on('py-pytest-forked', type=('build', 'run'), when='@1.19.0:')
    depends_on('py-six', type=('build', 'run'), when='@1.23.0:')