Gentoo Archives: gentoo-dev

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-dev@l.g.o
Cc: Arthur Zamarin <arthurzam@g.o>
Subject: [gentoo-dev] [PATCH] distutils-r1.eclass: fix formatting
Date: Sat, 25 Sep 2021 18:29:22
Message-Id: 20210925182807.29205-1-arthurzam@gentoo.org
1 - mark _distutils-r1_check_all_phase_mismatch as @INTERNAL
2 - fix list appearance for distutils_enable_tests options
3
4 Signed-off-by: Arthur Zamarin <arthurzam@g.o>
5 ---
6 eclass/distutils-r1.eclass | 4 ++++
7 1 file changed, 4 insertions(+)
8
9 diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
10 index 1326809a8..3513a74c4 100644
11 --- a/eclass/distutils-r1.eclass
12 +++ b/eclass/distutils-r1.eclass
13 @@ -369,8 +369,11 @@ distutils_enable_sphinx() {
14 # of RDEPEND to test?-BDEPEND. The test-runner argument must be one of:
15 #
16 # - nose: nosetests (dev-python/nose)
17 +#
18 # - pytest: dev-python/pytest
19 +#
20 # - setup.py: setup.py test (no deps included)
21 +#
22 # - unittest: for built-in Python unittest module
23 #
24 # Additionally, if --install is passed as the first parameter,
25 @@ -618,6 +621,7 @@ _distutils-r1_handle_pyproject_toml() {
26 }
27
28 # @FUNCTION: _distutils-r1_check_all_phase_mismatch
29 +# @INTERNAL
30 # @DESCRIPTION:
31 # Verify whether *_all phase impls is not called from from non-*_all
32 # subphase.
33 --
34 2.33.0

Replies

Subject Author
Re: [gentoo-dev] [PATCH] distutils-r1.eclass: fix formatting Arthur Zamarin <arthurzam@g.o>