Build and packaging library
  • Python 48.7%
  • Makefile 37.5%
  • Shell 13.8%
Find a file
Jan Lindemann 80248dec88
Some checks failed
CI / Packaging - Kali Linux (pull_request) Failing after 2m8s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Failing after 2m34s
CI / Packaging test (pull_request) Failing after 0s
python-tools.sh, py-mod.mk: Use --symbol-filter

Letting python-tools.sh rewrite symbols is more robust than rewriting an entire __init__.py with PY_INIT_FILTER in the including Makefile. The latter can break in non-obvious ways if python-tools.sh changes __init__.py's format.

Make python-tools.sh support --symbol-filter to remedy that. The option takes an sed script which should expect a string of two non-whitespace tokens: The module from which the symbol is imported, and the name of the symbol in that module. It's output will then be used as the symbol to be exported from __init__.py.

Also, support the PY_SYMBOL_FILTER variable in py-mod.mk. If it's defined, it is used for --symbol-filter.

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-06-12 07:17:51 +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/templates: Fix installation 2026-06-11 13:30:43 +02:00
make python-tools.sh, py-mod.mk: Use --symbol-filter 2026-06-12 07:17:51 +02:00
scripts python-tools.sh, py-mod.mk: Use --symbol-filter 2026-06-12 07:17:51 +02:00
src lib.ExecContext.CallContext.log_delim: Beautify 2026-06-11 14:09:58 +02:00
.gitignore Everywhere: Rename package "jw-build" to "jw-pkg" 2025-11-28 13:35:56 +01:00
HASH Release 1.0.0-238@suse-tumbleweed/x86_64 2026-06-11 23:33:37 +00:00
Makefile $(TOPDIR)/Makefile: include py-topdir.mk 2026-05-31 18:20:35 +02:00
RELEASES Release 1.0.0-238@suse-tumbleweed/x86_64 2026-06-11 23:33:37 +00:00
VERSION Start version: 1.0.0-238 2026-06-11 23:09:18 +00:00