# Maintainer: Daichi Shinozaki # Maintainer: David Rosenstrauch pkgbase='python-common-ta-lib' pkgname=("python-ta-lib") pkgver=0.4.28 pkgrel=2 pkgdesc="Python wrapper for TA-Lib" url="https://github.com/TA-Lib/ta-lib-python" makedepends=('python-setuptools' 'python-numpy' 'cython' 'ta-lib' 'python-build') license=('BSD') arch=('any') source=("https://github.com/TA-Lib/ta-lib-python/archive/refs/tags/TA_Lib-$pkgver.tar.gz") sha256sums=('26d7285e9cad629397dc4d23db558f72d34641e63d96fe94674a1ef8240914eb') build() { cd "$srcdir"/ta-lib-python-TA_Lib-$pkgver python -m build --wheel --no-isolation } package_python-ta-lib() { depends=('python-numpy' 'ta-lib') optdepends=('cython') cd $srcdir/ta-lib-python-TA_Lib-$pkgver python -m installer --destdir="$pkgdir" dist/*.whl }