diff --git a/var/spack/repos/builtin/packages/py-pytest-flakes/package.py b/var/spack/repos/builtin/packages/py-pytest-flakes/package.py new file mode 100644 index 0000000000..47bfb13ebd --- /dev/null +++ b/var/spack/repos/builtin/packages/py-pytest-flakes/package.py @@ -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'))