git » python-numpy.git » main » tree

[main] / PKGBUILD

_pkgname=numpy
pkgname=python-$_pkgname
pkgver=1.26.4
pkgrel=1
arch=('armv7h' 'aarch64')
license=('unknown')
depends=(python-cython python-pyproject-metadata meson-python)

source=(https://files.pythonhosted.org/packages/source/n/numpy/numpy-$pkgver.tar.gz
)

build() {
	cd "$_pkgname-$pkgver"
	pip3 wheel -w dist --no-build-isolation --no-deps --no-cache-dir -Csetup-args=-Dallow-noblas=true $PWD
}

package() {
	cd "$_pkgname-$pkgver"
	pip3 install --root="$pkgdir" --no-index --find-links=dist --no-cache-dir --no-user $_pkgname
}
sha256sums=('2a02aba9ed12e4ac4eb3ea9421c420301a0c6460d9830d74a9df87efa4912010')