summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Lucas2018-06-25 16:41:35 -0400
committerJean Lucas2018-06-25 16:41:35 -0400
commit263f8e7f07da0e35886caeff732e8d3874d9d6ba (patch)
treecdf89ac3e927b26dc35eaf80c9b781d3c921ce05
parentb46a3cb5bf4d68b03e3e9e21e6677c13a7282c0c (diff)
downloadaur-263f8e7f07da0e35886caeff732e8d3874d9d6ba.tar.gz
Version bump to 0.2.1
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD15
2 files changed, 11 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 74987893e7d..32736fdcbd4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,17 @@
# Generated by mksrcinfo v8
-# Wed Jan 31 10:45:10 UTC 2018
+# Mon Jun 25 20:41:03 UTC 2018
pkgbase = python-torchvision
pkgdesc = Datasets, transforms, and models specific to computer vision
- pkgver = 0.2.0
+ pkgver = 0.2.1
pkgrel = 1
- url = https://github.com/pytorch/vision
+ url = https://pytorch.org
arch = any
license = BSD
makedepends = python-setuptools
depends = python
depends = python-pytorch
- source = https://github.com/pytorch/vision/archive/v0.2.0.zip
- sha512sums = 9fcd670a6c5382e06bf130bed408cf2293b94549638b657083851cabdfa2695ec4a5abd78896a0ac427d7d1f987957dfb6d9ddfe0f6aaba4ebb3e3310775149b
+ source = https://github.com/pytorch/vision/archive/v0.2.1.zip
+ sha512sums = 41fe2ea704cd4d7b43f1043a8666f2d7abd9480519c012321e2f0e3497f2815dc86118c2c57d0cd80f71b6a465521787f4e3c5a423268776009f4069582ab7b4
pkgname = python-torchvision
diff --git a/PKGBUILD b/PKGBUILD
index c5c913895f6..849bb64fede 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,22 +3,19 @@
# Based on python-torchvision-git by Stephen Zhang
pkgname=python-torchvision
-_pkgname=vision
-pkgver=0.2.0
+pkgver=0.2.1
pkgrel=1
pkgdesc='Datasets, transforms, and models specific to computer vision'
arch=(any)
-url='https://github.com/pytorch/vision'
+url=https://pytorch.org
license=(BSD)
depends=(python python-pytorch)
makedepends=(python-setuptools)
-source=(https://github.com/pytorch/$_pkgname/archive/v$pkgver.zip)
-sha512sums=(9fcd670a6c5382e06bf130bed408cf2293b94549638b657083851cabdfa2695ec4a5abd78896a0ac427d7d1f987957dfb6d9ddfe0f6aaba4ebb3e3310775149b)
+source=(https://github.com/pytorch/vision/archive/v$pkgver.zip)
+sha512sums=(41fe2ea704cd4d7b43f1043a8666f2d7abd9480519c012321e2f0e3497f2815dc86118c2c57d0cd80f71b6a465521787f4e3c5a423268776009f4069582ab7b4)
package() {
- cd $srcdir/$_pkgname-$pkgver
-
+ cd $srcdir/vision-$pkgver
python setup.py install --root=$pkgdir --optimize=1
-
- install -Dm 644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE.txt
+ install -Dm 644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}