pkgconf 2.3.0.post0__tar.gz → 2.3.0.post2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (219) hide show
  1. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/.pre-commit-config.yaml +1 -1
  2. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/PKG-INFO +1 -1
  3. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/meson.build +1 -1
  4. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/pyproject.toml +2 -2
  5. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/src/pkgconf/__init__.py +1 -1
  6. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/src/pkgconf/__main__.py +14 -5
  7. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/tests/test_entrypoints.py +31 -0
  8. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/.github/workflows/build.yml +0 -0
  9. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/.github/workflows/test.yml +0 -0
  10. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/.gitmodules +0 -0
  11. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/.readthedocs.yaml +0 -0
  12. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/LICENSE +0 -0
  13. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/README.md +0 -0
  14. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/codecov.yml +0 -0
  15. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/docs/conf.py +0 -0
  16. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/docs/index.rst +0 -0
  17. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/environment.yml +0 -0
  18. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/examples/header-only-library/example/include/example.h +0 -0
  19. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/examples/header-only-library/example/pkgconf/example.pc +0 -0
  20. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/examples/header-only-library/pyproject.toml +0 -0
  21. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/src/buildhack.py +0 -0
  22. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/src/pkgconf/_import.py +0 -0
  23. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/src/pkgconf/diagnose.py +0 -0
  24. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/.gitattributes +0 -0
  25. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/.github/FUNDING.yml +0 -0
  26. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/.github/workflows/test.yml +0 -0
  27. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/.gitignore +0 -0
  28. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/.mailmap +0 -0
  29. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/.woodpecker.yml +0 -0
  30. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/AUTHORS +0 -0
  31. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/CODE_OF_CONDUCT.md +0 -0
  32. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/COPYING +0 -0
  33. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/Kyuafile.in +0 -0
  34. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/Makefile.am +0 -0
  35. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/Makefile.lite +0 -0
  36. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/NEWS +0 -0
  37. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/README.md +0 -0
  38. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/autogen.sh +0 -0
  39. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/cli/bomtool/main.c +0 -0
  40. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/cli/getopt_long.c +0 -0
  41. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/cli/getopt_long.h +0 -0
  42. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/cli/main.c +0 -0
  43. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/cli/renderer-msvc.c +0 -0
  44. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/cli/renderer-msvc.h +0 -0
  45. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/configure.ac +0 -0
  46. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/doc/conf.py +0 -0
  47. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/doc/extract.py +0 -0
  48. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/doc/index.rst +0 -0
  49. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/doc/libpkgconf-argvsplit.rst +0 -0
  50. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/doc/libpkgconf-audit.rst +0 -0
  51. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/doc/libpkgconf-cache.rst +0 -0
  52. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/doc/libpkgconf-client.rst +0 -0
  53. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/doc/libpkgconf-dependency.rst +0 -0
  54. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/doc/libpkgconf-fragment.rst +0 -0
  55. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/doc/libpkgconf-path.rst +0 -0
  56. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/doc/libpkgconf-personality.rst +0 -0
  57. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/doc/libpkgconf-pkg.rst +0 -0
  58. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/doc/libpkgconf-queue.rst +0 -0
  59. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/doc/libpkgconf-tuple.rst +0 -0
  60. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/doc/libpkgconf.rst +0 -0
  61. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/libpkgconf/argvsplit.c +0 -0
  62. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/libpkgconf/audit.c +0 -0
  63. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/libpkgconf/bsdstubs.c +0 -0
  64. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/libpkgconf/bsdstubs.h +0 -0
  65. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/libpkgconf/cache.c +0 -0
  66. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/libpkgconf/client.c +0 -0
  67. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/libpkgconf/config.h.meson +0 -0
  68. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/libpkgconf/dependency.c +0 -0
  69. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/libpkgconf/fileio.c +0 -0
  70. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/libpkgconf/fragment.c +0 -0
  71. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/libpkgconf/iter.h +0 -0
  72. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/libpkgconf/libpkgconf-api.h +0 -0
  73. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/libpkgconf/libpkgconf.h +0 -0
  74. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/libpkgconf/meson.build +0 -0
  75. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/libpkgconf/parser.c +0 -0
  76. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/libpkgconf/path.c +0 -0
  77. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/libpkgconf/personality.c +0 -0
  78. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/libpkgconf/pkg.c +0 -0
  79. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/libpkgconf/queue.c +0 -0
  80. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/libpkgconf/stdinc.h +0 -0
  81. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/libpkgconf/tuple.c +0 -0
  82. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/libpkgconf/win-dirent.h +0 -0
  83. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/libpkgconf.pc.in +0 -0
  84. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/m4/ax_check_compile_flag.m4 +0 -0
  85. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/man/pc.5 +0 -0
  86. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/man/pkg.m4.7 +0 -0
  87. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/man/pkgconf-personality.5 +0 -0
  88. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/man/pkgconf.1 +0 -0
  89. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/meson.build +0 -0
  90. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/meson_options.txt +0 -0
  91. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/pkg.m4 +0 -0
  92. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/Kyuafile.in +0 -0
  93. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/basic.sh +0 -0
  94. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/builtins.sh +0 -0
  95. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/conflicts.sh +0 -0
  96. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/framework.sh +0 -0
  97. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib-relocatable/lib/pkgconfig/foo.pc +0 -0
  98. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/argv-parse-2.pc +0 -0
  99. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/argv-parse-3.pc +0 -0
  100. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/argv-parse.pc +0 -0
  101. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/bar.pc +0 -0
  102. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/baz.pc +0 -0
  103. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/billion-laughs.pc +0 -0
  104. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/case-sensitivity.pc +0 -0
  105. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/cflags-internal.pc +0 -0
  106. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/cflags-libs-only.pc +0 -0
  107. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/cflags-whitespace-trailing.pc +0 -0
  108. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/cflags-whitespace.pc +0 -0
  109. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/child-prefix/pkgconfig/child-prefix-1.pc +0 -0
  110. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/circular-1.pc +0 -0
  111. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/circular-2.pc +0 -0
  112. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/circular-3.pc +0 -0
  113. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/comments-in-fields.pc +0 -0
  114. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/comments.pc +0 -0
  115. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/conflicts.pc +0 -0
  116. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/depgraph-break.pc +0 -0
  117. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/dos-lineendings.pc +0 -0
  118. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/empty-tuple.pc +0 -0
  119. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/escaped-backslash.pc +0 -0
  120. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/explicit-sysroot.pc +0 -0
  121. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/flag-order-1.pc +0 -0
  122. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/flag-order-3.pc +0 -0
  123. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/foo.pc +0 -0
  124. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/foobar.pc +0 -0
  125. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/fragment-collision-1.pc +0 -0
  126. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/fragment-collision-2.pc +0 -0
  127. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/fragment-collision-intermediary.pc +0 -0
  128. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/fragment-collision.pc +0 -0
  129. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/fragment-comment.pc +0 -0
  130. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/fragment-escaping-1.pc +0 -0
  131. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/fragment-escaping-2.pc +0 -0
  132. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/fragment-escaping-3.pc +0 -0
  133. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/fragment-quoting-2.pc +0 -0
  134. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/fragment-quoting-3.pc +0 -0
  135. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/fragment-quoting-5.pc +0 -0
  136. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/fragment-quoting-7.pc +0 -0
  137. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/fragment-quoting.pc +0 -0
  138. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/framework-1.pc +0 -0
  139. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/framework-2.pc +0 -0
  140. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/idirafter-ordering.pc +0 -0
  141. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/idirafter.pc +0 -0
  142. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/incomplete.pc +0 -0
  143. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/intermediary-1.pc +0 -0
  144. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/intermediary-2.pc +0 -0
  145. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/isystem.pc +0 -0
  146. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/malformed-1.pc +0 -0
  147. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/malformed-quoting.pc +0 -0
  148. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/malformed-version.pc +0 -0
  149. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/metapackage-1.pc +0 -0
  150. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/metapackage-2.pc +0 -0
  151. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/metapackage-3.pc +0 -0
  152. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/metapackage.pc +0 -0
  153. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/missing-require.pc +0 -0
  154. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/multiline-bogus.pc +0 -0
  155. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/multiline.pc +0 -0
  156. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/no-trailing-newline.pc +0 -0
  157. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/nocflag.pc +0 -0
  158. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/nolib.pc +0 -0
  159. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/omg-sysroot-uninstalled.pc +0 -0
  160. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/omg-uninstalled.pc +0 -0
  161. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/orphaned-requires-private.pc +0 -0
  162. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/paren-quoting.pc +0 -0
  163. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/prefix-foo1.pc +0 -0
  164. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/prefix-foo2.pc +0 -0
  165. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/private-libs-duplication.pc +0 -0
  166. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/provides-request-simple.pc +0 -0
  167. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/provides.pc +0 -0
  168. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/quotes.pc +0 -0
  169. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/requires-internal-2.pc +0 -0
  170. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/requires-internal-collision.pc +0 -0
  171. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/requires-internal-missing.pc +0 -0
  172. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/requires-internal.pc +0 -0
  173. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/spaces-in-paths.pc +0 -0
  174. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/static-archive-libs.pc +0 -0
  175. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/static-libs.pc +0 -0
  176. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/sysroot-dir-2.pc +0 -0
  177. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/sysroot-dir-3.pc +0 -0
  178. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/sysroot-dir-4.pc +0 -0
  179. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/sysroot-dir-5.pc +0 -0
  180. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/sysroot-dir.pc +0 -0
  181. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/tilde-quoting.pc +0 -0
  182. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/tilde.pc +0 -0
  183. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/tuple-quoting.pc +0 -0
  184. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/typelibdir.pc +0 -0
  185. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/unavailable-provider.pc +0 -0
  186. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/utf8.pc +0 -0
  187. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib1/variable-whitespace.pc +0 -0
  188. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib2/foo.pc +0 -0
  189. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/lib3/bar.pc +0 -0
  190. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/meson.build +0 -0
  191. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/parser.sh +0 -0
  192. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/provides.sh +0 -0
  193. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/regress.sh +0 -0
  194. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/requires.sh +0 -0
  195. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/sysroot.sh +0 -0
  196. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/test_env.sh.in +0 -0
  197. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/subprojects/pkgconf/tests/version.sh +0 -0
  198. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/tests/conftest.py +0 -0
  199. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/tests/data/needs-example-lib.c +0 -0
  200. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/tests/packages/error-on-import/foo/__init__.py +0 -0
  201. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/tests/packages/error-on-import/foo/bar/__init__.py +0 -0
  202. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/tests/packages/error-on-import/meson.build +0 -0
  203. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/tests/packages/error-on-import/pyproject.toml +0 -0
  204. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/tests/packages/namespace/namespace/namespace.pc +0 -0
  205. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/tests/packages/namespace/pyproject.toml +0 -0
  206. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/tests/packages/register-pkg-config-path/lib.c +0 -0
  207. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/tests/packages/register-pkg-config-path/meson.build +0 -0
  208. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/tests/packages/register-pkg-config-path/pyproject.toml +0 -0
  209. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/tests/packages/register-pkg-config-path/register_pkg_config_path/__init__.py +0 -0
  210. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/tests/packages/register-pkg-config-path/register_pkg_config_path/include/__init__.py +0 -0
  211. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/tests/packages/register-pkg-config-path/register_pkg_config_path/include/lib.h +0 -0
  212. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/tests/packages/register-pkg-config-path/register_pkg_config_path/lib/__init__.py +0 -0
  213. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/tests/packages/register-pkg-config-path/register_pkg_config_path/pkgconf/__init__.py +0 -0
  214. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/tests/packages/register-pkg-config-path/register_pkg_config_path/pkgconf/register_pkg_config_path.pc +0 -0
  215. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/tests/packages/use-pybind11/meson.build +0 -0
  216. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/tests/test_diagnose.py +0 -0
  217. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/tests/test_distribution.py +0 -0
  218. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/tests/test_examples.py +0 -0
  219. {pkgconf-2.3.0.post0 → pkgconf-2.3.0.post2}/tests/test_python_module.py +0 -0
@@ -34,7 +34,7 @@ repos:
34
34
  hooks:
35
35
  - id: validate-pyproject
36
36
  - repo: https://github.com/astral-sh/ruff-pre-commit
37
- rev: v0.8.6
37
+ rev: v0.9.2
38
38
  hooks:
39
39
  - id: ruff
40
40
  args: [--fix, --show-fixes]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pkgconf
3
- Version: 2.3.0.post0
3
+ Version: 2.3.0.post2
4
4
  Summary: `pkgconf` is a program which helps with discovering library dependencies and configuring compiler and linker flags.
5
5
  Author-Email: Ralf Gommers <ralf.gommers@gmail.com>, =?utf-8?q?Filipe_La=C3=ADns?= <lains@riseup.net>
6
6
  License: Copyright (c) 2024 pypackaging-native contributors
@@ -3,7 +3,7 @@
3
3
  # SPDX-License-Identifier: MIT
4
4
 
5
5
  project('pkgconf-pypi',
6
- version : '2.2.0-0',
6
+ version : '2.3.0-2',
7
7
  license : 'MIT AND ISC',
8
8
  license_files : ['LICENSE'],
9
9
  meson_version : '>=1.3.2',
@@ -11,7 +11,7 @@ requires = ['meson-python', 'wheel']
11
11
 
12
12
  [project]
13
13
  name = 'pkgconf'
14
- version = '2.3.0-0'
14
+ version = '2.3.0-2'
15
15
  description = '`pkgconf` is a program which helps with discovering library dependencies and configuring compiler and linker flags.'
16
16
  readme = 'README.md'
17
17
  license = {file = 'LICENSE'}
@@ -64,7 +64,7 @@ source = 'https://github.com/pypackaging-native/pkgconf-pypi'
64
64
 
65
65
  [tool.meson-python.args]
66
66
  install = ['--tags=python-runtime']
67
- setup = ['--prefix=/build']
67
+ # setup = ['--prefix=/build']
68
68
 
69
69
  [tool.cibuildwheel]
70
70
  # Build is Python-independent, so we select a single Python version (doesn't
@@ -21,7 +21,7 @@ else:
21
21
  import importlib_metadata
22
22
 
23
23
 
24
- __version__ = '2.2.0-0'
24
+ __version__ = '2.3.0-2'
25
25
 
26
26
 
27
27
  _LOGGER = logging.getLogger(__name__)
@@ -22,9 +22,10 @@ def main() -> None:
22
22
  sys.exit(1)
23
23
 
24
24
  os.environ['PKGCONF_PYPI_RECURSIVE'] = __file__
25
+ returncode = 1
25
26
  try:
26
- process = pkgconf.run_pkgconf(*args, check=True)
27
- except subprocess.SubprocessError:
27
+ returncode = pkgconf.run_pkgconf(*args, check=True).returncode
28
+ except subprocess.SubprocessError as e:
28
29
  # If our pkgconf lookup fails, fallback to the system pkgconf/pkg-config.
29
30
  # For simplicity, the previous call will output to stdout/stderr
30
31
  # regardless of its success, since capturing stdout/stderr in order to
@@ -37,9 +38,17 @@ def main() -> None:
37
38
  cmd = [os.fspath(system_executable), *args]
38
39
  _LOGGER.info(f'Running the system {system_executable.name}')
39
40
  _LOGGER.info('$ ' + ' '.join(cmd))
40
- process = subprocess.run(cmd)
41
+ returncode = subprocess.run(cmd).returncode
42
+ elif isinstance(e, subprocess.CalledProcessError):
43
+ returncode = e.returncode
41
44
 
42
- sys.exit(process.returncode)
45
+ sys.exit(returncode)
46
+
47
+
48
+ def _venv_paths(config_vars: dict[str, str]) -> str:
49
+ if 'venv' in sysconfig.get_scheme_names():
50
+ return sysconfig.get_paths('venv', vars=config_vars)
51
+ return sysconfig.get_paths(vars=config_vars)
43
52
 
44
53
 
45
54
  def _entrypoint():
@@ -54,7 +63,7 @@ def _entrypoint():
54
63
  if 'VIRTUAL_ENV' in os.environ:
55
64
  venv_vars = sysconfig.get_config_vars().copy()
56
65
  venv_vars['base'] = venv_vars['platbase'] = os.environ['VIRTUAL_ENV']
57
- scripts = sysconfig.get_path('scripts', scheme='venv', vars=venv_vars)
66
+ scripts = _venv_paths(venv_vars)['scripts']
58
67
  python_path = os.path.join(scripts, 'python')
59
68
  process = subprocess.run([python_path, '-m', 'pkgconf', *sys.argv[1:]])
60
69
  sys.exit(process.returncode)
@@ -35,6 +35,37 @@ def test_fallback(mocker, monkeypatch):
35
35
  sys.exit.assert_called_with(0)
36
36
 
37
37
 
38
+ def test_no_fallback(mocker, monkeypatch):
39
+ """Test that we don't fail if there's no system pkgconf and ours fails."""
40
+ mocker.patch('pkgconf.run_pkgconf', side_effect=subprocess.CalledProcessError(1, '(cmd)'))
41
+ mocker.patch('subprocess.run', return_value=subprocess.CompletedProcess(['(cmd)'], 0))
42
+ mocker.patch('sys.exit')
43
+
44
+ mocker.patch('shutil.which', return_value=None)
45
+
46
+ args = ['--libs', 'py-test-inexistent']
47
+ monkeypatch.setattr(sys, 'argv', ['(argv0)', *args])
48
+
49
+ pkgconf.__main__.main()
50
+
51
+ sys.exit.assert_called_with(1)
52
+
53
+
54
+ def test_venv_redirect(mocker, monkeypatch):
55
+ mocker.patch('subprocess.run', return_value=subprocess.CompletedProcess(['(cmd)'], 0))
56
+ mocker.patch('sys.exit')
57
+
58
+ monkeypatch.setenv('VIRTUAL_ENV', '(venv)')
59
+
60
+ args = ['--libs', 'py-test-inexistent']
61
+ monkeypatch.setattr(sys, 'argv', ['(argv0)', *args])
62
+
63
+ pkgconf.__main__._entrypoint()
64
+
65
+ assert subprocess.run.call_args.args[0][1:] == ['-m', 'pkgconf', *args]
66
+ sys.exit.assert_called_with(0)
67
+
68
+
38
69
  def test_venv_system_site_packages(container):
39
70
  # Install pkgconf in the global site-packages
40
71
  status, out = container.exec_run(['pip', 'install', '/project'])
File without changes
File without changes
File without changes
File without changes