package: name: numpy version: 2.2.5 tag: - min-scipy-stack top-level: - numpy source: url: https://files.pythonhosted.org/packages/source/n/numpy/numpy-2.2.5.tar.gz sha256: a9c0d994680cd991b1cb772e8b297340085466a6fe964bc9d4e80f5e2f43c291 patches: - patches/0001-TST-Prevent-import-error-when-tests-are-not-included.patch build: unvendor-tests: false # we do this on our own using Meson's install tags # 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} install-args=--tags=runtime,python-runtime,devel # 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-3-Clause extra: recipe-maintainers: - agriyakhetarpal