1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 12:15:32 +03:00
aports/community/py3-gpxpy/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

29 lines
715 B
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-gpxpy
pkgver=1.5.0
pkgrel=1
pkgdesc="Python3 GPX parser"
url="https://github.com/tkrajina/gpxpy"
arch="noarch"
license="Apache-2.0"
depends="python3"
makedepends="py3-setuptools"
source="https://pypi.python.org/packages/source/g/gpxpy/gpxpy-$pkgver.tar.gz"
builddir="$srcdir/gpxpy-$pkgver"
build() {
python3 setup.py build
}
check() {
python3 -m unittest test
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
fba3b7b3e87faaa808279cba8f58f884fc1e33fcac37322bbe98f67b4ed782d1e59129f4c1505730617f4ec408babc429345d1bb4e88e6f50ee83cfe61fcc17a gpxpy-1.5.0.tar.gz
"