# Maintainer: a821 pkgname=python-numpy-groupies _name=numpy-groupies pkgver=0.10.1 pkgrel=1 pkgdesc='Optimised tools for group-indexing operations for python numpy' arch=("any") url="https://github.com/ml31415/numpy-groupies" license=('BSD') depends=('python-numpy') makedepends=('git' 'python-build' 'python-installer' 'python-setuptools-scm' 'python-wheel') optdepends=( 'python-numba: for numba backend' 'python-pandas: for pandas backend' ) _commit=dbae25b2bbb20a66ca08d2908af54e868847db11 source=("git+${url}.git#commit=${_commit}") sha256sums=('SKIP') build() { cd "${_name}" python -m build --wheel --no-isolation } package() { cd "${_name}" python -m installer --destdir="$pkgdir" dist/*.whl install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } # vim: set ts=4 sw=4 et: