diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2023-02-20 02:12:20 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-20 10:12:20 +0100 |
commit | 0500a3cec05c353efc01e147d140901b2f638d51 (patch) | |
tree | dca4958dc97954dd22f90a807cee19d1cab60179 /var/spack/repos/builtin/packages/py-libcst/package.py | |
parent | 313797e3d437e060a47643c3687472b1f4a51e7b (diff) | |
download | spack-0500a3cec05c353efc01e147d140901b2f638d51.tar.gz spack-0500a3cec05c353efc01e147d140901b2f638d51.tar.bz2 spack-0500a3cec05c353efc01e147d140901b2f638d51.tar.xz spack-0500a3cec05c353efc01e147d140901b2f638d51.zip |
py-torchbenchmark: add new package (#35443)
Diffstat (limited to 'var/spack/repos/builtin/packages/py-libcst/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/py-libcst/package.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-libcst/package.py b/var/spack/repos/builtin/packages/py-libcst/package.py new file mode 100644 index 0000000000..0978f4067a --- /dev/null +++ b/var/spack/repos/builtin/packages/py-libcst/package.py @@ -0,0 +1,22 @@ +# 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 PyLibcst(PythonPackage): + """A Concrete Syntax Tree (CST) parser and serializer library for Python.""" + + homepage = "https://github.com/Instagram/LibCST" + pypi = "libcst/libcst-0.4.9.tar.gz" + + version("0.4.9", sha256="01786c403348f76f274dbaf3888ae237ffb73e6ed6973e65eba5c1fc389861dd") + + depends_on("py-setuptools", type="build") + depends_on("py-setuptools-rust", type="build") + depends_on("py-setuptools-scm", type="build") + depends_on("py-typing-extensions@3.7.4.2:", type=("build", "run")) + depends_on("py-typing-inspect@0.4:", type=("build", "run")) + depends_on("py-pyyaml@5.2:", type=("build", "run")) |