@@ -0,0 +1,685 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other%0A# Spack Project Developers. See the top-level COPYRIGHT file for details.%0A#%0A# SPDX-License-Identifier: (Apache-2.0 OR MIT)%0A%0Afrom spack import *%0A%0A%0Aclass PyEinops(PythonPackage):%0A    %22%22%22Flexible and powerful tensor operations for readable and reliable code.%0A%0A    Supports numpy, pytorch, tensorflow, and others.%22%22%22%0A%0A    homepage = %22https://github.com/arogozhnikov/einops%22%0A    pypi     = %22einops/einops-0.3.2.tar.gz%22%0A%0A    version('0.3.2', sha256='5200e413539f0377f4177ef00dc019968f4177c49b1db3e836c7883df2a5fe2e')%0A%0A    depends_on('python@3.6:', type=('build', 'run'))%0A    depends_on('py-setuptools', type='build')%0A

add new package (#25812)