# Contributor: Iztok Fister, Jr. # Maintainer: Iztok Fister, Jr. pkgname=py3-scikit-datasets _pkgorig=scikit-datasets pkgver=0.2.4 pkgrel=0 pkgdesc="Scikit-learn-compatible datasets" url="https://github.com/daviddiazvico/scikit-datasets" # py3-scikit-learn is missing on s390x arch="noarch !s390x" license="MIT" options="!check" # network tests | skip for now depends=" python3 py3-numpy py3-scipy py3-scikit-learn " makedepends="py3-setuptools" subpackages="$pkgname-pyc" source="https://github.com/daviddiazvico/scikit-datasets/archive/v$pkgver/$_pkgorig-$pkgver.tar.gz" builddir="$srcdir/$_pkgorig-$pkgver" build() { python3 setup.py build } package() { python3 setup.py install --skip-build --root="$pkgdir" rm -r "$pkgdir"/usr/lib/python3.*/site-packages/skdatasets/tests } sha512sums=" 7097e46a807485e594e75c58ccf242ddb4683d6b039f62ec6f188d86ae8b3f3afe36ae1552b7e2a129d3a415e50e9a21c3d806557047c42bf57a1bc580bf14a2 scikit-datasets-0.2.4.tar.gz "