# Maintainer: Erich Eckner pkgname=python-wxmplot _pkgname="${pkgname#*-}" pkgver=0.9.45 pkgrel=50 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') depends=( 'python<3.10' 'python>=3.9' 'python-matplotlib>=3.0' 'python-numpy>=1.12' 'python-wxpython>=4.0.3') makedepends=( 'python-setuptools') source=( "https://pypi.python.org/packages/06/28/d12fdc072c5b09548851d664db3bcad8cf23618d3732f69e7636e3f42cee/${_pkgname}-${pkgver}.tar.gz" ) sha512sums=('8b20a8693c2d83dd08772814e06994ea0ccc9393d8f0e436b87967fd336e574f628488dfd05cdd1455cdc4a3be579c46679ec02618a7fff29402f6bfd05b5daf') build() { cd "${_pkgname}-${pkgver}" python setup.py build } package() { cd "${_pkgname}-${pkgver}" python setup.py install --skip-build --root="${pkgdir}" --prefix=/usr }