# Maintainer: Erich Eckner pkgname=python-wxmplot _pkgname="${pkgname#*-}" pkgver=0.9.42 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') makedepends=( 'python-setuptools') depends=( 'python>=3.8' 'python<3.9') source=( "https://pypi.python.org/packages/76/48/6506f11d696c97fbb7693abb9d7b098b6c13b8ecf44ece64ba040aace5aa/${_pkgname}-${pkgver}.tar.gz" ) sha512sums=('8c68f36f52d076ef9a25a386c58965832dddc7506466a46c36fe3ccf6b88467b27bf641df79eb392d4e6bc8b519b28062bde915f2772ad3098ed7a6b9502576e') build() { cd "${_pkgname}-${pkgver}" python setup.py build } package() { cd "${_pkgname}-${pkgver}" python setup.py install --skip-build --root="${pkgdir}" --prefix=/usr }