summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtakar Jašek2019-10-24 13:26:19 +0200
committerOtakar Jašek2019-10-24 13:26:19 +0200
commita1ae2210377efe1318ecda8688d43f0efa8116b8 (patch)
treeb558f535c3d0b6908f6e802fce79e3d662ce5c48
downloadaur-a1ae2210377efe1318ecda8688d43f0efa8116b8.tar.gz
Initial commit
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD24
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..71a3a23c947
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = python-kornia
+ pkgdesc = Open Source Differentiable Computer Vision Library for PyTorch
+ pkgver = 0.1.4
+ pkgrel = 1
+ url = https://github.com/arraiyopensource/kornia
+ arch = any
+ license = Apache
+ makedepends = python-setuptools
+ depends = python-pytorch
+ provides = python-kornia
+ conflicts = python-kornia
+ options = !emptydirs
+ source = https://github.com/arraiyopensource/kornia/archive/v0.1.4.tar.gz
+ sha256sums = a07d822876a1df067c40b35ff36c4b17d56fc90f5114a0dee54725314cecec14
+
+pkgname = python-kornia
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ff2c328ae24
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: otaj
+
+pkgname=python-kornia
+_name=kornia
+pkgver=0.1.4
+pkgrel=1
+arch=(any)
+url='https://github.com/arraiyopensource/kornia'
+pkgdesc='Open Source Differentiable Computer Vision Library for PyTorch'
+license=(Apache)
+makedepends=('python-setuptools')
+depends=('python-pytorch')
+provides=('python-kornia')
+conflicts=('python-kornia')
+options=(!emptydirs)
+source=("${url}/archive/v${pkgver}.tar.gz")
+sha256sums=('a07d822876a1df067c40b35ff36c4b17d56fc90f5114a0dee54725314cecec14')
+
+
+package() {
+ cd "${srcdir}/${_name}-${pkgver}"
+ python setup.py install --root="${pkgdir}/" --optimize=1
+ install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}