summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pytest-cache/package.py
blob: a98920c7f1b27a449d298bad125cf6dcec0d6214 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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 PyPytestCache(PythonPackage):
    """pytest plugin to provide cross-test run caching functionality to
    plugins and test runs.
    """

    homepage = "https://bitbucket.org/hpk42/pytest-cache/src/default/"
    url      = "https://pypi.io/packages/source/p/pytest-cache/pytest-cache-1.0.tar.gz"

    version('1.0', sha256='be7468edd4d3d83f1e844959fd6e3fd28e77a481440a7118d430130ea31b07a9')

    depends_on('py-setuptools', type='build')
    depends_on('py-pytest@2.2:', type=('build', 'run'))
    depends_on('py-execnet@1.2:', type=('build', 'run'))