aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-scikit-learn/APKBUILD
blob: 8046e0880014e0122fe3ab3022cc861c5740813a (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
# Contributor: Carlos Giraldo <cgiraldo@gradiant.org>
# Maintainer: Carlos Giraldo <cgiraldo@gradiant.org>
pkgname=py3-scikit-learn
_pkgname=scikit-learn
pkgver=0.20.3
pkgrel=0
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 py-numpy-dev python3-dev"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
	install -D -m 644 COPYING \
		"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}

sha512sums="fedc697b123e53badd7d75e2e0fa0749d9270c8ba52906227fda98f08b61bb40db9e0d1ffe71b030c30b64e77d000e7ba72cd9530c9f88c988dfc090c6c2872a  scikit-learn-0.20.3.tar.gz"