summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pytest-flake8/package.py
blob: 398a6aaa4e45ed8c5136025cb1ed4a676942842b (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
# Copyright 2013-2023 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 PyPytestFlake8(PythonPackage):
    """pytest plugin to check FLAKE8 requirements."""

    homepage = "https://github.com/tholo/pytest-flake8"
    pypi = "pytest-flake8/pytest-flake8-0.8.1.tar.gz"

    license("BSD-2-Clause")

    version("0.8.1", sha256="aa10a6db147485d71dad391d4149388904c3072194d51755f64784ff128845fd")

    depends_on("py-setuptools", type="build")

    # Install requires:
    depends_on("py-flake8@3.0:", type=("build", "run"))
    depends_on("py-pytest@2.8:", type=("build", "run"))