30 lines
921 B
Bash
30 lines
921 B
Bash
# Template file for 'python-scikit-learn'
|
|
pkgname=python-scikit-learn
|
|
version=0.20.4
|
|
revision=1
|
|
wrksrc="scikit-learn-${version}"
|
|
build_style=python-module
|
|
pycompile_module="sklearn"
|
|
hostmakedepends="python-setuptools python3-setuptools python-Cython python3-Cython"
|
|
makedepends="python-devel python3-devel python-scipy python3-scipy"
|
|
depends="python-scipy"
|
|
short_desc="Python2 modules for machine learning and data mining"
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://scikit-learn.org/"
|
|
distfiles="https://github.com/scikit-learn/scikit-learn/archive/${version}.tar.gz"
|
|
checksum=1ec7a8dbf45fec730afaf6c783a797f9863fefc1225735ac4ce4706cc5857415
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|
|
|
|
python3-scikit-learn_package() {
|
|
depends="python3-scipy"
|
|
pycompile_module="sklearn"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense COPYING
|
|
}
|
|
}
|