diff options
author | otaj | 2023-11-06 13:26:27 +0100 |
---|---|---|
committer | otaj | 2023-11-06 13:26:27 +0100 |
commit | aa60e8075b18015942ce68e41d0f7626d6b81a3b (patch) | |
tree | 53f370394a3d6d46404bdd969dbaa6a41503f480 | |
parent | 555dd185baac7522314037398d4cb75cc08023a8 (diff) | |
download | aur-aa60e8075b18015942ce68e41d0f7626d6b81a3b.tar.gz |
verbump
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 16 insertions, 16 deletions
@@ -1,6 +1,6 @@ pkgbase = python-kornia pkgdesc = Open Source Differentiable Computer Vision Library for PyTorch - pkgver = 0.6.12 + pkgver = 0.7.0 pkgrel = 1 url = https://github.com/kornia/kornia arch = any @@ -18,7 +18,7 @@ pkgbase = python-kornia depends = python-pytorch optdepends = python-accelerate: To be able to train options = !emptydirs - source = kornia-0.6.12.zip::https://github.com/kornia/kornia/archive/refs/tags/v0.6.12.zip - sha256sums = a9921e3408813691543ed61c372825d4c7f6823ca7e6f4088c1d71fd5f55e420 + source = kornia-0.7.0.zip::https://github.com/kornia/kornia/archive/refs/tags/v0.7.0.zip + sha256sums = a0497c29f2612de9b4fe4266ef6a65c98c45ba04c6c90671bb58a1f0d39d5028 pkgname = python-kornia @@ -1,10 +1,10 @@ # Maintainer: otaj -# If you also want to test GPU portion of the package, set this to 1. Make sure you have a capable GPU with large enough memory +# If you also want to test GPU portion of the package, set this to 1. Make sure you have a capable GPU with large enough memory TEST_GPU=0 pkgname=python-kornia _name=kornia -pkgver=0.6.12 +pkgver=0.7.0 pkgrel=1 arch=(any) url='https://github.com/kornia/kornia' @@ -17,23 +17,23 @@ checkdepends=('python-pytest' 'python-pytest-cov' 'python-pytest-mypy' 'python-p options=(!emptydirs) # because kornia does not ship `pytest.ini` with their release, we have to get a fat copy of full repo source=("${_name}-${pkgver}.zip::${url}/archive/refs/tags/v${pkgver}.zip") -sha256sums=('a9921e3408813691543ed61c372825d4c7f6823ca7e6f4088c1d71fd5f55e420') +sha256sums=('a0497c29f2612de9b4fe4266ef6a65c98c45ba04c6c90671bb58a1f0d39d5028') build() { - cd "${srcdir}/${_name}-${pkgver}" - python -m build --wheel --no-isolation + cd "${srcdir}/${_name}-${pkgver}" + python -m build --wheel --no-isolation } check() { - cd "${srcdir}/${_name}-${pkgver}" - pytest -v --device cpu --dtype float32,float64 --cov=kornia test/ - if ! [ "$TEST_GPU" -eq "0" ] ; then - pytest -v --device cuda --dtype all --cov=kornia test/ - fi + cd "${srcdir}/${_name}-${pkgver}" + pytest -v --device cpu --dtype float32,float64 --cov=kornia test/ + if ! [ "$TEST_GPU" -eq "0" ]; then + pytest -v --device cuda --dtype all --cov=kornia test/ + fi } package() { - cd "${srcdir}/${_name}-${pkgver}" - python -m installer --destdir="$pkgdir" dist/*.whl - install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + cd "${srcdir}/${_name}-${pkgver}" + python -m installer --destdir="$pkgdir" dist/*.whl + install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } |