summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-cppheaderparser/package.py
blob: a6c68cd7f88d37aa10c79d4b3743e920d34486ec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Copyright 2013-2023 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.package import *


class PyCppheaderparser(PythonPackage):
    """Parse C++ header files and generate a data structure
    representing the class"""

    pypi = "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"))