# Contributor: Iztok Fister, Jr. # Maintainer: Iztok Fister, Jr. pkgname=py3-sklearn-nature-inspired-algorithms _pkgorig=Sklearn-Nature-Inspired-Algorithms pkgver=0.8.1 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" # py3-matplotlib, py3-scikit-learn license="MIT" depends=" py3-matplotlib py3-niapy py3-numpy py3-pandas py3-scikit-learn py3-seaborn py3-toml python3 " makedepends="py3-setuptools poetry py3-installer" checkdepends="py3-pytest" source="https://github.com/timzatko/Sklearn-Nature-Inspired-Algorithms/archive/v$pkgver/$_pkgorig-$pkgver.tar.gz" builddir="$srcdir/Sklearn-Nature-Inspired-Algorithms-$pkgver" build() { GIT_DIR="$builddir" poetry build -f wheel } check() { python3 -m unittest tests } package() { python3 -m installer -d "$pkgdir" \ dist/sklearn_nature_inspired_algorithms-$pkgver-py3-none-any.whl } sha512sums=" f5cd4326d7a80d55b72de12024fd97688ac98dfc5510b7bd343f93f246f49990cb3ac3c3c543c04e9a396627ef1087d901d2e3378f6d383263a90a964ea604f4 Sklearn-Nature-Inspired-Algorithms-0.8.1.tar.gz "