# Contributor: Iztok Fister, Jr. # Maintainer: Iztok Fister, Jr. pkgname=py3-evopreprocess _pkgorig=evopreprocess pkgver=0.5.0 pkgrel=1 pkgdesc="Data Preprocessing with Evolutionary and Nature Inspired Algorithms" url="https://github.com/karakatic/EvoPreprocess" arch="noarch !riscv64 !s390x" #py3-niapy py3-imbalanced-learn license="GPL-3.0-or-later" depends=" python3 py3-imbalanced-learn py3-niapy py3-numpy py3-scipy py3-scikit-learn " makedepends="py3-setuptools" checkdepends="py3-pytest" subpackages="$pkgname-pyc" source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/e/$_pkgorig/$_pkgorig-$pkgver.tar.gz remove-tests.patch" builddir="$srcdir/$_pkgorig-$pkgver" build() { python3 setup.py build } # tests are immature; use smoke tests instead check() { PYTHONPATH=build/lib python3 -c "from evopreprocess.feature_selection import EvoFeatureSelection" } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums=" b3af5fd38c762af9283b2f350adaede08cf6b4fa681915a453a4b17c002c36286af78efb400c85f35a7bfb85e07eef8e13814c71792a38b6fcd8e244c557b042 py3-evopreprocess-0.5.0.tar.gz 03ba2a5c600119515c0cb9d73d86a8b3ff140cdb06ef49ca710c97a082a9b98c2da0d16472d1675192d8e68159fd5e82fdaa56467b829e4b68b544488dfbf07b remove-tests.patch "