# Contributor: Iztok Fister, Jr. # Maintainer: Iztok Fister, Jr. pkgname=py3-nimfa _pkgorig=nimfa pkgver=1.4.0 pkgrel=1 pkgdesc="Nonnegative matrix factorization in Python" url="https://github.com/mims-harvard/nimfa" # segfaults in check arch="noarch !armhf" license="BSD-3-Clause" depends=" python3 py3-numpy py3-scipy " makedepends="py3-setuptools" checkdepends="python3-dev py3-matplotlib py3-pytest" subpackages="$pkgname-pyc" source="https://github.com/mims-harvard/nimfa/archive/v$pkgver/$_pkgorig-$pkgver.tar.gz" builddir="$srcdir/$_pkgorig-$pkgver" build() { python3 setup.py build } check() { python3 -m pytest -k 'not test_cbcl' # test file not present } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums=" ec933a78cc64da050770e41692913df5398efb4e4cb344c2e7d7203d5051d22265ff442e166889552253d9c6e817aef40bee68e569e473ba7df8396039d964cf nimfa-1.4.0.tar.gz "