[arch-commits] Commit in python-scikit-learn/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sat Oct 26 06:25:18 UTC 2019
Date: Saturday, October 26, 2019 @ 06:25:17
Author: felixonmars
Revision: 520269
archrelease: copy trunk to community-staging-x86_64
Added:
python-scikit-learn/repos/community-staging-x86_64/
python-scikit-learn/repos/community-staging-x86_64/PKGBUILD
(from rev 520268, python-scikit-learn/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: python-scikit-learn/repos/community-staging-x86_64/PKGBUILD (from rev 520268, python-scikit-learn/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2019-10-26 06:25:17 UTC (rev 520269)
@@ -0,0 +1,33 @@
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+
+pkgname='python-scikit-learn'
+pkgver=0.21.3
+pkgrel=2
+pkgdesc="A set of python modules for machine learning and data mining"
+arch=('x86_64')
+url="http://scikit-learn.sourceforge.net/"
+license=('BSD')
+depends=('python-scipy' 'python-joblib')
+optdepends=('python-matplotlib: for examples with plotting')
+makedepends=('python-setuptools' 'cython' 'openmp')
+options=(!emptydirs)
+
+source=("https://github.com/scikit-learn/scikit-learn/archive/${pkgver}.tar.gz")
+sha256sums=('260f66e9c643207fe8cfe0995242060fdb14137b5e69a8dd273ac463b7e9426b')
+
+build() {
+ cd "$srcdir"/scikit-learn-$pkgver
+ python setup.py build
+}
+
+package() {
+ cd "$srcdir"/scikit-learn-$pkgver
+
+ python setup.py install --root="$pkgdir"/ --optimize=1
+
+ install -D COPYING "$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