# Contributor: Iztok Fister, Jr. # Maintainer: Iztok Fister, Jr. pkgname=py3-cma _pkgorig=cma pkgver=3.3.0 pkgrel=1 pkgdesc="Python implementation of CMA-ES" url="https://github.com/CMA-ES/pycma" arch="noarch" license="BSD-3-Clause" depends=" python3 py3-matplotlib py3-numpy " makedepends="py3-setuptools" subpackages="$pkgname-pyc" source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/c/cma/cma-$pkgver.tar.gz" builddir="$srcdir/$_pkgorig-$pkgver" build() { python3 setup.py build } check() { PYTHONPATH=build/lib python3 -c "import cma" } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums=" 508a12aa93546ac174b6cd693ce3c1098f408a429dbbb4ede9b79f31a67099cecd9853f56edfea5a18a21d63274359332f168825385664660fecf1cdfa3a9d8a py3-cma-3.3.0.tar.gz "