diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2019-10-20 11:07:01 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-20 11:07:01 -0500 |
commit | 3e18e664fc10485e0101cf09374844e199e1d821 (patch) | |
tree | 9cc75646a01dc50a7e9554865c26fe2c0d4087bb /var | |
parent | 95b7f31112bb8cffd1f620ca50b39c9de03b3baf (diff) | |
download | spack-3e18e664fc10485e0101cf09374844e199e1d821.tar.gz spack-3e18e664fc10485e0101cf09374844e199e1d821.tar.bz2 spack-3e18e664fc10485e0101cf09374844e199e1d821.tar.xz spack-3e18e664fc10485e0101cf09374844e199e1d821.zip |
Add py-typed-ast package (#13272)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-typed-ast/package.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-typed-ast/package.py b/var/spack/repos/builtin/packages/py-typed-ast/package.py new file mode 100644 index 0000000000..492d63cbc2 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-typed-ast/package.py @@ -0,0 +1,18 @@ +# Copyright 2013-2019 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 PyTypedAst(PythonPackage): + """A fork of Python 2 and 3 ast modules with type comment support.""" + + homepage = "https://github.com/python/typed_ast" + url = "https://pypi.io/packages/source/t/typed-ast/typed_ast-1.4.0.tar.gz" + + version('1.4.0', sha256='66480f95b8167c9c5c5c87f32cf437d585937970f3fc24386f313a4c97b44e34') + + depends_on('python@3.3:', type=('build', 'run')) + depends_on('py-setuptools', type='build') |