~postmarketos/pmbootstrap

abad57e232005894b02d6417fc0c21aab51068c7 — Luca Weiss 9 months ago 09b4e5e
pmb.config: add new newapkbuild arguments

Add support for passing through the correct argument for Python
(gpep517) and Rust to newapkbuild.

Reviewed-by: Oliver Smith <ollieparanoid@postmarketos.org>
Link: https://lists.sr.ht/~postmarketos/pmbootstrap-devel/%3C20240108222736.1143841-1-luca@z3ntu.xyz%3E
1 files changed, 2 insertions(+), 0 deletions(-)

M pmb/config/__init__.py
M pmb/config/__init__.py => pmb/config/__init__.py +2 -0
@@ 1125,6 1125,8 @@ newapkbuild_arguments_switches_pkgtypes = [
    ["-m", "meson", "create meson package (assume meson.build is there)"],
    ["-p", "perl", "create perl package (assume Makefile.PL is there)"],
    ["-y", "python", "create python package (assume setup.py is there)"],
    ["-e", "python_gpep517", "create python package (assume pyproject.toml is there)"],
    ["-r", "rust", "create rust package (assume Cargo.toml is there)"],
]
newapkbuild_arguments_switches_other = [
    ["-s", "sourceforge", "use sourceforge source URL"],