summaryrefslogtreecommitdiff
path: root/community/py3-tcxparser/APKBUILD
blob: c74597e6d6651d1607980709735533257f21179b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# 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 --prefix=/usr --root="$pkgdir"
}

sha512sums="
6a145ee69f5398683e15216bcee61bac431aeb03dd3b4e09be075e0543b6b5afdb028757918e73da70d514de727b1c7895496da35f9ee47a7fce371d7397f648  python-tcxparser-2.3.0.tar.gz
"