# Contributor: Iztok Fister, Jr. # Maintainer: Iztok Fister, Jr. pkgname=py3-mealpy pkgver=2.5.4 pkgrel=0 pkgdesc="Meta-Heuristic Algorithms using Python" url="https://github.com/thieu1995/mealpy" arch="noarch" license="GPL-3.0-or-later" depends="python3 py3-numpy py3-matplotlib py3-opfunu py3-scipy" checkdepends="python3-dev py3-pytest" makedepends="py3-setuptools" subpackages="$pkgname-pyc" source="https://github.com/thieu1995/mealpy/archive/v$pkgver/mealpy-$pkgver.tar.gz" builddir="$srcdir/mealpy-$pkgver" build() { python3 setup.py build } check() { python3 -m pytest -k "not test_HC" } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums=" 4679c80b41338ee1939dbd2f923817faaa5c7d1817360bb803f5e5cee986ce0b74fa526fc5cfe54dc39a586738889f6a9e8b8a158af577c579b4c32999d08526 mealpy-2.5.4.tar.gz "