# Contributor: Iztok Fister, Jr. # Maintainer: Iztok Fister, Jr. pkgname=py3-fitfile _pkgorig=fitfile pkgver=1.1.3 pkgrel=2 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=" python3-dev py3-pytest " makedepends=" py3-gpep517 py3-setuptools py3-wheel " 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=" 1ec53b7e6770c74110c5caa9091ba3653d36302fa1c8694b04d5e9ac3047e452eafdb1cdd837371fb2a837b54d8f05b151b0def9107ac2314f98f51adba31a20 py3-fitfile-1.1.3.tar.gz "