diff options
author | kkz <zhaoshuang@uniontech.com> | 2024-01-15 13:40:59 +0800 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2024-04-28 18:10:03 +0300 |
commit | 4f3a3e2efeb415fe83f9e858b010a36baf72b455 (patch) | |
tree | e186cad15cd0c53ad4954467c67b9f9561bb61ee | |
parent | e9363e1677194d737f454dcefa9e5c91cd30fa91 (diff) | |
download | meson-4f3a3e2efeb415fe83f9e858b010a36baf72b455.zip meson-4f3a3e2efeb415fe83f9e858b010a36baf72b455.tar.gz meson-4f3a3e2efeb415fe83f9e858b010a36baf72b455.tar.bz2 |
add punctuation mark to make log more understandable
-rw-r--r-- | mesonbuild/dependencies/base.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mesonbuild/dependencies/base.py b/mesonbuild/dependencies/base.py index 29a60b7..930dbe7 100644 --- a/mesonbuild/dependencies/base.py +++ b/mesonbuild/dependencies/base.py @@ -426,7 +426,7 @@ class ExternalDependency(Dependency, HasNativeKwarg): self.is_found = False found_msg: mlog.TV_LoggableList = [] found_msg += ['Dependency', mlog.bold(self.name), 'found:'] - found_msg += [mlog.red('NO'), 'unknown version, but need:', self.version_reqs] + found_msg += [str(mlog.red('NO')) + '.', 'Unknown version, but need:', self.version_reqs] mlog.log(*found_msg) if self.required: @@ -438,8 +438,8 @@ class ExternalDependency(Dependency, HasNativeKwarg): version_compare_many(self.version, self.version_reqs) if not self.is_found: found_msg = ['Dependency', mlog.bold(self.name), 'found:'] - found_msg += [mlog.red('NO'), - 'found', mlog.normal_cyan(self.version), 'but need:', + found_msg += [str(mlog.red('NO')) + '.', + 'Found', mlog.normal_cyan(self.version), 'but need:', mlog.bold(', '.join([f"'{e}'" for e in not_found]))] if found: found_msg += ['; matched:', |