Fix wrapping of docstrings in GnuStep dependency.

pull/2512/head
Dylan Baker 7 years ago
parent 6aef6d8d07
commit 22fed0b424
  1. 12
      mesonbuild/dependencies/ui.py

@ -105,14 +105,16 @@ class GnuStepDependency(ExternalDependency):
mlog.green('YES'), self.version)
def weird_filter(self, elems):
"""When building packages, the output of the enclosing Make
is sometimes mixed among the subprocess output. I have no idea
why. As a hack filter out everything that is not a flag."""
"""When building packages, the output of the enclosing Make is
sometimes mixed among the subprocess output. I have no idea why. As a
hack filter out everything that is not a flag.
"""
return [e for e in elems if e.startswith('-')]
def filter_args(self, args):
"""gnustep-config returns a bunch of garbage args such
as -O2 and so on. Drop everything that is not needed."""
"""gnustep-config returns a bunch of garbage args such as -O2 and so
on. Drop everything that is not needed.
"""
result = []
for f in args:
if f.startswith('-D') \

Loading…
Cancel
Save