summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorlilac2019-11-08 19:22:46 +0800
committerlilac2019-11-08 19:22:46 +0800
commit1d0cab7417bc0abb1fac1fc29b7d4f295125bff5 (patch)
tree2c4a8b9b9ea0b6bb394750f948e6302d197e2c53
parent36302a9873f1f914d9749c6baf4b99c3b025516f (diff)
downloadaur-1d0cab7417bc0abb1fac1fc29b7d4f295125bff5.tar.gz
update by lilac
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD10
2 files changed, 14 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6350b2e9530..0f1befc69ea 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,22 +1,26 @@
pkgbase = python-torchvision
pkgdesc = Datasets, transforms, and models specific to computer vision
pkgver = 0.4.2
- pkgrel = 1
+ pkgrel = 3
url = https://github.com/pytorch/vision
arch = x86_64
license = BSD
checkdepends = python-mock
checkdepends = python-pytest
checkdepends = python-scipy
+ makedepends = cuda
+ makedepends = ffmpeg
+ makedepends = python-av
makedepends = python-setuptools
makedepends = qt5-base
- depends = python-av
depends = python-numpy
depends = python-pillow
depends = python-pytorch
depends = python-scipy
depends = python-six
depends = python-tqdm
+ optdepends = ffmpeg: video reader backend (the recommended one with better performance)
+ optdepends = python-av: video reader backend (the default one)
source = https://github.com/pytorch/vision/archive/v0.4.2.tar.gz
sha512sums = 3327364bd1c10f4f0fdf9f8c1bed3848cbd887ee335634a0da6eb7a2611037408eee6261cd178d12225be5f2c809a05ff9fb87420b8accd447a799ca83def3ad
diff --git a/PKGBUILD b/PKGBUILD
index 6ebab511a1b..614d0881bf6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,13 +7,12 @@
pkgname=python-torchvision
_pkgname=vision
pkgver=0.4.2
-pkgrel=1
+pkgrel=3
pkgdesc='Datasets, transforms, and models specific to computer vision'
arch=('x86_64')
url='https://github.com/pytorch/vision'
license=('BSD')
depends=(
- 'python-av'
'python-numpy'
'python-pillow'
'python-pytorch'
@@ -21,7 +20,14 @@ depends=(
'python-six'
'python-tqdm'
)
+optdepends=(
+ 'ffmpeg: video reader backend (the recommended one with better performance)'
+ 'python-av: video reader backend (the default one)'
+)
makedepends=(
+ 'cuda'
+ 'ffmpeg'
+ 'python-av'
'python-setuptools'
'qt5-base'
)