# Contributor: Iztok Fister, Jr. # Maintainer: Iztok Fister, Jr. pkgname=py3-fitfile _pkgorig=fitfile pkgver=1.1.4 pkgrel=1 pkgdesc="Decode/parse Garmin's FIT format files" url="https://github.com/tcgoetz/Fit" arch="noarch" license="GPL-2.0-or-later" depends="python3" checkdepends=" py3-pytest " makedepends=" py3-gpep517 py3-setuptools py3-wheel " subpackages="$pkgname-pyc" source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/f/fitfile/fitfile-$pkgver.tar.gz" builddir="$srcdir/$_pkgorig-$pkgver" build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } check() { python3 -m pytest } package() { python3 -m installer --destdir="$pkgdir" .dist/*.whl } sha512sums=" 601f9aa5f4c24b5d9e83d6d438af619ea52a3580f369161da9f8a64f49ae85afe8a81a07fa1426a2be0ee8dec8c401bdd1296a090a36f4d3e8283ea12f3e9d7b py3-fitfile-1.1.4.tar.gz "