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

Andrzej Giniewicz aginiewicz at archlinux.org
Thu Dec 27 19:02:01 UTC 2018


    Date: Thursday, December 27, 2018 @ 19:02:01
  Author: aginiewicz
Revision: 418536

archrelease: copy trunk to community-x86_64

Added:
  python-scikit-learn/repos/community-x86_64/PKGBUILD
    (from rev 418535, python-scikit-learn/trunk/PKGBUILD)
Deleted:
  python-scikit-learn/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  134 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 67 insertions(+), 67 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-12-27 19:01:54 UTC (rev 418535)
+++ PKGBUILD	2018-12-27 19:02:01 UTC (rev 418536)
@@ -1,67 +0,0 @@
-# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
-
-pkgbase=python-scikit-learn
-pkgname=('python2-scikit-learn' 'python-scikit-learn')
-pkgver=0.20.0
-pkgrel=1
-pkgdesc="A set of python modules for machine learning and data mining"
-arch=('x86_64')
-url="http://scikit-learn.sourceforge.net/"
-license=('BSD')
-makedepends=('python2-scipy' 'python-scipy' 'python2-setuptools' 'python-setuptools' 'cython' 'cython2')
-options=(!emptydirs)
-
-source=("https://github.com/scikit-learn/scikit-learn/archive/${pkgver}.tar.gz")
-md5sums=('62ea42e931e5ad17a99d3854d562dadb')
-
-prepare() {
-  cd "$srcdir"
-
-  cp -a scikit-learn-$pkgver scikit-learn-py2-$pkgver
-  cd scikit-learn-py2-$pkgver
-
-  sed -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
-      -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
-      -e "s|#![ ]*/bin/env python$|#!/usr/bin/env python2|" \
-      -i $(find . -name '*.py')
-}
-
-build() {
-  msg "Building Python2"
-  cd "$srcdir"/scikit-learn-py2-$pkgver
-  python2 setup.py build
-
-  msg "Building Python3"
-  cd "$srcdir"/scikit-learn-$pkgver
-  python setup.py build
-}
-
-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
-
-  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
-}
-
-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
-
-  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
-}

Copied: python-scikit-learn/repos/community-x86_64/PKGBUILD (from rev 418535, python-scikit-learn/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-12-27 19:02:01 UTC (rev 418536)
@@ -0,0 +1,67 @@
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+
+pkgbase=python-scikit-learn
+pkgname=('python2-scikit-learn' 'python-scikit-learn')
+pkgver=0.20.2
+pkgrel=1
+pkgdesc="A set of python modules for machine learning and data mining"
+arch=('x86_64')
+url="http://scikit-learn.sourceforge.net/"
+license=('BSD')
+makedepends=('python2-scipy' 'python-scipy' 'python2-setuptools' 'python-setuptools' 'cython' 'cython2')
+options=(!emptydirs)
+
+source=("https://github.com/scikit-learn/scikit-learn/archive/${pkgver}.tar.gz")
+sha1sums=('20a3713661041675fd9c2d9f2a676461b996cda2')
+
+prepare() {
+  cd "$srcdir"
+
+  cp -a scikit-learn-$pkgver scikit-learn-py2-$pkgver
+  cd scikit-learn-py2-$pkgver
+
+  sed -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
+      -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
+      -e "s|#![ ]*/bin/env python$|#!/usr/bin/env python2|" \
+      -i $(find . -name '*.py')
+}
+
+build() {
+  msg "Building Python2"
+  cd "$srcdir"/scikit-learn-py2-$pkgver
+  python2 setup.py build
+
+  msg "Building Python3"
+  cd "$srcdir"/scikit-learn-$pkgver
+  python setup.py build
+}
+
+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
+
+  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
+}
+
+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
+
+  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