[arch-commits] Commit in python-scikit-learn/trunk (PKGBUILD)
Andrzej Giniewicz
aginiewicz at archlinux.org
Sat Jul 30 13:50:11 UTC 2016
Date: Saturday, July 30, 2016 @ 13:50:10
Author: aginiewicz
Revision: 184671
upgpkg: python-scikit-learn 0.17.1-2
python-scikits-learn: address FS#49651
Modified:
python-scikit-learn/trunk/PKGBUILD
----------+
PKGBUILD | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-07-30 13:17:21 UTC (rev 184670)
+++ PKGBUILD 2016-07-30 13:50:10 UTC (rev 184671)
@@ -4,7 +4,7 @@
pkgbase=python-scikit-learn
pkgname=('python2-scikit-learn' 'python-scikit-learn')
pkgver=0.17.1
-pkgrel=1
+pkgrel=2
pkgdesc="A set of python modules for machine learning and data mining"
arch=('i686' 'x86_64')
url="http://scikit-learn.sourceforge.net/"
@@ -45,6 +45,10 @@
python2 setup.py install --root="$pkgdir"/ --optimize=1
install -D "$srcdir"/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+ # See FS#49651
+ install -d "$pkgdir"/usr/share/doc/$pkgname
+ cp -r doc/tutorial "$pkgdir"/usr/share/doc/$pkgname/tutorial
}
package_python-scikit-learn() {
@@ -54,5 +58,8 @@
python setup.py install --root="$pkgdir"/ --optimize=1
install -D "$srcdir"/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+ # See FS#49651
+ install -d "$pkgdir"/usr/share/doc/$pkgname
+ cp -r doc/tutorial "$pkgdir"/usr/share/doc/$pkgname/tutorial
}
-
More information about the arch-commits
mailing list