summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-rply/package.py
blob: 7fd1505a85e79f5fb02c69f29d04bacba23812f2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 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 PyRply(PythonPackage):
    """A pure Python Lex/Yacc that works with RPython."""

    homepage = "https://github.com/alex/rply/"
    pypi     = "rply/rply-0.7.8.tar.gz"

    version('0.7.8', sha256='2a808ac25a4580a9991fc304d64434e299a8fc75760574492f242cbb5bb301c9')

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