aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-gpxpy/APKBUILD
blob: 94c54e125c0a36f9a2be1f1da53d19fd5175ad83 (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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-gpxpy
_pkgname=${pkgname/py3-/}
pkgver=1.3.5
pkgrel=1
pkgdesc="A python GPX parser"
url="https://github.com/tkrajina/gpxpy"
arch="noarch"
license="Apache-2.0"
depends="python3"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/tkrajina/$_pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="7dc1a93f93eb3b8827e5dd5ceb3e49dc9d2be7dabddf4fb2b81c64c929f5f640ad6a62fefe9ee2762d5d04431a2e2ca4e57d2d9324dc8803b80840429cb57009  py3-gpxpy-1.3.5.tar.gz"