[arch-commits] Commit in python-scikit-learn/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon Nov 9 20:19:16 UTC 2020


    Date: Monday, November 9, 2020 @ 20:19:16
  Author: felixonmars
Revision: 748178

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 748177, python-scikit-learn/trunk/PKGBUILD)

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Copied: python-scikit-learn/repos/community-staging-x86_64/PKGBUILD (from rev 748177, python-scikit-learn/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-11-09 20:19:16 UTC (rev 748178)
@@ -0,0 +1,32 @@
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+
+pkgname=python-scikit-learn
+pkgver=0.23.2
+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' 'python-threadpoolctl')
+optdepends=('python-matplotlib: plotting capabilities')
+makedepends=('python-setuptools' 'cython' 'openmp')
+options=(!emptydirs)
+source=("scikit-learn-${pkgver}.tar.gz::https://github.com/scikit-learn/scikit-learn/archive/${pkgver}.tar.gz")
+sha256sums=('26f56e0c5aac4811f5a90109c4eed0396ee196d8383608b9bf33129528e6fcfd')
+
+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