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

Andrzej Giniewicz aginiewicz at archlinux.org
Sat Jul 30 13:50:21 UTC 2016


    Date: Saturday, July 30, 2016 @ 13:50:20
  Author: aginiewicz
Revision: 184672

archrelease: copy trunk to community-i686, community-x86_64

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

---------------------------+
 /LICENSE                  |   48 ++++++++++++++++
 /PKGBUILD                 |  130 ++++++++++++++++++++++++++++++++++++++++++++
 community-i686/LICENSE    |   24 --------
 community-i686/PKGBUILD   |   58 -------------------
 community-x86_64/LICENSE  |   24 --------
 community-x86_64/PKGBUILD |   58 -------------------
 6 files changed, 178 insertions(+), 164 deletions(-)

Deleted: community-i686/LICENSE
===================================================================
--- community-i686/LICENSE	2016-07-30 13:50:10 UTC (rev 184671)
+++ community-i686/LICENSE	2016-07-30 13:50:20 UTC (rev 184672)
@@ -1,24 +0,0 @@
-Copyright (c) 2010–2011, scikit-learn developers
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-    * Redistributions of source code must retain the above copyright
-      notice, this list of conditions and the following disclaimer.
-    * Redistributions in binary form must reproduce the above copyright
-      notice, this list of conditions and the following disclaimer in the
-      documentation and/or other materials provided with the distribution.
-    * Neither the name of the <organization> nor the
-      names of its contributors may be used to endorse or promote products
-      derived from this software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
-ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Copied: python-scikit-learn/repos/community-i686/LICENSE (from rev 184671, python-scikit-learn/trunk/LICENSE)
===================================================================
--- community-i686/LICENSE	                        (rev 0)
+++ community-i686/LICENSE	2016-07-30 13:50:20 UTC (rev 184672)
@@ -0,0 +1,24 @@
+Copyright (c) 2010–2011, scikit-learn developers
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+    * Redistributions of source code must retain the above copyright
+      notice, this list of conditions and the following disclaimer.
+    * Redistributions in binary form must reproduce the above copyright
+      notice, this list of conditions and the following disclaimer in the
+      documentation and/or other materials provided with the distribution.
+    * Neither the name of the <organization> nor the
+      names of its contributors may be used to endorse or promote products
+      derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2016-07-30 13:50:10 UTC (rev 184671)
+++ community-i686/PKGBUILD	2016-07-30 13:50:20 UTC (rev 184672)
@@ -1,58 +0,0 @@
-# $Id$
-# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
-
-pkgbase=python-scikit-learn
-pkgname=('python2-scikit-learn' 'python-scikit-learn')
-pkgver=0.17.1
-pkgrel=1
-pkgdesc="A set of python modules for machine learning and data mining"
-arch=('i686' 'x86_64')
-url="http://scikit-learn.sourceforge.net/"
-license=('BSD')
-makedepends=('python2-scipy' 'python-scipy' 'python2-setuptools' 'python-setuptools')
-options=(!emptydirs)
-
-source=("https://pypi.python.org/packages/source/s/scikit-learn/scikit-learn-${pkgver}.tar.gz"
-        "LICENSE")
-md5sums=('a2f8b877e6d99b1ed737144f5a478dfc'
-         '327083d2576cc0aad1b8f10b2bcd2974')
-
-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')
-  cd "$srcdir"/scikit-learn-py2-$pkgver
-
-  python2 setup.py install --root="$pkgdir"/ --optimize=1
-
-  install -D "$srcdir"/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python-scikit-learn() {
-  depends=('python-scipy')
-  cd "$srcdir"/scikit-learn-$pkgver
-
-  python setup.py install --root="$pkgdir"/ --optimize=1
-
-  install -D "$srcdir"/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-

Copied: python-scikit-learn/repos/community-i686/PKGBUILD (from rev 184671, python-scikit-learn/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2016-07-30 13:50:20 UTC (rev 184672)
@@ -0,0 +1,65 @@
+# $Id$
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+
+pkgbase=python-scikit-learn
+pkgname=('python2-scikit-learn' 'python-scikit-learn')
+pkgver=0.17.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/"
+license=('BSD')
+makedepends=('python2-scipy' 'python-scipy' 'python2-setuptools' 'python-setuptools')
+options=(!emptydirs)
+
+source=("https://pypi.python.org/packages/source/s/scikit-learn/scikit-learn-${pkgver}.tar.gz"
+        "LICENSE")
+md5sums=('a2f8b877e6d99b1ed737144f5a478dfc'
+         '327083d2576cc0aad1b8f10b2bcd2974')
+
+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')
+  cd "$srcdir"/scikit-learn-py2-$pkgver
+
+  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() {
+  depends=('python-scipy')
+  cd "$srcdir"/scikit-learn-$pkgver
+
+  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
+}

Deleted: community-x86_64/LICENSE
===================================================================
--- community-x86_64/LICENSE	2016-07-30 13:50:10 UTC (rev 184671)
+++ community-x86_64/LICENSE	2016-07-30 13:50:20 UTC (rev 184672)
@@ -1,24 +0,0 @@
-Copyright (c) 2010–2011, scikit-learn developers
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-    * Redistributions of source code must retain the above copyright
-      notice, this list of conditions and the following disclaimer.
-    * Redistributions in binary form must reproduce the above copyright
-      notice, this list of conditions and the following disclaimer in the
-      documentation and/or other materials provided with the distribution.
-    * Neither the name of the <organization> nor the
-      names of its contributors may be used to endorse or promote products
-      derived from this software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
-ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Copied: python-scikit-learn/repos/community-x86_64/LICENSE (from rev 184671, python-scikit-learn/trunk/LICENSE)
===================================================================
--- community-x86_64/LICENSE	                        (rev 0)
+++ community-x86_64/LICENSE	2016-07-30 13:50:20 UTC (rev 184672)
@@ -0,0 +1,24 @@
+Copyright (c) 2010–2011, scikit-learn developers
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+    * Redistributions of source code must retain the above copyright
+      notice, this list of conditions and the following disclaimer.
+    * Redistributions in binary form must reproduce the above copyright
+      notice, this list of conditions and the following disclaimer in the
+      documentation and/or other materials provided with the distribution.
+    * Neither the name of the <organization> nor the
+      names of its contributors may be used to endorse or promote products
+      derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2016-07-30 13:50:10 UTC (rev 184671)
+++ community-x86_64/PKGBUILD	2016-07-30 13:50:20 UTC (rev 184672)
@@ -1,58 +0,0 @@
-# $Id$
-# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
-
-pkgbase=python-scikit-learn
-pkgname=('python2-scikit-learn' 'python-scikit-learn')
-pkgver=0.17.1
-pkgrel=1
-pkgdesc="A set of python modules for machine learning and data mining"
-arch=('i686' 'x86_64')
-url="http://scikit-learn.sourceforge.net/"
-license=('BSD')
-makedepends=('python2-scipy' 'python-scipy' 'python2-setuptools' 'python-setuptools')
-options=(!emptydirs)
-
-source=("https://pypi.python.org/packages/source/s/scikit-learn/scikit-learn-${pkgver}.tar.gz"
-        "LICENSE")
-md5sums=('a2f8b877e6d99b1ed737144f5a478dfc'
-         '327083d2576cc0aad1b8f10b2bcd2974')
-
-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')
-  cd "$srcdir"/scikit-learn-py2-$pkgver
-
-  python2 setup.py install --root="$pkgdir"/ --optimize=1
-
-  install -D "$srcdir"/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python-scikit-learn() {
-  depends=('python-scipy')
-  cd "$srcdir"/scikit-learn-$pkgver
-
-  python setup.py install --root="$pkgdir"/ --optimize=1
-
-  install -D "$srcdir"/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-

Copied: python-scikit-learn/repos/community-x86_64/PKGBUILD (from rev 184671, python-scikit-learn/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2016-07-30 13:50:20 UTC (rev 184672)
@@ -0,0 +1,65 @@
+# $Id$
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+
+pkgbase=python-scikit-learn
+pkgname=('python2-scikit-learn' 'python-scikit-learn')
+pkgver=0.17.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/"
+license=('BSD')
+makedepends=('python2-scipy' 'python-scipy' 'python2-setuptools' 'python-setuptools')
+options=(!emptydirs)
+
+source=("https://pypi.python.org/packages/source/s/scikit-learn/scikit-learn-${pkgver}.tar.gz"
+        "LICENSE")
+md5sums=('a2f8b877e6d99b1ed737144f5a478dfc'
+         '327083d2576cc0aad1b8f10b2bcd2974')
+
+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')
+  cd "$srcdir"/scikit-learn-py2-$pkgver
+
+  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() {
+  depends=('python-scipy')
+  cd "$srcdir"/scikit-learn-$pkgver
+
+  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