# Contributor: Iztok Fister, Jr. # Maintainer: Iztok Fister, Jr. pkgname=niaaml-gui _pkgorig=NiaAML-GUI pkgver=0.1.13 pkgrel=5 pkgdesc="GUI for NiaAML Python package" url="https://github.com/lukapecnik/NiaAML-GUI" arch="noarch !s390x !riscv64 !ppc64le" # py3-scikit-learn, py3-niapy license="MIT" depends="python3 py3-niapy py3-niaaml py3-qtawesome py3-qt5" checkdepends="py3-pytest" makedepends="py3-poetry-core py3-gpep517" subpackages="$pkgname-pyc" source="https://github.com/lukapecnik/NiaAML-GUI/archive/$pkgver/$_pkgorig-$pkgver.tar.gz" builddir="$srcdir/NiaAML-GUI-$pkgver" build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } check() { python3 -m pytest } package() { python3 -m installer -d "$pkgdir" \ .dist/niaaml_gui-$pkgver-py3-none-any.whl install -Dm644 AppData/io.github.lukapecnik.niaaml_gui.desktop "$pkgdir"/usr/share/applications/niaaml_gui.desktop install -Dm644 AppData/niaaml-gui.png "$pkgdir"/usr/share/icons/hicolor/256x256/apps/niaaml-gui.png } sha512sums=" f7d6fad77560f8d466f3df3143c707bd2bb39619c4dd39a01085312ea1977e4d980773a16c1a5f243b8f125443b884f274bd2abde2b658f4a63059083e7f6aba NiaAML-GUI-0.1.13.tar.gz "