diff options
Diffstat (limited to 'mesonbuild/modules/dlang.py')
-rw-r--r-- | mesonbuild/modules/dlang.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/mesonbuild/modules/dlang.py b/mesonbuild/modules/dlang.py index d9255d9..7a9b99f 100644 --- a/mesonbuild/modules/dlang.py +++ b/mesonbuild/modules/dlang.py @@ -18,17 +18,18 @@ import json import os -from . import ExtensionModule +from . import ExtensionModule, ModuleInfo from .. import dependencies from .. import mlog -from ..interpreterbase import FeatureNew, typed_pos_args +from ..interpreterbase import typed_pos_args from ..mesonlib import Popen_safe, MesonException class DlangModule(ExtensionModule): class_dubbin = None init_dub = False - @FeatureNew('Dlang Module', '0.48.0') + INFO = ModuleInfo('dlang', '0.48.0') + def __init__(self, interpreter): super().__init__(interpreter) self.methods.update({ |