summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-cppheaderparser/package.py
blob: 23e4c1a700ad31a24d89b3529fc8abe87d065c72 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Copyright 2013-2020 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 PyCppheaderparser(PythonPackage):
    """Parse C++ header files and generate a data structure
    representing the class"""

    homepage = "https://pypi.org/project/CppHeaderParser"
    url      = "https://pypi.io/packages/source/C/CppHeaderParser/CppHeaderParser-2.7.4.tar.gz"

    version('2.7.4', sha256='382b30416d95b0a5e8502b214810dcac2a56432917e2651447d3abe253e3cc42')

    depends_on('py-setuptools', type='build')
    depends_on('py-ply', type=('build', 'run'))