added package py-pytest-flakes (#21337)

This commit is contained in:
bryanherman 2021-01-27 15:38:30 -05:00 committed by GitHub
parent 52c32047ad
commit 68a144eaa3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,22 @@
# Copyright 2013-2021 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 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'))