summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pytest-cache/package.py
blob: 6f1192d53beee2863c2c3599fb1f18879ce174ab (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-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 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/"
    pypi = "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'))