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