# Maintainer: Achmad Fathoni pkgname=python-ffn _pkgname=${pkgname:7} pkgver=0.3.7 pkgrel=1 pkgdesc="Financial functions for Python" arch=('any') url="https://pypi.org/project/${_pkgname}" license=('MIT') makedepends=(python-build python-installer python-wheel) depends=( python python-decorator python-future python-matplotlib python-numpy python-pandas python-pandas-datareader python-scikit-learn python-scipy python-tabulate ) source=(https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_pkgname-$pkgver.tar.gz) sha256sums=('58b0056e680f4291ab61c6f55809f2d21a339f5c4ec48bba2ecee32f20bbd09e') build() { cd ${srcdir}/${_pkgname}-${pkgver} python -m build --wheel --no-isolation } package() { cd ${srcdir}/${_pkgname}-${pkgver} python -m installer --destdir="$pkgdir" dist/*.whl }