# Maintainer: Erich Eckner pkgname=python2-wxmplot pkgver=0.9.30 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' 'wxpython' 'python2-matplotlib' ) makedepends=( 'python2-setuptools' ) checkdepends=() optdepends=() provides=() conflicts=() replaces=() backup=() options=() source=( "${pkgname}-${pkgver}.tar.gz::https://pypi.python.org/packages/0c/7a/b6744f4ce5aaf28b1411289635b417417238b8b82c633050bbd10ee05a43/${pkgname#*-}-${pkgver}.tar.gz" ) sha512sums=('dea902e0a2bc615708b1b34455c16480cfdba13aadf31ee4e34a652f5b13facf33e115bf714c81a4cc93e70d2ae27415bcfae2889c71660a848604101bf48d04') build() { cd ${pkgname#*-}-${pkgver} python2 setup.py build } package() { cd ${pkgname#*-}-${pkgver} python2 setup.py install --skip-build --root="${pkgdir}" --prefix=/usr }