summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-autoray/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/py-autoray/package.py')
-rw-r--r--var/spack/repos/builtin/packages/py-autoray/package.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-autoray/package.py b/var/spack/repos/builtin/packages/py-autoray/package.py
new file mode 100644
index 0000000000..bd0396b352
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-autoray/package.py
@@ -0,0 +1,20 @@
+# Copyright 2013-2022 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.package import *
+
+
+class PyAutoray(PythonPackage):
+ """Write backend agnostic numeric code compatible with any numpy-ish array library."""
+
+ homepage = "https://github.com/jcmgray/autoray"
+ pypi = "autoray/autoray-0.5.3.tar.gz"
+
+ version("0.5.3", sha256="ecbecbc1ab65dd704234b3307fa7c7a511a36f6b9339a0ffcdaa4e5a7aab826b")
+
+ depends_on("python@3.6:", type=("build", "run"))
+ depends_on("py-setuptools@45:", type="build")
+ depends_on("py-setuptools-scm@6.2:+toml", type="build")