# Contributor: Iztok Fister, Jr. # Maintainer: Iztok Fister, Jr. pkgname=py3-sklearn-nature-inspired-algorithms _pkgorig=Sklearn-Nature-Inspired-Algorithms pkgver=0.12.0 pkgrel=0 pkgdesc="Nature-inspired algorithms for hyper-parameter tuning of Scikit-Learn models" url="https://github.com/timzatko/Sklearn-Nature-Inspired-Algorithms" arch="noarch !riscv64 !s390x !armv7" # py3-matplotlib, py3-scikit-learn, assertion errors license="MIT" depends=" py3-matplotlib py3-niapy py3-numpy py3-pandas py3-scikit-learn py3-seaborn python3 " makedepends="py3-poetry-core py3-gpep517 py3-platformdirs py3-threadpoolctl py3-installer" checkdepends="py3-pytest" subpackages="$pkgname-pyc" source="https://github.com/timzatko/Sklearn-Nature-Inspired-Algorithms/archive/v$pkgver/$_pkgorig-$pkgver.tar.gz poetry-core.patch " builddir="$srcdir/Sklearn-Nature-Inspired-Algorithms-$pkgver" build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } check() { python3 -m unittest tests } package() { python3 -m installer -d "$pkgdir" \ .dist/sklearn_nature_inspired_algorithms-$pkgver-py3-none-any.whl } sha512sums=" 42d2b9c289d02e076f5ce1252386a1ba760ae42027cb8a4b1067bfdf71d851829b7d22b23caad7c9994483a711ecacc611ec3201c2ec6e86648b977e187d0d74 Sklearn-Nature-Inspired-Algorithms-0.12.0.tar.gz c65bcad8462a205d246c566a4d4587a4e03cbdb908c25010ccfce2bb4bf5fe5cf95e7adf59865db95aa182b0a24023075f66a118cfa2ef9e05e1c7e427837ee3 poetry-core.patch "