spack/var/spack/repos/builtin/packages/py-rply/package.py
2022-01-14 22:50:21 -08:00

19 lines
591 B
Python

# Copyright 2013-2022 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'))