# Contributor: Iztok Fister, Jr. # Maintainer: Iztok Fister, Jr. pkgname=py3-ast-monitor pkgver=0.3.2 pkgrel=0 pkgdesc="A wearable Raspberry Pi computer for cyclists" url="https://github.com/firefly-cpp/AST-Monitor" arch="noarch !s390x !riscv64 !armhf !ppc64le" # py3-sport-activities-features # py3-pyqt-feedback-flow license="MIT" depends=" python3 py3-geopy py3-matplotlib py3-pyqt-feedback-flow py3-qt5 py3-qtwebengine py3-sport-activities-features py3-tcxreader " checkdepends="python3-dev py3-pytest" makedepends="py3-gpep517 py3-poetry-core py3-installer" subpackages="$pkgname-doc" source="https://github.com/firefly-cpp/AST-Monitor/archive/$pkgver/ast_monitor-$pkgver.tar.gz" builddir="$srcdir/AST-Monitor-$pkgver" build() { gpep517 build-wheel \ --wheel-dir dist \ --output-fd 3 3>&1 >&2 } check() { python3 -m venv --clear --without-pip --system-site-packages testenv testenv/bin/python3 -m installer dist/*.whl testenv/bin/python3 -m pytest } package() { python3 -m installer -d "$pkgdir" \ dist/*.whl install -Dm644 docs/preprints/2109-13334.pdf -t "$pkgdir"/usr/share/doc/$pkgname } sha512sums=" 37175341126153de808a3130441ca9be070143dfddd35ee1df75875f88e3b42d328511ec52e342de1fbc78944b74ff2a1530b202f15bc294fcaf0d535c753307 ast_monitor-0.3.2.tar.gz "