# Contributor: Iztok Fister, Jr. # Maintainer: Iztok Fister, Jr. pkgname=py3-permetrics pkgver=1.4.3 pkgrel=0 pkgdesc="Artificial intelligence (AI, ML, DL) performance metrics implemented in Python" url="https://github.com/thieu1995/permetrics" arch="noarch" license="Apache-2.0 license" depends="python3 py3-numpy py3-scipy" makedepends="py3-setuptools" subpackages="$pkgname-pyc" source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/p/permetrics/permetrics-$pkgver.tar.gz" builddir="$srcdir/permetrics-$pkgver" build() { python3 setup.py build } # no tests provided by the upstream; use smoke tests check() { PYTHONPATH=build/lib python3 -c "import permetrics" } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums=" b05560a1aba247c573c47e6b6f7fedaa39b7d3c15be416699bc8441cafa971ad1ab276bd894dfd28550b741f3a91f76bb7faa3d01ac661c5be1fb2b17ee88960 py3-permetrics-1.4.3.tar.gz "