# Contributor: Iztok Fister, Jr. # Maintainer: Iztok Fister, Jr. pkgname=py3-fitparse _pkgorig=fitparse pkgver=1.2.0 pkgrel=2 pkgdesc="Python library to parse ANT/Garmin .FIT files" url="https://github.com/dtcooper/python-fitparse" arch="noarch" license="MIT" depends="python3" checkdepends="python3-dev py3-pytest" makedepends="py3-setuptools" subpackages="$pkgname-pyc" source="https://github.com/dtcooper/python-fitparse/archive/v$pkgver/$_pkgorig-$pkgver.tar.gz" builddir="$srcdir/python-$_pkgorig-$pkgver" build() { python3 setup.py build } check() { python3 -m pytest -k 'not test_utils' } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums=" 45f84986ae4ed2af7110481e9b3e601a0455e2e0fb35ca6f83ded312caebe195013b69614ccfa39118bad9606414f99f7edf7514c53d545166f242815e9431b9 fitparse-1.2.0.tar.gz "