diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2021-12-27 17:36:44 -0500 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2021-12-31 12:03:57 +0200 |
commit | 688b4bac767f0a02af125febd49a0e0c5a2fe01e (patch) | |
tree | 2157df2e666ed31065528640ca1d95febbef1744 /mesonbuild/modules/python3.py | |
parent | 9f8df3529fa9026134d8fc01ab6daa21f36dcfbf (diff) | |
download | meson-688b4bac767f0a02af125febd49a0e0c5a2fe01e.zip meson-688b4bac767f0a02af125febd49a0e0c5a2fe01e.tar.gz meson-688b4bac767f0a02af125febd49a0e0c5a2fe01e.tar.bz2 |
add FeatureNew decorators for various modules that were lacking them
Going back to 0.38, though some of them are far older. The original
implementation of FeatureNew only added backdated feature checks that
far, anyway.
Diffstat (limited to 'mesonbuild/modules/python3.py')
-rw-r--r-- | mesonbuild/modules/python3.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mesonbuild/modules/python3.py b/mesonbuild/modules/python3.py index dc1f7c7..f7600e2 100644 --- a/mesonbuild/modules/python3.py +++ b/mesonbuild/modules/python3.py @@ -16,12 +16,13 @@ import sysconfig from .. import mesonlib from . import ExtensionModule -from ..interpreterbase import noKwargs, permittedKwargs, FeatureDeprecated +from ..interpreterbase import noKwargs, permittedKwargs, FeatureDeprecated, FeatureNew from ..build import known_shmod_kwargs from ..programs import ExternalProgram class Python3Module(ExtensionModule): + @FeatureNew('python3 module', '0.38.0') @FeatureDeprecated('python3 module', '0.48.0') def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) |