summaryrefslogtreecommitdiff
path: root/community/python-scikit-learn
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-03-28 03:35:53 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-03-28 03:35:53 +0000
commitdef73efccccb818d214cb818e8b4de8385444a43 (patch)
tree89db423b051ce9f971b6f7386ada2a3573b6e3b7 /community/python-scikit-learn
parenteb411a7c7cc929ada01019bd4c306116ce385693 (diff)
Fri Mar 28 03:32:00 UTC 2014
Diffstat (limited to 'community/python-scikit-learn')
-rw-r--r--community/python-scikit-learn/PKGBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/community/python-scikit-learn/PKGBUILD b/community/python-scikit-learn/PKGBUILD
index ae64bf4d2..cb29708a9 100644
--- a/community/python-scikit-learn/PKGBUILD
+++ b/community/python-scikit-learn/PKGBUILD
@@ -1,15 +1,15 @@
-# $Id: PKGBUILD 96814 2013-09-05 19:19:46Z aginiewicz $
+# $Id: PKGBUILD 108494 2014-03-27 14:48:23Z fyan $
# Maintainer: Andrzej Giniewicz <gginiu@gmail.com>
pkgbase=python-scikit-learn
pkgname=('python2-scikit-learn' 'python-scikit-learn')
pkgver=0.14.1
-pkgrel=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')
+makedepends=('python2-scipy' 'python-scipy' 'python2-setuptools' 'python-setuptools' 'cython')
options=(!emptydirs)
source=("http://downloads.sourceforge.net/project/scikit-learn/scikit-learn-${pkgver}.tar.gz"
@@ -27,6 +27,8 @@ build() {
msg "Building Python3"
cd "$srcdir"/scikit-learn-$pkgver
+ # Regenerate _k_means.c using newer cython to fix python 3.4 compile error
+ cython sklearn/cluster/_k_means.pyx
python setup.py build
}