aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/modules/i18n.py
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2018-09-02 18:04:02 +0100
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2018-09-03 21:59:10 -0700
commitc54cd69015b68b2ee583787036cba90420b6d6d8 (patch)
tree3dc4eb1b29c1613d1f0dcaf7ee1701c6cda79ab6 /mesonbuild/modules/i18n.py
parent07d2d88fa9bd4f3598f9212b7209f98443b636d9 (diff)
downloadmeson-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