1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
6 pkgdesc="Rtree: spatial index for Python GIS"
7 url="https://toblerity.github.com/rtree/"
10 depends=('python' 'spatialindex')
11 makedepends=('python-setuptools' 'python-wheel')
12 checkdepends=('python-pytest-runner' 'python-pytest-cov' 'python-numpy')
13 source=("https://github.com/Toblerity/rtree/archive/$pkgver/$pkgname-$pkgver.tar.gz")
14 sha512sums=('473ed3bb6457a9831e464b102e52c9ff8667192d2c26880d4cb0bd3bbec51549a532d99ea44650be900298a1ea9302a6aab9c97e0b67c025a0362738062836c7')
23 python setup.py pytest
28 python setup.py install --root="$pkgdir" --optimize=1