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


class PyPytestFlakes(PythonPackage):
    """py.test plugin for efficiently checking python source with pyflakes."""

    homepage = "https://github.com/asmeurer/pytest-flakes"
    pypi     = "pytest-flakes/pytest-flakes-4.0.2.tar.gz"

    version('4.0.3', sha256='bf070c5485dad82d5b5f5d0eb08d269737e378492d9a68f5223b0a90924c7754')
    version('4.0.2', sha256='6733db47937d9689032876359e5ee0ee6926e3638546c09220e2f86b3581d4c1')

    depends_on('python@3.5:', type=('build', 'run'))
    depends_on('py-setuptools', type='build')
    depends_on('py-pytest@5:', type=('build', 'run'))
    depends_on('py-pyflakes', type=('build', 'run'))