parent
eaad31337a
commit
836a7bda58
|
@ -0,0 +1,31 @@
|
||||||
|
# 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
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1 @@
|
||||||
|
python-scikit-learn
|
Loading…
Reference in New Issue