• Bug#1102376: jq: fix patch to call python3

    From Andreas Hasenack@21:1/5 to All on Tue Apr 8 14:40:01 2025
    Package: jq
    Version: 1.7.1-3
    Severity: normal

    Dear Maintainer,

    Patch 0006-Do-not-use-pipenv-to-build-docs.patch replaces $(PIPENV)
    with python, but the python interpreter nowadays is called python3.
    This wasn't seen before because that code in the Makefile is only
    invoked if the manual.yml file is changed (via a patch, for example).

    Showing the case from inside a build directory, right after the
    package was built and all debian patches are still applied:

    ubuntu@sid:~/jq-1.7.1$ make tests/man.test
    make: 'tests/man.test' is up to date.

    ubuntu@sid:~/jq-1.7.1$ echo andreas-was-here >> docs/content/manual/manual.yml

    ubuntu@sid:~/jq-1.7.1$ make tests/man.test
    ( cd /home/ubuntu/jq-1.7.1/docs && \
    python validate_manual_schema.py content/manual/manual.yml && \
    python build_mantests.py )
    /bin/bash: line 2: python: command not found
    make: *** [Makefile:1851: tests/man.test] Error 127
    ubuntu@sid:~/jq-1.7.1$

    The fix is to change "python" to "python3" in 0006-Do-not-use-pipenv-to-build-docs.patch.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)