blob: c97580903593c1ed0c0d9bebc42ed0a1ba1484ae (
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.2
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=('6f89a5646ced2e0846e450166e316113f0bdec771e8ae0cd89409236d9993301')
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:
|