# Maintainer: Erich Eckner pkgname=python2-wxmplot pkgver=0.9.31 pkgrel=1 pkgdesc='A library for plotting in wxPython using matplotlib' arch=('any') url='https://pypi.python.org/pypi/wxmplot/0.9.18' license=('OSI Approved :: MIT License') groups=() depends=( 'python2>=2.7' 'python2<2.8' 'wxpython' 'python2-matplotlib' ) makedepends=( 'python2-setuptools' ) checkdepends=() optdepends=() provides=() conflicts=() replaces=() backup=() options=() source=( "${pkgname}-${pkgver}.tar.gz::https://pypi.python.org/packages/47/a8/677f54c0ada4724525f4a15b5a2f2a1b4493e72d2c36401e8b4e39afe935/${pkgname#*-}-${pkgver}.tar.gz" ) sha512sums=('b768faee92b07afd305527603d52dc5a834aeeca8118a8ebf3f34c1ee05aa55ea344974ae991422206fac06c691385baaaf8a8fbea5b9239a8ed10f9c835382c') build() { cd ${pkgname#*-}-${pkgver} python2 setup.py build } package() { cd ${pkgname#*-}-${pkgver} python2 setup.py install --skip-build --root="${pkgdir}" --prefix=/usr }