numpy: bump to version 2.1.0

Re-applied:
   003-without-vendored-meson.patch

Added:
   004-workaround-for-multiple-top-level-packages-discovered.patch

Suggestion found here:
   https://stackoverflow.com/questions/72294299/multiple-top-level-packages-discovered-in-a-flat-layout

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
This commit is contained in:
Alexandru Ardelean
2024-07-10 19:03:56 +03:00
committed by Alexandru Ardelean
parent 031a4968b5
commit ddc619dc61
3 changed files with 23 additions and 9 deletions

View File

@@ -1,18 +1,17 @@
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,8 +1,8 @@
@@ -1,7 +1,7 @@
[build-system]
-build-backend = "mesonpy"
+#build-backend = "mesonpy"
requires = [
"Cython>=0.29.34,<3.1",
- "meson-python>=0.15.0,<0.16.0",
+# "meson-python>=0.15.0,<0.16.0",
- "meson-python>=0.15.0",
+# "meson-python>=0.15.0",
"Cython>=3.0.6", # keep in sync with version check in meson.build
]
[project]
@@ -181,14 +181,14 @@ environment = {PKG_CONFIG_PATH="/opt/32/
config-settings = "setup-args=--vsenv setup-args=-Dallow-noblas=true"
@@ -181,8 +181,8 @@ select = "*-win32"
config-settings = "setup-args=--vsenv setup-args=-Dallow-noblas=true build-dir=build"
repair-wheel-command = ""
-[tool.meson-python]
@@ -20,6 +19,9 @@
+#[tool.meson-python]
+#meson = 'vendored-meson/meson/meson.py'
[tool.meson-python.args]
install = ['--tags=runtime,python-runtime,tests,devel']
@@ -190,8 +190,8 @@ install = ['--tags=runtime,python-runtim
[tool.spin]
package = 'numpy'