Build and packaging library
  • Python 55.1%
  • Makefile 32.6%
  • Shell 12.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jan Lindemann 61280e4695
All checks were successful
CI / Packaging - Kali Linux (pull_request) Successful in 4m43s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Successful in 4m42s
CI / Packaging test (pull_request) Successful in 0s
CI / Packaging - Kali Linux (push) Successful in 4m13s
CI / Packaging - OpenSUSE Tumbleweed (push) Successful in 4m21s
CI / Packaging test (push) Successful in 0s
cmds.projects.lib.templates: Don't replace escaped markers
format_list_dict() substitutes {key} markers with str.replace(), which also
matches the marker inside ${key} and {{key}}, mangling text meant to
survive verbatim, e.g. the ${prefix} variable reference of a pkg-config
file. The built-in pkg-config template works around that with doubled
braces, which produces {/usr}-style output instead.

Replace the markers with a regular expression that skips markers preceded
by '$' or '{', and let the pkg-config template use the ${prefix} and
${exec_prefix} references pkg-config expects.

Extend the unit tests with marker escaping, value escaping, quoting,
indentation, and the rendering of the built-in templates.

Assisted-by: unsloth/Qwen3.8-27B-GGUF:Q4_K_M with pi.dev v0.84.2
Signed-off-by: Jan Lindemann <jan@janware.com>
2026-09-13 21:08:53 +02:00
.github/workflows ci.yaml: test-packaging.yaml@{master-test -> master} 2026-06-08 19:43:15 +02:00
bin bin, make, scripts: Re-add files necessary for packaging jw-build 2025-11-14 11:22:50 +01:00
conf conf / scripts: Fix unprivileged "make install" 2026-08-18 17:27:32 +02:00
doc doc: Add subdir 2026-08-19 20:51:11 +02:00
make py-topdir.mk: Add test tree to default check roots 2026-09-13 16:08:51 +02:00
scripts python-tools.sh: Annotate generated conftest.py 2026-09-13 15:42:29 +02:00
src cmds.projects.lib.templates: Don't replace escaped markers 2026-09-13 21:08:53 +02:00
test cmds.projects.lib.templates: Don't replace escaped markers 2026-09-13 21:08:53 +02:00
.gitignore cache.mk: Include from topdir.mk, not make.mk 2026-07-22 14:38:24 +02:00
HASH Release 1.0.0-263@suse-tumbleweed/x86_64 2026-09-11 23:37:23 +00:00
Makefile cache.mk: Include from topdir.mk, not make.mk 2026-07-22 14:38:24 +02:00
RELEASES Release 1.0.0-263@suse-tumbleweed/x86_64 2026-09-11 23:37:23 +00:00
VERSION Start version: 1.0.0-263 2026-09-11 23:10:53 +00:00