From 512edfccebc1a9594bdea711031ad81bc9783381 Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Tue, 22 Jun 2021 08:07:15 -0500 Subject: py-pythran: add new package (#24440) --- .../repos/builtin/packages/py-pythran/package.py | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-pythran/package.py diff --git a/var/spack/repos/builtin/packages/py-pythran/package.py b/var/spack/repos/builtin/packages/py-pythran/package.py new file mode 100644 index 0000000000..dcefa7818c --- /dev/null +++ b/var/spack/repos/builtin/packages/py-pythran/package.py @@ -0,0 +1,25 @@ +# Copyright 2013-2021 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 PyPythran(PythonPackage): + """Ahead of Time compiler for numeric kernels.""" + + homepage = "https://github.com/serge-sans-paille/pythran" + pypi = "pythran/pythran-0.9.11.tar.gz" + + version('0.9.11', sha256='a317f91e2aade9f6550dc3bf40b5caeb45b7e012daf27e2b3e4ad928edb01667') + + depends_on('py-setuptools', type='build') + depends_on('py-pytest-runner', type='build') + depends_on('py-ply@3.4:', type=('build', 'run')) + depends_on('py-networkx@2:', type=('build', 'run')) + depends_on('py-decorator', type=('build', 'run')) + depends_on('py-gast@0.4.0:0.4.999', type=('build', 'run')) + depends_on('py-six', type=('build', 'run')) + depends_on('py-numpy', type=('build', 'run')) + depends_on('py-beniget@0.3.0:0.3.999', type=('build', 'run')) -- cgit v1.2.3-60-g2f50