summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pytest-qt/package.py
blob: 04f578f040e7c378e9c10545c3971ca0b3b0029e (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 import *


class PyPytestQt(PythonPackage):
    """A pytest plugin that allows programmers to write tests for
       PySide, PySide2 and PyQt applications."""

    homepage = "https://github.com/pytest-dev/pytest-qt"
    pypi     = "pytest-qt/pytest-qt-3.3.0.tar.gz"

    version('3.3.0', sha256='714b0bf86c5313413f2d300ac613515db3a1aef595051ab8ba2ffe619dbe8925')

    depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
    depends_on('py-setuptools', type='build')
    depends_on('py-setuptools-scm', type='build')
    depends_on('py-pytest@3:', type=('build', 'run'))