Files
ports/math/py-numpy1/files/patch-numpy_meson.build
T
Charlie Li 28081ef832 math/py-numpy1: backport configtool/pkg-config file from numpy 2
Traditionally the way to query for the numpy C API has been through
distutils/setuptools, but the use of setuptools beyond a PEP-517
build backend is increasingly discouraged. numpy 2 introduced
numpy-config and a pkg-config file to allow consumer build systems
to better support the use of numpy as a dependency.

Based on: https://github.com/numpy/numpy/commit/2634f803313f349170c09606d3cc619accd72247

Reported by: fluffy
PR: 281470
2026-04-03 21:47:26 -04:00

11 lines
257 B
INI

--- numpy/meson.build.orig 2024-02-05 21:17:48 UTC
+++ numpy/meson.build
@@ -215,6 +215,7 @@ python_sources = [
'__init__.pxd',
'__init__.py',
'__init__.pyi',
+ '_configtool.py',
'_distributor_init.py',
'_globals.py',
'_pytesttester.py',