Fix typo: coma->comma

pull/6902/head
Xavier Claessens 5 years ago
parent f08eed37cb
commit fba796cf13
  1. 2
      docs/markdown/Wrap-dependency-system-manual.md
  2. 4
      mesonbuild/wrap/wrap.py

@ -148,7 +148,7 @@ When a wrap file provides the dependency `foo` any call do `dependency('foo')`
will automatically fallback to that subproject even if no `fallback` keyword
argument is given. It is recommended for subprojects to call
`meson.override_dependency('foo', foo_dep)`, dependency name can then be added into
the special `dependency_names` entry which takes coma separated list of dependency
the special `dependency_names` entry which takes comma separated list of dependency
names. For backward compatibility with subprojects that does not call
`meson.override_dependency()`, the variable name can be provided in the wrap file
with entries in the format `dependency_name = variable_name`,

@ -130,13 +130,13 @@ class PackageDefinition:
if self.config.has_section('provide'):
for k, v in self.config['provide'].items():
if k == 'dependency_names':
# A coma separated list of dependency names that does not
# A comma separated list of dependency names that does not
# need a variable name
names = {n.strip(): None for n in v.split(',')}
self.provide.update(names)
continue
if k == 'program_names':
# A coma separated list of program names
# A comma separated list of program names
names = {n.strip(): None for n in v.split(',')}
self.provide_programs += names
continue

Loading…
Cancel
Save