py-kornia: add new package (#25844)
This commit is contained in:
parent
bc3b90f6ac
commit
2f889b045c
1 changed files with 20 additions and 0 deletions
20
var/spack/repos/builtin/packages/py-kornia/package.py
Normal file
20
var/spack/repos/builtin/packages/py-kornia/package.py
Normal file
|
@ -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'))
|
Loading…
Reference in a new issue