mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-10-30 07:51:58 +01:00
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
31 lines
828 B
Plaintext
31 lines
828 B
Plaintext
# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
pkgname=py3-tcxparser
|
|
_pkgorig=python-tcxparser
|
|
pkgver=2.3.0
|
|
pkgrel=1
|
|
pkgdesc="Simple parser for Garmin TCX files"
|
|
url="https://github.com/vkurup/python-tcxparser"
|
|
arch="noarch"
|
|
license="BSD"
|
|
depends="python3 py3-lxml py3-dateutil"
|
|
makedepends="py3-setuptools"
|
|
source="https://github.com/vkurup/python-tcxparser/archive/$pkgver/$_pkgorig-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgorig-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 -m unittest
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
6a145ee69f5398683e15216bcee61bac431aeb03dd3b4e09be075e0543b6b5afdb028757918e73da70d514de727b1c7895496da35f9ee47a7fce371d7397f648 python-tcxparser-2.3.0.tar.gz
|
|
"
|