jw-pkg/src/python/jw
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jan Lindemann dd2fff17a5
cmds.projects.CmdCreatePkgConfig: Fix Requires lines
__cleanup_requires() replaces every run of whitespace with ", " before
re-pairing the version constraints, so input that is already
comma-separated, e.g. "jw-core >= 1.0, jw-base", comes out with a double
comma, "jw-core >= 1.0,, jw-base". And the Requires line is appended
without a trailing newline, so a following Requires.private line runs
straight into it.

Split the input on commas and whitespace, treating the version constraint
operators as delimiters that are re-paired with the preceding name and the
following version, so that comma- and space-separated input alike comes out
as a clean ", "-joined list. Add the missing newline after the Requires
line.

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 22:53:12 +02:00
..
pkg cmds.projects.CmdCreatePkgConfig: Fix Requires lines 2026-09-13 22:53:12 +02:00
__init__.py jw.pkg: Fix "make check" static code check fallout 2026-05-31 18:20:38 +02:00
Makefile py-ns-dir.mk: Support __init__.py generation 2026-09-05 13:39:51 +02:00