# Contributor: Carlos Giraldo # Maintainer: Carlos Giraldo pkgname=py3-scikit-learn _pkgname=scikit-learn pkgver=0.22.1 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 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="14191baf3457a3d216d74be34497a3677dd91bb1d3916db6928a4fa1ce93a62c5c9c9879a99fe5317fe088b85b00556087748470a93d3b9d89dbac850a00bc26 scikit-learn-0.22.1.tar.gz"