fix: noconfirm auto-selects first AUR match

This commit is contained in:
2026-05-08 11:01:02 +01:00
parent d39cdc3fd9
commit 153cca6132
8056 changed files with 1983098 additions and 779 deletions
@@ -0,0 +1,10 @@
project('Python limited api disabled', 'c',
default_options : ['buildtype=release', 'werror=true', 'python.allow_limited_api=false'])
py_mod = import('python')
py = py_mod.find_installation()
module = py.extension_module('my_module',
'module.c',
limited_api: '3.7',
)
@@ -0,0 +1,17 @@
#include <Python.h>
#if defined(Py_LIMITED_API)
#error "Py_LIMITED_API's definition by Meson should have been disabled."
#endif
static struct PyModuleDef my_module = {
PyModuleDef_HEAD_INIT,
"my_module",
NULL,
-1,
NULL
};
PyMODINIT_FUNC PyInit_my_module(void) {
return PyModule_Create(&my_module);
}