# Contributor: Bradley J Chambers # Maintainer: Bradley J Chambers pkgname=py3-pdal pkgver=2.2.2 pkgrel=0 pkgdesc="PDAL Python bindings" url="https://github.com/pdal/python" arch="x86_64" license="BSD-3-Clause" depends="python3 py3-numpy" makedepends="cython 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="120cd86d773eea9c621a58efd81ebaee8323ea4dc2f51513a7f02eaa38ae363ba689a5e83737d199a033eece8503007abd5536bec2bf7c9d0ada5f8890f831e9 py3-pdal-2.2.2.tar.gz"