# Contributor: Iztok Fister, Jr. # Maintainer: Iztok Fister, Jr. pkgname=py3-niaclass _pkgorig=niaclass pkgver=0.1.4 pkgrel=2 pkgdesc="Framework for solving classification tasks using nature-inspired algorithms" url="https://github.com/lukapecnik/NiaClass" arch="noarch !s390x !riscv64" # py3-scikit-learn, py3-niapy license="MIT" depends="python3 py3-numpy py3-pandas py3-niapy py3-scikit-learn" checkdepends="py3-pytest" makedepends="py3-poetry-core py3-gpep517" subpackages="$pkgname-pyc" source="https://github.com/lukapecnik/NiaClass/archive/$pkgver/$_pkgorig-$pkgver.tar.gz" builddir="$srcdir/NiaClass-$pkgver" build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } check() { python3 -m pytest } package() { python3 -m installer -d "$pkgdir" \ .dist/niaclass-$pkgver-py3-none-any.whl } sha512sums=" 6101661a34a2ffd876ff467fade40b1da77045dc4506767cd9c3db7f3bfa479df4d125e05cf62ac6a74f40148d5be5a6e5ca7d71f9849799f6b7a2f3f645a0ce niaclass-0.1.4.tar.gz "