From 326c2718d5bd5cd954e4512e0e476141705e3f1b Mon Sep 17 00:00:00 2001 From: Sinan Date: Fri, 20 Sep 2019 17:59:50 -0700 Subject: New package: py-gast (#12874) --- var/spack/repos/builtin/packages/py-gast/package.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-gast/package.py (limited to 'var') diff --git a/var/spack/repos/builtin/packages/py-gast/package.py b/var/spack/repos/builtin/packages/py-gast/package.py new file mode 100644 index 0000000000..086bb7af8b --- /dev/null +++ b/var/spack/repos/builtin/packages/py-gast/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 PyGast(PythonPackage): + """Python AST that abstracts the underlying Python version""" + + homepage = "https://github.com/serge-sans-paille/gast" + url = "https://pypi.io/packages/source/g/gast/gast-0.3.2.tar.gz" + + version('0.3.2', sha256='5c7617f1f6c8b8b426819642b16b9016727ddaecd16af9a07753e537eba8a3a5') + + depends_on('py-setuptools', type='build') + depends_on('python@2.7:2.8,3.4:', type=('build', 'run')) -- cgit v1.2.3-70-g09d2