summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pyflakes/package.py
blob: 6f962ae4dfec841c5e2e19e5dc5acc216ce3e30b (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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
##############################################################################
# Copyright (c) 2013-2017, Lawrence Livermore National Security, LLC.
# Produced at the Lawrence Livermore National Laboratory.
#
# This file is part of Spack.
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
# LLNL-CODE-647188
#
# For details, see https://github.com/spack/spack
# Please also see the NOTICE and LICENSE files for our notice and the LGPL.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License (as
# published by the Free Software Foundation) version 2.1, February 1999.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
# conditions of the GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
##############################################################################
from spack import *


class PyPyflakes(PythonPackage):
    """A simple program which checks Python source files for errors."""

    homepage = "https://github.com/PyCQA/pyflakes"
    url      = "https://github.com/PyCQA/pyflakes/archive/1.3.0.tar.gz"

    version('1.3.0', 'a76173deb7a84fe860c0b60e2fbcdfe2')
    version('1.2.3', '2ac2e148a5c46b6bb06c4785be76f7cc')
    version('1.2.2', 'fe759b9381a6500e67a2ddbbeb5161a4')
    version('1.2.1', '444a06b256e0a70e41c11698b7190e84')
    version('1.2.0', '5d1c87bf09696c4c35dc3103f2a1185c')
    version('1.1.0', '4e18bf78c0455ebcd41e5d6104392c88')
    version('1.0.0', 'e2ea22a825c5100f12e54b71771cde71')
    version('0.9.2', 'd02d5f68e944085fd6ec163a34737a96')
    version('0.9.1', '8108d2248e93ca6a315fa2dd31ee9bb1')
    version('0.9.0', '43c2bcee88606bde55dbf25a253ef886')

    # Most Python packages only require py-setuptools as a build dependency.
    # However, py-pyflakes requires py-setuptools during runtime as well.
    depends_on('py-setuptools', type=('build', 'run'))