summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-parso/package.py
blob: 0d6b5653b463007c8e8ac8834b6b8b76c521ee94 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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 PyParso(PythonPackage):
    """Parso is a Python parser that supports error recovery and round-trip parsing
       for different Python versions (in multiple Python versions).
       Parso is also able to list multiple syntax errors
       in your python file."""

    pypi = "parso/parso-0.6.1.tar.gz"

    version('0.6.1', sha256='56b2105a80e9c4df49de85e125feb6be69f49920e121406f15e7acde6c9dfc57')

    depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
    depends_on('py-setuptools',    type='build')