diff options
| author | Michael Hirsch, Ph.D <scivision@users.noreply.github.com> | 2019-02-13 14:09:18 -0500 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-02-13 21:09:18 +0200 |
| commit | ebfb09f5d64b8dbb9d10ae57f71a1d7be7fd9137 (patch) | |
| tree | 70bf292ef9df5c94a2a34f0202a020315802446a /mesonbuild/dependencies/base.py | |
| parent | df0b734a17c15c3fb202e27b307f78e7f143c18b (diff) | |
| download | meson-ebfb09f5d64b8dbb9d10ae57f71a1d7be7fd9137.tar.gz | |
Fortran 2008/2018 Coarray support
Diffstat (limited to 'mesonbuild/dependencies/base.py')
| -rw-r--r-- | mesonbuild/dependencies/base.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/dependencies/base.py b/mesonbuild/dependencies/base.py index 819612484..f4e47cf5d 100644 --- a/mesonbuild/dependencies/base.py +++ b/mesonbuild/dependencies/base.py @@ -14,7 +14,7 @@ # This file contains the detection logic for external dependencies. # Custom logic for several other packages are in separate files. - +from typing import Dict, Any import copy import functools import os @@ -2200,7 +2200,7 @@ def find_external_dependency(name, env, kwargs): return NotFoundDependency(env) -def _build_external_dependency_list(name, env, kwargs): +def _build_external_dependency_list(name, env: Environment, kwargs: Dict[str, Any]) -> list: # First check if the method is valid if 'method' in kwargs and kwargs['method'] not in [e.value for e in DependencyMethods]: raise DependencyException('method {!r} is invalid'.format(kwargs['method'])) |
