# Maintainer: Guillaume Horel pkgname=python-fiona pkgver=1.8.18 pkgrel=1 pkgdesc="Reads and writes spatial data files" arch=('x86_64') url="https://github.com/Toblerity/Fiona" license=('BSD') checkdepends=('python-boto3' 'python-click-plugins' 'python-pytest') depends=('python-six' 'python-cligj' 'python-munch' 'gdal') makedepends=('cython') optdepends=('python-click-plugins: for fio command line tool.') options=(!emptydirs) source=("$pkgname-$pkgver.tar.gz::https://github.com/Toblerity/Fiona/archive/$pkgver.tar.gz") sha256sums=('ae019a3f7fec97f49969a804f7ea24b7b02b4ca433f55dd3716da51d5946ed17') check() { cd "$srcdir/Fiona-$pkgver" python setup.py build_ext --inplace pytest -m "not wheel" } package() { cd "$srcdir/Fiona-$pkgver" python setup.py install --root="$pkgdir/" --optimize=1 }