# Maintainer: Erich Eckner pkgname=python-wxmplot _pkgname="${pkgname#*-}" pkgver=0.9.41 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') depends=( 'python>=3.8' 'python<3.9' 'python-matplotlib>=2.0' 'python-numpy>=1.12' 'python-six>=1.10' 'python-wxpython>=4.0.3' ) makedepends=( 'python-setuptools') source=( "https://pypi.python.org/packages/d5/7e/01ce59d29ef9bd3e6d5f66af8883e4dccf24b63513210927d92ca31e1c55/${_pkgname}-${pkgver}.tar.gz" ) sha512sums=('9c31353432308734f8f1aa9c411f4c192e4239bc4d85534561e258359da06fe50a52407eaa05ac85393f899498c41cb5eeee59b1beef43c2a39176acbcf5621a') build() { cd "${_pkgname}-${pkgver}" python setup.py build } package() { cd "${_pkgname}-${pkgver}" python setup.py install --skip-build --root="${pkgdir}" --prefix=/usr }