Re: [gentoo-dev] [PATCH] distutils-r1.eclass: Use gpep517's new prefix rewriting options

2023-08-23 Thread Benda Xu
James Le Cuirot writes: > if [[ -n ${SYSROOT} ]]; then > - cmd+=( --sysroot "${SYSROOT}" ) > + cmd+=( > + --sysroot "${SYSROOT}" > + --rewrite-prefix-from "${BROOT}" > + --rewrite-prefix-to "${EPREFIX}" > +

[gentoo-dev] [PATCH] distutils-r1.eclass: Use gpep517's new prefix rewriting options

2023-08-23 Thread James Le Cuirot
It is okay for these to be given as an empty string. Signed-off-by: James Le Cuirot --- This cannot be applied until gpep517-14 is stable, but I'm just getting it reviewed in readiness. eclass/distutils-r1.eclass | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git

Re: [gentoo-dev] [PATCH] cmake.eclass: Remove duplicate eninja call from cmake_build

2023-08-23 Thread Matt Turner
On Wed, Aug 23, 2023 at 2:51 AM Michał Górny wrote: > > Signed-off-by: Michał Górny > --- > eclass/cmake.eclass | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass > index fb3f9b6352be..d0f6d0b4bd91 100644 > --- a/eclass/cmake.eclass > +++

[gentoo-dev] [PATCH 1/1] docs.eclass: fix sphinx/mkdocs docs building in pep517 mode

2023-08-23 Thread Andrew Ammerlaan
Hi all, This patch copies the sphinx-build logic from python-utils-r1.eclass to use 'python -m mkdocs' instead of plain 'mkdocs' whenever possible. This fixes building mkdocs themes in pep517 mode where the very themes we are installing would otherwise be unavailable for building the

Re: [gentoo-dev] [PATCH] cmake.eclass: Remove duplicate eninja call from cmake_build

2023-08-23 Thread Sam James
Michał Górny writes: > Signed-off-by: Michał Górny > --- > eclass/cmake.eclass | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass > index fb3f9b6352be..d0f6d0b4bd91 100644 > --- a/eclass/cmake.eclass > +++ b/eclass/cmake.eclass > @@ -661,7

[gentoo-dev] [PATCH] cmake.eclass: Remove duplicate eninja call from cmake_build

2023-08-23 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/cmake.eclass | 1 - 1 file changed, 1 deletion(-) diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass index fb3f9b6352be..d0f6d0b4bd91 100644 --- a/eclass/cmake.eclass +++ b/eclass/cmake.eclass @@ -661,7 +661,6 @@ cmake_build() {