diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/py-textx/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/py-textx/package.py | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-textx/package.py b/var/spack/repos/builtin/packages/py-textx/package.py new file mode 100644 index 0000000000..03911b530e --- /dev/null +++ b/var/spack/repos/builtin/packages/py-textx/package.py @@ -0,0 +1,23 @@ +# Copyright 2013-2024 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 PyTextx(PythonPackage): + """Meta-language for DSL implementation inspired by Xtext.""" + + homepage = "https://textx.github.io/textX/" + pypi = "textx/textx-4.0.1.tar.gz" + + license("MIT") + + version("4.0.1", sha256="84aff5c95fd2c947402fcbe83eeeddc23aabcfed3464ab84184ef193c52d831a") + + depends_on("c", type="build") + depends_on("py-flit-core@3.8:3", type="build") + depends_on("python@3.8:3.12", type=("build", "run")) + depends_on("py-arpeggio@2:", type=("build", "run")) + depends_on("py-importlib-metadata", when="^python@:3.9", type=("build", "run")) |