summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 06f8b025b8069d8a04f249d39efe38dd970e6413 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Jean-Luc Tambasco <an.obscurity@gmail.com>

pkgname=descartes
pkgver=1
pkgrel=2
pkgdesc="Use Shapely or GeoJSON-like geometric objects as matplotlib paths and patches."
arch=('x86_64')
url="https://github.com/Toblerity/Shapely"
groups=('descartes')
depends=('python2-shapely')
makedepends=('mercurial')
source=('hg+https://bitbucket.org/sgillies/descartes')
md5sums=('SKIP')

build() {
        cd "$srcdir/${pkgname}"
        python2 setup.py build
}

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