summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 15cef2f7411..f68bd798518 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Wed Mar 15 21:48:52 UTC 2017
+# Thu Mar 16 06:28:42 UTC 2017
pkgbase = python-pytorch-git
pkgdesc = Tensors and Dynamic neural networks in Python with strong GPU acceleration
pkgver = 0.1.10.r46.gbe6322e4
diff --git a/PKGBUILD b/PKGBUILD
index 90a1550076e..fe4648e1c5f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -63,7 +63,7 @@ package_python2-pytorch-git() {
provides=('python2-pytorch')
depends+=('python2' 'python2-ymal' 'python2-numpy')
cd "$srcdir/${_pkgname}-py2"
- python2 setup.py install --root="$pkgdir"/ --optimize=1
+ python2 setup.py install --root="$pkgdir"/ --optimize=1 --skip-build
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
}
@@ -72,7 +72,7 @@ package_python-pytorch-git() {
provides=('python-pytorch')
depends+=('python' 'python-ymal' 'python-numpy')
cd "$srcdir/${_pkgname}"
- python setup.py install --root="$pkgdir"/ --optimize=1
+ python setup.py install --root="$pkgdir"/ --optimize=1 --skip-build
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
}