diff options
author | Fini Jastrow <ulf.fini.jastrow@desy.de> | 2020-03-09 12:28:53 +0100 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2020-03-09 09:10:06 -0400 |
commit | b74576953533e8f978f04ffce9c38cbfd6b2d68a (patch) | |
tree | 409e656c7877d9883aa1c8ecd6ddf961611eb836 /mesonbuild/environment.py | |
parent | 5c51d4521ab37edce88c61fd5067c93a44078854 (diff) | |
download | meson-b74576953533e8f978f04ffce9c38cbfd6b2d68a.zip meson-b74576953533e8f978f04ffce9c38cbfd6b2d68a.tar.gz meson-b74576953533e8f978f04ffce9c38cbfd6b2d68a.tar.bz2 |
pkgconfig: Document conflicts keyword
[why]
Sometimes one want to set the 'Conflicts:' field in .pc files.
This is possible by using the 'conflicts' keyword argument in the
pkgconfig module. The feature is not documented on mesonbuild.org,
though.
But a warning is issued:
WARNING: Passed invalid keyword argument "conflicts".
WARNING: This will become a hard error in the future.
History:
It has been added along with kwarg 'url' with commit
309041918 pkgconfig: Add missing 'URL' and 'Conflicts' entries
Later the kwargs check has been introduced with
80d665e8d Converted some modules.
but both 'url' and 'conflicts' were missing.
With commit
2acf737b pkgconfig: Document url keyword
the 'url' kwarg has been added to the checks, but not 'conflicts'.
[how]
Add 'conflicts' to the allowed kwargs.
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
Diffstat (limited to 'mesonbuild/environment.py')
0 files changed, 0 insertions, 0 deletions