
* add package py-astor Change-Id: I2f6becfb5e9771170bf2df5eb629920e1c0998d7 * add new package py-astunparse Change-Id: Id2d3e8dec28e720ed1cb121dad0d1a405c27ca29 * Update package.py * Update package.py * Update package.py
23 lines
880 B
Python
23 lines
880 B
Python
# 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 PyAstunparse(PythonPackage):
|
|
"""An AST unparser for Python.
|
|
|
|
This is a factored out version of unparse found in the Python source
|
|
distribution; under Demo/parser in Python 2 and under Tools/parser in
|
|
Python 3."""
|
|
|
|
homepage = "https://pypi.org/project/astunparse/"
|
|
url = "https://pypi.io/packages/source/a/astunparse/astunparse-1.6.2.tar.gz"
|
|
|
|
version('1.6.2', sha256='dab3e426715373fd76cd08bb1abe64b550f5aa494cf1e32384f26fd60961eb67')
|
|
|
|
depends_on('py-setuptools', type='build')
|
|
depends_on('py-wheel@0.23.0:0.99.99', type=('build', 'run'))
|
|
depends_on('py-six@1.6.1:1.99.99', type=('build', 'run'))
|