summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2021-06-22 08:07:15 -0500
committerGitHub <noreply@github.com>2021-06-22 07:07:15 -0600
commit512edfccebc1a9594bdea711031ad81bc9783381 (patch)
tree8cf5cbc7f59eb8ce72dbf9bf7c84b033141f017c
parent8e249c03de44f474cc9efe9380f4fbb15121b317 (diff)
downloadspack-512edfccebc1a9594bdea711031ad81bc9783381.tar.gz
spack-512edfccebc1a9594bdea711031ad81bc9783381.tar.bz2
spack-512edfccebc1a9594bdea711031ad81bc9783381.tar.xz
spack-512edfccebc1a9594bdea711031ad81bc9783381.zip
py-pythran: add new package (#24440)
-rw-r--r--var/spack/repos/builtin/packages/py-pythran/package.py25
1 files changed, 25 insertions, 0 deletions
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'))