Date: Sunday, December 31, 2017 @ 12:21:07 Author: svenstaro Revision: 277563
upgpkg: python-pytorch 0.3.0-4 Add provides Modified: python-pytorch/trunk/PKGBUILD ----------+ PKGBUILD | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-12-31 12:17:13 UTC (rev 277562) +++ PKGBUILD 2017-12-31 12:21:07 UTC (rev 277563) @@ -5,7 +5,7 @@ pkgname=("python-pytorch" "python2-pytorch" "python-pytorch-cuda" "python2-pytorch-cuda") _pkgname="pytorch" pkgver=0.3.0 -pkgrel=3 +pkgrel=4 pkgdesc="Tensors and Dynamic neural networks in Python with strong GPU acceleration" arch=('x86_64') url="http://pytorch.org" @@ -111,6 +111,7 @@ package_python2-pytorch-cuda() { depends+=('python2' 'python2-yaml' 'python2-numpy' 'cuda' 'cudnn') + provides=('python2-pytorch') conflicts=('python2-pytorch') cd "$srcdir/${_pkgname}-${pkgver}-py2-cuda" python2 setup.py install --root="$pkgdir"/ --optimize=1 --skip-build @@ -119,6 +120,7 @@ package_python-pytorch-cuda() { depends+=('python' 'python-yaml' 'python-numpy' 'cuda' 'cudnn') + provides=('python-pytorch') conflicts=('python-pytorch') cd "$srcdir/${_pkgname}-${pkgver}-py3-cuda" python setup.py install --root="$pkgdir"/ --optimize=1 --skip-build