Date: Thursday, June 13, 2019 @ 07:57:18
  Author: svenstaro
Revision: 481127

upgpkg: python-pytorch 1.1.0-3

Fix descriptions

Modified:
  python-pytorch/trunk/PKGBUILD

----------+
 PKGBUILD |   20 +++++++++++++-------
 1 file changed, 13 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2019-06-13 07:02:44 UTC (rev 481126)
+++ PKGBUILD    2019-06-13 07:57:18 UTC (rev 481127)
@@ -5,7 +5,7 @@
 pkgname=("python-pytorch" "python-pytorch-opt" "python-pytorch-cuda" 
"python-pytorch-opt-cuda")
 _pkgname="pytorch"
 pkgver=1.1.0
-pkgrel=2
+pkgrel=3
 pkgdesc="Tensors and Dynamic neural networks in Python with strong GPU 
acceleration"
 arch=('x86_64')
 url="https://pytorch.org";
@@ -143,14 +143,19 @@
 }
 
 package_python-pytorch-opt() {
+  pkgdesc="Tensors and Dynamic neural networks in Python with strong GPU 
acceleration (with CPU optimizations)"
+  conflicts=(python-pytorch)
+  provides=(python-pytorch)
+
   cd "${srcdir}/${_pkgname}-${pkgver}-opt"
   _package
 }
 
 package_python-pytorch-cuda() {
-  depends+=('cuda' 'cudnn')
-  provides=('python-pytorch')
-  conflicts=('python-pytorch')
+  pkgdesc="Tensors and Dynamic neural networks in Python with strong GPU 
acceleration (with CUDA)"
+  depends+=(cuda cudnn)
+  conflicts=(python-pytorch)
+  provides=(python-pytorch)
 
   cd "${srcdir}/${_pkgname}-${pkgver}-cuda"
   _package
@@ -157,9 +162,10 @@
 }
 
 package_python-pytorch-opt-cuda() {
-  depends+=('cuda' 'cudnn')
-  provides=('python-pytorch')
-  conflicts=('python-pytorch')
+  pkgdesc="Tensors and Dynamic neural networks in Python with strong GPU 
acceleration (with CUDA and CPU optimizations)"
+  depends+=(cuda cudnn)
+  conflicts=(python-pytorch)
+  provides=(python-pytorch python-pytorch-cuda)
 
   cd "${srcdir}/${_pkgname}-${pkgver}-opt-cuda"
   _package

Reply via email to