Add py-typed-ast package (#13272)
This commit is contained in:
parent
95b7f31112
commit
3e18e664fc
18
var/spack/repos/builtin/packages/py-typed-ast/package.py
Normal file
18
var/spack/repos/builtin/packages/py-typed-ast/package.py
Normal file
@ -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')
|
Loading…
Reference in New Issue
Block a user