# Contributor: Iztok Fister, Jr. # Maintainer: Iztok Fister, Jr. pkgname=py3-batalgorithm _pkgorig=BatAlgorithm pkgver=0.3.1 pkgrel=4 pkgdesc="Implementation of bat-inspired metaheuristic algorithm" url="https://github.com/buma/BatAlgorithm" arch="noarch" license="MIT" depends="python3 py3-numpy" makedepends="py3-setuptools" subpackages="$pkgname-pyc" source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/B/BatAlgorithm/BatAlgorithm-$pkgver.tar.gz" builddir="$srcdir/$_pkgorig-$pkgver" build() { python3 setup.py build } # no tests provided by the upstream; use smoke tests check() { PYTHONPATH=build/lib python3 -c "from BatAlgorithm import *" } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums=" bef691a55df0cfa99d09162c4ef669fe71714bb2d76f4adabad97d95a5222419a14e36b824d1d2be28c31857a2b84c655aa8583afc8d90d23eb3e9e57414baaf py3-batalgorithm-0.3.1.tar.gz "