diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2022-07-14 13:04:18 -0700 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2022-08-17 16:25:36 -0400 |
commit | c32f83a829b6b10a0cbc191c1368b563d4582c28 (patch) | |
tree | c302b8fc429e2473f86cdbbd89c2e482359f1f04 /mesonbuild | |
parent | 6843f56f6b8e71e75c287de31686913eea5e4a44 (diff) | |
download | meson-c32f83a829b6b10a0cbc191c1368b563d4582c28.zip meson-c32f83a829b6b10a0cbc191c1368b563d4582c28.tar.gz meson-c32f83a829b6b10a0cbc191c1368b563d4582c28.tar.bz2 |
modules: Add stabilization information to ModuleInfo
We're going to do more with this in the next commit, but this just adds
the information for now. This allows the next commit have 100% mv
changes for some of the modules, which makes review easier
Diffstat (limited to 'mesonbuild')
-rw-r--r-- | mesonbuild/modules/__init__.py | 2 | ||||
-rw-r--r-- | mesonbuild/modules/keyval.py | 2 | ||||
-rw-r--r-- | mesonbuild/modules/unstable_cuda.py | 2 | ||||
-rw-r--r-- | mesonbuild/modules/unstable_external_project.py | 2 | ||||
-rw-r--r-- | mesonbuild/modules/unstable_icestorm.py | 2 | ||||
-rw-r--r-- | mesonbuild/modules/unstable_rust.py | 2 | ||||
-rw-r--r-- | mesonbuild/modules/unstable_simd.py | 2 | ||||
-rw-r--r-- | mesonbuild/modules/unstable_wayland.py | 2 |
8 files changed, 9 insertions, 7 deletions
diff --git a/mesonbuild/modules/__init__.py b/mesonbuild/modules/__init__.py index 0681940..de1cd56 100644 --- a/mesonbuild/modules/__init__.py +++ b/mesonbuild/modules/__init__.py @@ -173,6 +173,8 @@ class ModuleInfo: name: str added: T.Optional[str] = None deprecated: T.Optional[str] = None + unstable: bool = False + stabilized: T.Optional[str] = None class NewExtensionModule(ModuleObject): diff --git a/mesonbuild/modules/keyval.py b/mesonbuild/modules/keyval.py index 94db567..e900a2b 100644 --- a/mesonbuild/modules/keyval.py +++ b/mesonbuild/modules/keyval.py @@ -25,7 +25,7 @@ if T.TYPE_CHECKING: class KeyvalModule(ExtensionModule): - INFO = ModuleInfo('keyval', '0.55.0') + INFO = ModuleInfo('keyval', '0.55.0', stabilized='0.56.0') def __init__(self, interp: 'Interpreter'): super().__init__(interp) diff --git a/mesonbuild/modules/unstable_cuda.py b/mesonbuild/modules/unstable_cuda.py index e2340fc..b31459f 100644 --- a/mesonbuild/modules/unstable_cuda.py +++ b/mesonbuild/modules/unstable_cuda.py @@ -32,7 +32,7 @@ if T.TYPE_CHECKING: class CudaModule(NewExtensionModule): - INFO = ModuleInfo('CUDA', '0.50.0') + INFO = ModuleInfo('CUDA', '0.50.0', unstable=True) def __init__(self, *args, **kwargs): super().__init__() diff --git a/mesonbuild/modules/unstable_external_project.py b/mesonbuild/modules/unstable_external_project.py index 74279a6..1fd4911 100644 --- a/mesonbuild/modules/unstable_external_project.py +++ b/mesonbuild/modules/unstable_external_project.py @@ -274,7 +274,7 @@ class ExternalProject(NewExtensionModule): class ExternalProjectModule(ExtensionModule): - INFO = ModuleInfo('External build system', '0.56.0') + INFO = ModuleInfo('External build system', '0.56.0', unstable=True) def __init__(self, interpreter: 'Interpreter'): super().__init__(interpreter) diff --git a/mesonbuild/modules/unstable_icestorm.py b/mesonbuild/modules/unstable_icestorm.py index 50809b9..c579148 100644 --- a/mesonbuild/modules/unstable_icestorm.py +++ b/mesonbuild/modules/unstable_icestorm.py @@ -36,7 +36,7 @@ if T.TYPE_CHECKING: class IceStormModule(ExtensionModule): - INFO = ModuleInfo('FPGA/Icestorm', '0.45.0') + INFO = ModuleInfo('FPGA/Icestorm', '0.45.0', unstable=True) def __init__(self, interpreter: Interpreter) -> None: super().__init__(interpreter) diff --git a/mesonbuild/modules/unstable_rust.py b/mesonbuild/modules/unstable_rust.py index cc0620d..792195e 100644 --- a/mesonbuild/modules/unstable_rust.py +++ b/mesonbuild/modules/unstable_rust.py @@ -50,7 +50,7 @@ class RustModule(ExtensionModule): """A module that holds helper functions for rust.""" - INFO = ModuleInfo('rust', '0.57.0') + INFO = ModuleInfo('rust', '0.57.0', unstable=True) def __init__(self, interpreter: 'Interpreter') -> None: super().__init__(interpreter) diff --git a/mesonbuild/modules/unstable_simd.py b/mesonbuild/modules/unstable_simd.py index 6766380..a33022d 100644 --- a/mesonbuild/modules/unstable_simd.py +++ b/mesonbuild/modules/unstable_simd.py @@ -19,7 +19,7 @@ from . import ExtensionModule, ModuleInfo class SimdModule(ExtensionModule): - INFO = ModuleInfo('SIMD', '0.42.0') + INFO = ModuleInfo('SIMD', '0.42.0', unstable=True) def __init__(self, interpreter): super().__init__(interpreter) diff --git a/mesonbuild/modules/unstable_wayland.py b/mesonbuild/modules/unstable_wayland.py index 392e1a7..aab07d4 100644 --- a/mesonbuild/modules/unstable_wayland.py +++ b/mesonbuild/modules/unstable_wayland.py @@ -45,7 +45,7 @@ if T.TYPE_CHECKING: class WaylandModule(ExtensionModule): - INFO = ModuleInfo('wayland', '0.62.0') + INFO = ModuleInfo('wayland', '0.62.0', unstable=True) def __init__(self, interpreter: Interpreter) -> None: super().__init__(interpreter) |