summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pytest-pep8/package.py
blob: 841c2ef8ff6c9d93280a1ba136374d47134660c9 (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-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 PyPytestPep8(PythonPackage):
    """pytest plugin for efficiently checking PEP8 compliance"""

    homepage = "https://bitbucket.org/pytest-dev/pytest-pep8"
    url      = "https://pypi.io/packages/source/p/pytest-pep8/pytest-pep8-1.0.6.tar.gz"

    import_modules = ['pytest_pep8']

    version('1.0.6', sha256='032ef7e5fa3ac30f4458c73e05bb67b0f036a8a5cb418a534b3170f89f120318')

    depends_on('py-setuptools', type='build')
    depends_on('py-pytest-cache', type=('build', 'run'))
    depends_on('py-pytest@2.4.2:', type=('build', 'run'))
    depends_on('py-pep8@1.3:', type=('build', 'run'))