summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtakar Jašek2020-04-25 21:26:39 +0200
committerOtakar Jašek2020-04-25 21:26:39 +0200
commit658e313e7776543f6a1ed45a490b7592cb7d5c1a (patch)
treeda56261ccbc7df4b8739ce233aec660282a77e88
parent764c31d1dc352e1d85aee84d90321b6911b1c92f (diff)
downloadaur-658e313e7776543f6a1ed45a490b7592cb7d5c1a.tar.gz
0.2.1 + test
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD11
2 files changed, 12 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b83a6bbeab7..37de7393135 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,21 +1,21 @@
pkgbase = python-kornia
pkgdesc = Open Source Differentiable Computer Vision Library for PyTorch
- pkgver = 0.2.0
+ pkgver = 0.2.1
pkgrel = 1
url = https://github.com/kornia/kornia
arch = any
license = Apache
+ checkdepends = python-pytest
makedepends = python-setuptools
depends = python-pytorch
- depends = python-pillow
depends = python-torchvision
depends = opencv
depends = python-matplotlib
depends = ipython
depends = jupyter
options = !emptydirs
- source = kornia-0.2.0.tar.gz::https://github.com/kornia/kornia/archive/v0.2.0.tar.gz
- sha256sums = d1f4c34ff89b88549f7f0c3f88ea34565c3cf033fd02920f9288b28461ad331c
+ source = kornia-0.2.1.tar.gz::https://github.com/kornia/kornia/archive/v0.2.1.tar.gz
+ sha256sums = 95eb4c5f84325e4fff887ef1a8a9f8aeb634bd014031e0c3c08bcd18a5d3cd24
pkgname = python-kornia
diff --git a/PKGBUILD b/PKGBUILD
index f67df806f89..e2b8828e17a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,18 +2,23 @@
pkgname=python-kornia
_name=kornia
-pkgver=0.2.0
+pkgver=0.2.1
pkgrel=1
arch=(any)
url='https://github.com/kornia/kornia'
pkgdesc='Open Source Differentiable Computer Vision Library for PyTorch'
license=(Apache)
makedepends=('python-setuptools')
-depends=('python-pytorch' 'python-pillow' 'python-torchvision' 'opencv' 'python-matplotlib' 'ipython' 'jupyter')
+depends=('python-pytorch' 'python-torchvision' 'opencv' 'python-matplotlib' 'ipython' 'jupyter')
+checkdepends=('python-pytest')
options=(!emptydirs)
source=(${_name}-${pkgver}.tar.gz::"${url}/archive/v${pkgver}.tar.gz")
-sha256sums=('d1f4c34ff89b88549f7f0c3f88ea34565c3cf033fd02920f9288b28461ad331c')
+sha256sums=('95eb4c5f84325e4fff887ef1a8a9f8aeb634bd014031e0c3c08bcd18a5d3cd24')
+check() {
+ cd "${srcdir}/${_name}-${pkgver}"
+ pytest
+}
package() {
cd "${srcdir}/${_name}-${pkgver}"