diff options
author | Bart Ribbers <bribbers@disroot.org> | 2019-09-07 17:28:51 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-09-07 12:30:09 -0300 |
commit | 93e129d7119bb85aa26f74a26625178e925f3143 (patch) | |
tree | 43dfc587cdb52eefc86b7631380023f6e611c655 /testing/py3-gpxpy | |
parent | cd79d5486d6394859ce5e104d3963dcff1dc49d2 (diff) | |
download | aports-93e129d7119bb85aa26f74a26625178e925f3143.tar.bz2 aports-93e129d7119bb85aa26f74a26625178e925f3143.tar.xz |
testing/py3-gpxpy: new aport
Diffstat (limited to 'testing/py3-gpxpy')
-rw-r--r-- | testing/py3-gpxpy/APKBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/py3-gpxpy/APKBUILD b/testing/py3-gpxpy/APKBUILD new file mode 100644 index 0000000000..5bb847962b --- /dev/null +++ b/testing/py3-gpxpy/APKBUILD @@ -0,0 +1,28 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=py3-gpxpy +_pkgname=${pkgname/py3-/} +pkgver=1.3.5 +pkgrel=0 +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" |