summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7a1837fb2c6578a8a811bc60266e671a1b5d96ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer: Guillaume Horel <guillaume.horel@gmail.com>
pkgname=python-geopandas
_pkgname=geopandas
pkgver=0.2.1
pkgrel=1
pkgdesc="Geographic pandas extension"
arch=('any')
url="https://github.com/geopandas/geopandas"
license=('BSD')
checkdepends=('python-nose' 'python-descartes')
depends=('python' 'python-numpy' 'python-pandas' 'python-shapely' 'python-fiona' 'python-six' 'python-pyproj')
optdepends=('python-geopy' 'python-psycopg2' 'python-descartes' 'python-rtree')
options=(!emptydirs)
source=("https://github.com/geopandas/geopandas/archive/v$pkgver.tar.gz")
sha256sums=('1e1845acbf6cf8dd2850aec9bfaa92892e462887903e3ea1abb8111e88a41206')

prepare() {
    cd "$srcdir/$_pkgname-$pkgver"
}

#check() {
#    cd "$srcdir/$_pkgname-$pkgver"
#    nosetests
#}

package() {
  cd "$srcdir/$_pkgname-$pkgver"
  python setup.py install --root="$pkgdir/" --optimize=1
}