[arch-commits] Commit in python-scikit-learn/trunk (PKGBUILD)
Andrzej Giniewicz
aginiewicz at archlinux.org
Thu May 10 11:33:31 UTC 2018
Date: Thursday, May 10, 2018 @ 11:33:31
Author: aginiewicz
Revision: 320236
upgpkg: python-scikit-learn 0.19.1-3
python-scikits-learn: matplotlib optdepend
Modified:
python-scikit-learn/trunk/PKGBUILD
----------+
PKGBUILD | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-10 11:33:13 UTC (rev 320235)
+++ PKGBUILD 2018-05-10 11:33:31 UTC (rev 320236)
@@ -4,7 +4,7 @@
pkgbase=python-scikit-learn
pkgname=('python2-scikit-learn' 'python-scikit-learn')
pkgver=0.19.1
-pkgrel=2
+pkgrel=3
pkgdesc="A set of python modules for machine learning and data mining"
arch=('x86_64')
url="http://scikit-learn.sourceforge.net/"
@@ -45,6 +45,8 @@
package_python2-scikit-learn() {
depends=('python2-scipy')
+ optdepends=('python2-matplotlib: for examples with plotting')
+
cd "$srcdir"/scikit-learn-py2-$pkgver
python2 setup.py install --root="$pkgdir"/ --optimize=1
@@ -58,6 +60,8 @@
package_python-scikit-learn() {
depends=('python-scipy')
+ optdepends=('python-matplotlib: for examples with plotting')
+
cd "$srcdir"/scikit-learn-$pkgver
python setup.py install --root="$pkgdir"/ --optimize=1
More information about the arch-commits
mailing list