diff options
author | Manuela Kuhn <36827019+manuelakuhn@users.noreply.github.com> | 2022-02-21 22:47:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-21 14:47:28 -0700 |
commit | 1953d986ae0c8a4c352b69d727791e7ece252cb9 (patch) | |
tree | 08c207f304a392daf92b4acfcd5c07a5b2a0bbe0 /var | |
parent | fef58db7927be41fd41a44dbb7a233db5497e9a4 (diff) | |
download | spack-1953d986ae0c8a4c352b69d727791e7ece252cb9.tar.gz spack-1953d986ae0c8a4c352b69d727791e7ece252cb9.tar.bz2 spack-1953d986ae0c8a4c352b69d727791e7ece252cb9.tar.xz spack-1953d986ae0c8a4c352b69d727791e7ece252cb9.zip |
py-asttokens: add new package (#29073)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-asttokens/package.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-asttokens/package.py b/var/spack/repos/builtin/packages/py-asttokens/package.py new file mode 100644 index 0000000000..18f04dd0ec --- /dev/null +++ b/var/spack/repos/builtin/packages/py-asttokens/package.py @@ -0,0 +1,20 @@ +# 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 PyAsttokens(PythonPackage): + """Annotate AST trees with source code positions.""" + + homepage = "https://github.com/gristlabs/asttokens" + pypi = "asttokens/asttokens-2.0.5.tar.gz" + + version('2.0.5', sha256='9a54c114f02c7a9480d56550932546a3f1fe71d8a02f1bc7ccd0ee3ee35cf4d5') + + depends_on('py-setuptools@44:', type='build') + depends_on('py-setuptools-scm+toml@3.4.3:', type='build') + + depends_on('py-six', type=('build', 'run')) |