upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / python-rtree / trunk / PKGBUILD
bloba2af05d718a395bd26f2deaf17905b25f4c7cfcc
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=python-rtree
4 pkgver=1.0.1
5 pkgrel=2
6 pkgdesc="Rtree: spatial index for Python GIS"
7 url="https://toblerity.github.com/rtree/"
8 license=('LGPL')
9 arch=('any')
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')
16 build() {
17   cd rtree-$pkgver
18   python setup.py build
21 check() {
22   cd rtree-$pkgver
23   python setup.py pytest
26 package() {
27   cd rtree-$pkgver
28   python setup.py install --root="$pkgdir" --optimize=1