summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/py-rply/package.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-rply/package.py b/var/spack/repos/builtin/packages/py-rply/package.py
new file mode 100644
index 0000000000..7fd1505a85
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-rply/package.py
@@ -0,0 +1,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'))