pmbootstrap: pmb.config: add new newapkbuild arguments v1 APPLIED

Luca Weiss: 1
 pmb.config: add new newapkbuild arguments

 1 files changed, 2 insertions(+), 0 deletions(-)
#1129764 .build.yml failed
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~postmarketos/pmbootstrap-devel/patches/48406/mbox | git am -3
Learn more about email & git

[PATCH pmbootstrap] pmb.config: add new newapkbuild arguments Export this patch

Add support for passing through the correct argument for Python
(gpep517) and Rust to newapkbuild.
 pmb/config/__init__.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/pmb/config/__init__.py b/pmb/config/__init__.py
index 05fba846..44ab5688 100644
--- a/pmb/config/__init__.py
+++ b/pmb/config/__init__.py
@@ -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"],
pmbootstrap/patches/.build.yml: FAILED in 24s

[pmb.config: add new newapkbuild arguments][0] from [Luca Weiss][1]

[0]: https://lists.sr.ht/~postmarketos/pmbootstrap-devel/patches/48406
[1]: mailto:luca@z3ntu.xyz

✗ #1129764 FAILED pmbootstrap/patches/.build.yml https://builds.sr.ht/~postmarketos/job/1129764