[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.
Thanks!
Reviewed-by: Oliver Smith <ollieparanoid@postmarketos.org>
Applied, thanks!
[1/1] pmb.config: add new newapkbuild arguments
commit: abad57e232005894b02d6417fc0c21aab51068c7
Best regards
---
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"],
--
2.43.0
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