mirror of https://github.com/pyodide/pyodide.git
34 lines
1.1 KiB
YAML
34 lines
1.1 KiB
YAML
package:
|
|
name: numpy
|
|
version: 1.26.1
|
|
tag:
|
|
- min-scipy-stack
|
|
top-level:
|
|
- numpy
|
|
source:
|
|
url: https://files.pythonhosted.org/packages/78/23/f78fd8311e0f710fe1d065d50b92ce0057fe877b8ed7fd41b28ad6865bfc/numpy-1.26.1.tar.gz
|
|
sha256: c8c6c72d4a9f831f328efb1312642a1cafafaa88981d9ab76368d50d07d93cbe
|
|
|
|
build:
|
|
# numpy uses vendored meson, so we need to pass the cross file manually
|
|
backend-flags: |
|
|
setup-args=-Dallow-noblas=true
|
|
setup-args=--cross-file=${MESON_CROSS_FILE}
|
|
# numpy creates numpy/distutils/__pycache__ directory during the build.
|
|
# It breaks our test because there is a .pyc in the directory.
|
|
post: |
|
|
rm -rf numpy/distutils/__pycache__
|
|
cflags: |
|
|
-Wno-return-type
|
|
cross-build-env: true
|
|
cross-build-files:
|
|
- numpy/core/include/numpy/numpyconfig.h
|
|
- numpy/core/include/numpy/_numpyconfig.h
|
|
- numpy/core/lib/libnpymath.a
|
|
- numpy/random/lib/libnpyrandom.a
|
|
about:
|
|
home: https://www.numpy.org
|
|
PyPI: https://pypi.org/project/numpy
|
|
summary: NumPy is the fundamental package for array computing with Python.
|
|
license: BSD
|