38 Commits (2ae1bfa17b194fca328756f8d80cbef089d42673)

Author SHA1 Message Date
Eli Schwartz 07c051ed27
defer setting values until after we know it cannot be None 10 months ago
Dylan Baker e991c4d454 Use SPDX-License-Identifier consistently 1 year ago
Eli Schwartz 398c4b2287
dependencies: allow get_variable to define multiple pkgconfig defines 1 year ago
Xavier Claessens 8cb0217c4e pkgconfig: Use ImmutableListProtocol[str] for cached lists 1 year ago
Xavier Claessens f1c35b561f pkgconfig: Set PKG_CONFIG in env for devenv and g-ir-scanner 1 year ago
Xavier Claessens 6a56f6d98f pkgconfig: Deprecate "pkgconfig" in favor of "pkg-config" in [binaries] 1 year ago
Xavier Claessens 0eae4e0936 pkgconfig: Restore logging of pkg-config version 1 year ago
Xavier Claessens 2a6245e6b3 pkgconfig: Use lru_cache instead of caching command lines 1 year ago
Xavier Claessens dacd11a624 pkgconfig: Cache the implementation instance 1 year ago
Xavier Claessens 30d7f506c7 Remove get_pkgconfig_variable() 1 year ago
Eli Schwartz 3ebd570bd5
consistently use Literal annotation from typing_extensions 1 year ago
Xavier Claessens 183e4b8e90 PkgConfigDependency: Move CLI handling into its own abstraction 1 year ago
Eli Schwartz 7afc69254d
fix implicit_reexport issues and enforce them going forward 1 year ago
Eli Schwartz aa13c46822
WIP: refactor loggable popen calls for consistency 2 years ago
Josh Soref cf9fd56bc9 fix various spelling issues 2 years ago
Charles Brunet a5a7b29a66 prevent lib prefix warning from pkg-config 2 years ago
Eli Schwartz 2d0c9ce5f2
properly type utils/core.py and add it to mypy 2 years ago
Eli Schwartz 891b4ffe33
dependencies: better logging of pkg-config call outputs 2 years ago
Eli Schwartz da23630a97
refactor pkg-config dependency to allow statically finding the program 2 years ago
Eli Schwartz 7972c49bda
dependencies: simplify log_tried into a staticmethod 2 years ago
Xavier Claessens 18bec0d3e3 pkgconfig: Use EnvironmentVariables to build PKG_CONFIG_* env 3 years ago
Eli Schwartz b55349c2e9
dependencies: tighten type checking and fix cmake API violation for get_variable 3 years ago
Eli Schwartz c231c4bd2a
move a bunch of imports into TYPE_CHECKING blocks 3 years ago
Xavier Claessens 0185f2ed61 Fix dep.get_variable() with empty string default_value 3 years ago
Eli Schwartz 3990dc6d64 flake8: fix indentation style 3 years ago
Dylan Baker 6b272973e0 dependencies: don't pass kwargs from get_pkgconfig_variable 3 years ago
Eli Schwartz 038b31e72b
various manual conversion of percent-formatted strings to f-strings 3 years ago
Eli Schwartz 88d9646288
pkg-config: do not ever successfully detect Strawberry Perl. 3 years ago
Eli Schwartz dfa19af0ae
simplify some log formatting by splitting out a commonly used format string 3 years ago
Eli Schwartz 59d4f771d2
editorconfig: add setting to trim trailing whitespace 3 years ago
lilinzhe dd2e3bf446 pkg-config: support for `-l:libfoo.a` 3 years ago
Eli Schwartz 276fe408af
dependencies: make the preferred LibType available to any ExternalDependency 3 years ago
Dylan Baker dd97ec607d dependencies: drop Dependency.methods and Dependency.get_methods() 3 years ago
Daniel Mensinger 3e396b3782
fix: Always explicitly set encoding for text files (fixes #8263) 4 years ago
Dylan Baker 0412bdd753 dependencies: Use a typing.NewType for Dependency.type_name 4 years ago
Daniel Mensinger 6798bc8146 typing: Fully annotate dependencies.pkgconfig 4 years ago
Daniel Mensinger 95b70bcb97 deps: Split dependencies.base 4 years ago