diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2022-06-10 01:49:25 -0400 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2022-06-13 13:34:39 +0300 |
commit | 462b35e4b1b46db3b116d7ebd792f46404feee90 (patch) | |
tree | 5642af509844b769ec84e4a59a77257e603ba0bf /mesonbuild/dependencies | |
parent | f380862284c9187f8c4496068f11bcc3ca245fec (diff) | |
download | meson-462b35e4b1b46db3b116d7ebd792f46404feee90.zip meson-462b35e4b1b46db3b116d7ebd792f46404feee90.tar.gz meson-462b35e4b1b46db3b116d7ebd792f46404feee90.tar.bz2 |
flake8: fix various whitespace nits
Diffstat (limited to 'mesonbuild/dependencies')
-rw-r--r-- | mesonbuild/dependencies/dub.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mesonbuild/dependencies/dub.py b/mesonbuild/dependencies/dub.py index c8b155e..519f2f7 100644 --- a/mesonbuild/dependencies/dub.py +++ b/mesonbuild/dependencies/dub.py @@ -97,7 +97,8 @@ class DubDependency(ExternalDependency): # A command that might be useful in case of missing DUB package def dub_build_deep_command() -> str: - cmd = ['dub', 'run', 'dub-build-deep', '--yes', '--', main_pack_spec, + cmd = [ + 'dub', 'run', 'dub-build-deep', '--yes', '--', main_pack_spec, '--arch=' + dub_arch, '--compiler=' + self.compiler.get_exelist()[-1], '--build=' + dub_buildtype ] @@ -260,7 +261,7 @@ class DubDependency(ExternalDependency): is_windows = self.env.machines.host.is_windows() if is_windows: winlibs = ['kernel32', 'user32', 'gdi32', 'winspool', 'shell32', 'ole32', - 'oleaut32', 'uuid', 'comdlg32', 'advapi32', 'ws2_32'] + 'oleaut32', 'uuid', 'comdlg32', 'advapi32', 'ws2_32'] for lib in bs['libs']: if os.name != 'nt': @@ -371,7 +372,6 @@ class DubDependency(ExternalDependency): return (None, compatibilities) - def _call_dubbin(self, args: T.List[str], env: T.Optional[T.Dict[str, str]] = None) -> T.Tuple[int, str, str]: assert isinstance(self.dubbin, ExternalProgram) p, out, err = Popen_safe(self.dubbin.get_command() + args, env=env) |