aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorCarlos Giraldo <cgiraldo@gradiant.org>2019-04-30 17:31:56 +0200
committerKevin Daudt <kdaudt@alpinelinux.org>2019-05-03 04:51:08 +0000
commit7a7e9b66bca6454403dde5b9b3258bb7135b0eba (patch)
tree958ee0714529cbff9a680281b75095cab4d02f3c /testing
parent0b0a6e84dcc2d116e44037d3a665836e7bc3bf2d (diff)
downloadaports-7a7e9b66bca6454403dde5b9b3258bb7135b0eba.tar.bz2
aports-7a7e9b66bca6454403dde5b9b3258bb7135b0eba.tar.xz
testing/py-scikit-learn: new aport
http://scikit-learn.org/ scikit-learn is a Python module for machine learning built on top of SciPy
Diffstat (limited to 'testing')
-rw-r--r--testing/py3-scikit-learn/APKBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/py3-scikit-learn/APKBUILD b/testing/py3-scikit-learn/APKBUILD
new file mode 100644
index 0000000000..8046e08800
--- /dev/null
+++ b/testing/py3-scikit-learn/APKBUILD
@@ -0,0 +1,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"