blob: dc4f6f64dea324e2d93b0d8682c022c770b4b867 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Contributor: Carlos Giraldo <cgiraldo@gradiant.org>
# Maintainer: Carlos Giraldo <cgiraldo@gradiant.org>
pkgname=py3-scikit-learn
_pkgname=scikit-learn
pkgver=0.21.3
pkgrel=2
pkgdesc="a Python module for machine learning built on top of SciPy"
url="http://scikit-learn.org/"
arch="all"
license="BSD-3-Clause"
options="!check" # No test suite
depends="py3-numpy py3-scipy"
makedepends="py3-setuptools py3-numpy-dev python3-dev cython"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
case "$CARCH" in
aarch64)
export SKLEARN_NO_OPENMP=1
;;
esac
build() {
python3 setup.py build
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="f010f36a36ebe50db1c53ab8452098ea8206075b2e700dd253d4d3470b44b58c49f22c0a6139cec387c473c784c73c038633e333e3e79f84434e0ee6c365dd6a scikit-learn-0.21.3.tar.gz"
|