# Contributor: Bradley J Chambers # Maintainer: Bradley J Chambers pkgname=py3-pdal pkgver=2.1.8 pkgrel=1 pkgdesc="PDAL Python bindings" url="https://github.com/pdal/python" arch="x86_64" license="BSD-3-Clause" depends="python3 py3-numpy" makedepends="cython3 python3-dev py3-setuptools py3-packaging pdal-dev>=1.7.2-r1 py3-numpy-dev libxml2-dev" source="$pkgname-$pkgver.tar.gz::https://github.com/PDAL/python/archive/$pkgver.tar.gz" builddir="$srcdir/python-$pkgver" replaces="py-pdal" # Backwards compatibility provides="py-pdal=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } check() { python3 setup.py test } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="63943f376083b66b531c7b85722e7878383cba0a0d35c751c6127ed4ccddfa4b8bf52ff00481971bb5af05d7b0bc7531b67571db3d147b5c86ecfb809d718954 py3-pdal-2.1.8.tar.gz"