summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2021-09-13 04:10:19 -0500
committerGitHub <noreply@github.com>2021-09-13 11:10:19 +0200
commit2f889b045c1a03b3b046127380f15909ea117265 (patch)
treea4fa0baddf721254ad41d9b6af59ac3b4152f4a8 /var
parentbc3b90f6ac1cc1484b63bbe67a648b99cced6a6e (diff)
downloadspack-2f889b045c1a03b3b046127380f15909ea117265.tar.gz
spack-2f889b045c1a03b3b046127380f15909ea117265.tar.bz2
spack-2f889b045c1a03b3b046127380f15909ea117265.tar.xz
spack-2f889b045c1a03b3b046127380f15909ea117265.zip
py-kornia: add new package (#25844)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-kornia/package.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-kornia/package.py b/var/spack/repos/builtin/packages/py-kornia/package.py
new file mode 100644
index 0000000000..e62e532b1c
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-kornia/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 PyKornia(PythonPackage):
+ """Open Source Differentiable Computer Vision Library for PyTorch."""
+
+ homepage = "https://www.kornia.org/"
+ pypi = "kornia/kornia-0.5.10.tar.gz"
+
+ version('0.5.10', sha256='428b4b934a2ba7360cc6cba051ed8fd96c2d0f66611fdca0834e82845f14f65d')
+
+ depends_on('python@3.6:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-pytest-runner', type='build')
+ depends_on('py-torch@1.6.0:', type=('build', 'run'))