# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=py3-fann2 pkgver=1.2.0 pkgrel=5 pkgdesc="Python bindings for Fast Artificial Neural Networks 2.2.0" url="https://github.com/FutureLinkCorporation/fann2" arch="all" license="LGPL-2.1-only" depends="python3" makedepends="py3-setuptools fann-dev swig python3-dev" subpackages="$pkgname-dev $pkgname-pyc" source="https://github.com/FutureLinkCorporation/fann2/archive/$pkgver/fann2-$pkgver.tar.gz" options="!check" # No tests builddir="$srcdir/fann2-$pkgver" build() { python3 setup.py build } check() { python3 setup.py test } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums="6bdb661a6c48666e2d87edee9fa6c830af2fd73c8a4e3d93ef1411084a70aac27a87637e780e0c1f6c95e8ef5ae2b4c718a5d583fda1f9aeaf64490144ec9abe fann2-1.2.0.tar.gz"