1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 03:05:48 +03:00
aports/community/py3-fitparse/APKBUILD
psykose deb62258ec */*: set --skip-build for python installs
this marginally increases install speed by not checking if it needs a rebuild.
also remove --prefix=/usr as it defaults to /usr already.

might break a build or two, will fix later
2023-01-10 04:19:31 +01:00

31 lines
866 B
Text

# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
pkgname=py3-fitparse
_pkgorig=fitparse
pkgver=1.2.0
pkgrel=1
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"
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
"