# Maintainer: Guillaume Horel pkgname=python-fiona pkgver=1.8.17 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=('83961298b0194038724dabb8506d9baf9acc3c8ef6ec7ea1dd47d969f06e9c08') 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 }