1 # Maintainer: Bruno Pagani <archange@archlinux.org>
7 pkgdesc="Vectorized vector I/O using OGR"
9 url="https://pyogrio.readthedocs.io/"
11 depends=(gdal python-certifi python-numpy)
12 makedepends=(cython python-setuptools python-versioneer)
13 checkdepends=(python-pytest)
14 source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
15 sha256sums=('4b8f0666701766a7ac3774b6f1c5f8dd5d72f1ed18cb319790835d8f8d073ce5')
22 # ModuleNotFoundError: No module named 'pyogrio._ogr' even when setting PYTHONPATH or using a venv
24 # cd ${_pkg}-${pkgver}
25 # pytest -vv --color=yes
30 python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
31 install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}