summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2021-09-07 00:40:18 -0500
committerGitHub <noreply@github.com>2021-09-07 07:40:18 +0200
commit5abbd094c7216f632864fb300adb7ad54cda95d1 (patch)
tree3565b778acc975a44f8dd305326f22723bf3a91b
parentca58cb701cf7c9af2ed8a79a93c80e670d085bad (diff)
downloadspack-5abbd094c7216f632864fb300adb7ad54cda95d1.tar.gz
spack-5abbd094c7216f632864fb300adb7ad54cda95d1.tar.bz2
spack-5abbd094c7216f632864fb300adb7ad54cda95d1.tar.xz
spack-5abbd094c7216f632864fb300adb7ad54cda95d1.zip
py-einops: add new package (#25812)
-rw-r--r--var/spack/repos/builtin/packages/py-einops/package.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-einops/package.py b/var/spack/repos/builtin/packages/py-einops/package.py
new file mode 100644
index 0000000000..1a65b0713a
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-einops/package.py
@@ -0,0 +1,20 @@
+# 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 PyEinops(PythonPackage):
+ """Flexible and powerful tensor operations for readable and reliable code.
+
+ Supports numpy, pytorch, tensorflow, and others."""
+
+ homepage = "https://github.com/arogozhnikov/einops"
+ pypi = "einops/einops-0.3.2.tar.gz"
+
+ version('0.3.2', sha256='5200e413539f0377f4177ef00dc019968f4177c49b1db3e836c7883df2a5fe2e')
+
+ depends_on('python@3.6:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')