# Maintainer: Achmad Fathoni pkgname=python-mplfinance _pkgname=${pkgname:7} pkgver=0.12.9b5 pkgrel=1 pkgdesc="Utilities for the visualization, and visual analysis, of financial data" arch=('any') url="https://pypi.org/project/${_pkgname}" license=('BSD') makedepends=(python-build python-installer python-wheel) depends=(python) source=(https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_pkgname-$pkgver.tar.gz) sha256sums=('4efa30fdfbe8bebbc44dc3f651702c1fa730a3553352e6373f97de8b88df6fa5') build() { cd ${srcdir}/${_pkgname}-${pkgver} python -m build --wheel --no-isolation } package() { cd ${srcdir}/${_pkgname}-${pkgver} python -m installer --destdir="$pkgdir" dist/*.whl }