python-jmespath: install jp as a non-byte-compiled command
authorAlexandru Ardelean <redacted>
Sun, 7 Jun 2026 11:37:59 +0000 (14:37 +0300)
committerAlexandru Ardelean <redacted>
Tue, 9 Jun 2026 06:27:30 +0000 (09:27 +0300)
commite7aff35e97b5587b37ea2b6b68caa9cc052eb42d
tree48fdd6c90d5f092258e388c7e67aa64e7d17c3fd
parentba593bc0f3d89de8cbb6d5c9a052795785eb2bed
python-jmespath: install jp as a non-byte-compiled command

Upstream ships its jp command-line tool as a plain "jp.py" script. Under
that name OpenWrt byte-compiles it into a non-executable /usr/bin/jp.pyc
(and the -src package keeps a "#!/usr/bin/env python" jp.py, which has no
interpreter on OpenWrt), so it fails the CI generic executable check.

Install it as /usr/bin/jp instead: the missing .py extension stops it from
being byte-compiled and Python3/FixShebang rewrites the shebang to
/usr/bin/python3. Add a test-version.sh override since jp takes a required
expression argument and has no version flag for the generic check to probe.

Signed-off-by: Alexandru Ardelean <redacted>
lang/python/python-jmespath/Makefile
lang/python/python-jmespath/test-version.sh [new file with mode: 0644]
lang/python/python-jmespath/test.sh
git clone https://git.99rst.org/PROJECT