diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2018-09-02 18:04:02 +0100 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2018-09-03 21:59:10 -0700 |
commit | c54cd69015b68b2ee583787036cba90420b6d6d8 (patch) | |
tree | 3dc4eb1b29c1613d1f0dcaf7ee1701c6cda79ab6 /mesonbuild/modules/i18n.py | |
parent | 07d2d88fa9bd4f3598f9212b7209f98443b636d9 (diff) | |
download | meson-c54cd69015b68b2ee583787036cba90420b6d6d8.zip meson-c54cd69015b68b2ee583787036cba90420b6d6d8.tar.gz meson-c54cd69015b68b2ee583787036cba90420b6d6d8.tar.bz2 |
Modernize Python3Dependency
Somehow I overlooked this class when adjusting everything else in c59ec874
et seq.
Update Python3Dependency so it has a _factory() method which returns a list
of constructors, depending on the method: kwarg, which integrates better
with the reporting in find_external_dependency()
This ensures the return of a PkgConfigDependency object, if the dependency
is found with pkgconfig, so we don't have to specifically implement
get_pkgconfig_variable() ourselves.
Diffstat (limited to 'mesonbuild/modules/i18n.py')
0 files changed, 0 insertions, 0 deletions