Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH 2/4] distutils-r1.eclass: Update the desc for PEP517 mode
Date: Tue, 22 Feb 2022 23:30:51
Message-Id: 20220222233011.101456-2-mgorny@gentoo.org
In Reply to: [gentoo-dev] [PATCH 1/4] python-any-r1.eclass: Fix unsupported/invalid EPYTHON logic by "Michał Górny"
1 Do not call PEP517 mode "experimental" anymore, and instead describe
2 the potential problem with it.
3
4 Signed-off-by: Michał Górny <mgorny@g.o>
5 ---
6 eclass/distutils-r1.eclass | 14 +++++++++-----
7 1 file changed, 9 insertions(+), 5 deletions(-)
8
9 diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
10 index f0059d2756bf..28e44cd790ef 100644
11 --- a/eclass/distutils-r1.eclass
12 +++ b/eclass/distutils-r1.eclass
13 @@ -82,11 +82,15 @@ esac
14 # @PRE_INHERIT
15 # @DEFAULT_UNSET
16 # @DESCRIPTION:
17 -# Enable experimental PEP 517 mode for the specified build system.
18 -# In this mode, the complete build and install is done
19 -# in python_compile(), venv-style install tree is provided
20 -# to python_test() and python_install() just merges the temporary
21 -# install tree into real fs.
22 +# Enable the PEP 517 mode for the specified build system. In this mode,
23 +# the complete build and install is done in python_compile(), venv-style
24 +# install tree is provided to python_test() and python_install() just
25 +# merges the temporary install tree into real fs.
26 +#
27 +# This mode is recommended for Python packages. However, some packages
28 +# using custom hacks on top of distutils/setuptools may not install
29 +# correctly in this mode. Please verify the installed file list
30 +# when using it.
31 #
32 # The variable specifies the build system used. Currently,
33 # the following values are supported:
34 --
35 2.35.1