blob: bd16ab06a89253ca1dfdbaaf175d234e664c54ed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Maintainer: a821 <a821 - mail - de>
pkgname=python-numpy-groupies
_name=numpy-groupies
pkgver=0.11.3
pkgrel=1
pkgdesc='Optimised tools for group-indexing operations for python numpy'
arch=("any")
url="https://github.com/ml31415/numpy-groupies"
license=('BSD-2-Clause')
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'
)
source=("git+${url}.git#tag=v${pkgver}")
sha256sums=('fd02ca0e55a424919e3de7e3df6b6ebf6c1cddb508a7f749057c32076bca5a14')
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:
|