This thread contains a patchset. You're looking at the original emails,
but you may wish to use the patch review UI.
Review patch
3
2
[PATCH pmbootstrap] pmb.config: add new newapkbuild arguments
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"],
--
2.43.0
[pmbootstrap/patches/.build.yml] build failed
On Mon Jan 8, 2024 at 11:27 PM CET, Luca Weiss wrote:
> Add support for passing through the correct argument for Python
> (gpep517) and Rust to newapkbuild.
Thanks!
Reviewed-by: Oliver Smith <ollieparanoid@postmarketos.org >
> ---
> 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
On Mon, 8 Jan 2024 23:27:36 +0100, Luca Weiss wrote:
> Add support for passing through the correct argument for Python
> (gpep517) and Rust to newapkbuild.
>
>
Applied, thanks!
[1/1] pmb.config: add new newapkbuild arguments
commit: abad57e232005894b02d6417fc0c21aab51068c7
Best regards,
--
Oliver Smith <ollieparanoid@postmarketos.org >