[arch-commits] Commit in python-scikit-learn/trunk (LICENSE PKGBUILD)

Andrzej Giniewicz aginiewicz at archlinux.org
Wed Oct 5 16:42:16 UTC 2016


    Date: Wednesday, October 5, 2016 @ 16:42:15
  Author: aginiewicz
Revision: 191398

upgpkg: python-scikit-learn 0.18-1

python-scikit-learn: new upstream release

Modified:
  python-scikit-learn/trunk/PKGBUILD
Deleted:
  python-scikit-learn/trunk/LICENSE

----------+
 LICENSE  |   24 ------------------------
 PKGBUILD |   16 +++++++---------
 2 files changed, 7 insertions(+), 33 deletions(-)

Deleted: LICENSE
===================================================================
--- LICENSE	2016-10-05 16:18:26 UTC (rev 191397)
+++ LICENSE	2016-10-05 16:42:15 UTC (rev 191398)
@@ -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.

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-05 16:18:26 UTC (rev 191397)
+++ PKGBUILD	2016-10-05 16:42:15 UTC (rev 191398)
@@ -3,19 +3,17 @@
 
 pkgbase=python-scikit-learn
 pkgname=('python2-scikit-learn' 'python-scikit-learn')
-pkgver=0.17.1
-pkgrel=2
+pkgver=0.18
+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')
+makedepends=('python2-scipy' 'python-scipy' 'python2-setuptools' 'python-setuptools' 'cython' 'cython2')
 options=(!emptydirs)
 
-source=("https://pypi.python.org/packages/source/s/scikit-learn/scikit-learn-${pkgver}.tar.gz"
-        "LICENSE")
-md5sums=('a2f8b877e6d99b1ed737144f5a478dfc'
-         '327083d2576cc0aad1b8f10b2bcd2974')
+source=("https://github.com/scikit-learn/scikit-learn/archive/${pkgver}.tar.gz")
+md5sums=('70716d91e10a2142768f8a551aebb20f')
 
 prepare() {
   cd "$srcdir"
@@ -44,7 +42,7 @@
 
   python2 setup.py install --root="$pkgdir"/ --optimize=1
 
-  install -D "$srcdir"/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  install -D COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 
   # See FS#49651
   install -d "$pkgdir"/usr/share/doc/$pkgname
@@ -57,7 +55,7 @@
 
   python setup.py install --root="$pkgdir"/ --optimize=1
 
-  install -D "$srcdir"/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  install -D COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 
   # See FS#49651
   install -d "$pkgdir"/usr/share/doc/$pkgname



More information about the arch-commits mailing list