• [gentoo-dev] [PATCH] distutils-r1.eclass: fix formatting

    From Arthur Zamarin@21:1/5 to All on Sat Sep 25 20:30:01 2021
    - mark _distutils-r1_check_all_phase_mismatch as @INTERNAL
    - fix list appearance for distutils_enable_tests options

    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
    ---
    eclass/distutils-r1.eclass | 4 ++++
    1 file changed, 4 insertions(+)

    diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
    index 1326809a8..3513a74c4 100644
    --- a/eclass/distutils-r1.eclass
    +++ b/eclass/distutils-r1.eclass
    @@ -369,8 +369,11 @@ distutils_enable_sphinx() {
    # of RDEPEND to test?-BDEPEND. The test-runner argument must be one of:
    #
    # - nose: nosetests (dev-python/nose)
    +#
    # - pytest: dev-python/pytest
    +#
    # - setup.py: setup.py test (no deps included)
    +#
    # - unittest: for built-in Python unittest module
    #
    # Additionally, if --install is passed as the first parameter,
    @@ -618,6 +621,7 @@ _distutils-r1_handle_pyproject_toml() {
    }

    # @FUNCTION: _distutils-r1_check_all_phase_mismatch
    +# @INTERNAL
    # @DESCRIPTION:
    # Verify whether *_all phase impls is not called from from non-*_all
    # subphase.
    --
    2.33.0

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Arthur Zamarin@21:1/5 to Arthur Zamarin on Mon Sep 27 19:10:02 2021
    This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --HBdEbAYHpVBMcPLoEAocqZJ5QAvi79NfM
    Content-Type: text/plain; charset=utf-8
    Content-Language: en-US
    Content-Transfer-Encoding: quoted-printable

    On 9/25/21 9:28 PM, Arthur Zamarin wrote:
    - mark _distutils-r1_check_all_phase_mismatch as @INTERNAL
    - fix list appearance for distutils_enable_tests options

    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
    ---
    eclass/distutils-r1.eclass | 4 ++++
    1 file changed, 4 insertions(+)

    diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
    index 1326809a8..3513a74c4 100644
    --- a/eclass/distutils-r1.eclass
    +++ b/eclass/distutils-r1.eclass
    @@ -369,8 +369,11 @@ distutils_enable_sphinx() {
    # of RDEPEND to test?-BDEPEND. The test-runner argument must be one of:
    #
    # - nose: nosetests (dev-python/nose)
    +#
    # - pytest: dev-python/pytest
    +#
    # - setup.py: setup.py test (no deps included)
    +#
    # - unittest: for built-in Python unittest module
    #
    # Additionally, if --install is passed as the first parameter,
    @@ -618,6 +621,7 @@ _distutils-r1_handle_pyproject_toml() {
    }

    # @FUNCTION: _distutils-r1_check_all_phase_mismatch
    +# @INTERNAL
    # @DESCRIPTION:
    # Verify whether *_all phase impls is not called from from non-*_all
    # subphase.

    Merged

    --
    Arthur Zamarin
    arthurzam@gentoo.org
    Gentoo Linux developer (Python, GURU)


    --HBdEbAYHpVBMcPLoEAocqZJ5QAvi79NfM--

    -----BEGIN PGP SIGNATURE-----

    iQEzBAEBCgAdFiEE/axFlFuH2ptjtO5EAqCvUD0SBQQFAmFR+JUACgkQAqCvUD0S BQSwlwf/eqRrbTppv7iPkitrWbge0Oxp2o504+XFcDGh+MXFjKpYQ7Tt1wJtGgsC hQmQM6pY4zcBpooTiLUw4by9m52MvPSC3Iu0L/6VUy7P2DQch2BEr6Jx8M3bAQxT UmPAnfloOTm+IcKCnS9speriNmSSfY5O3SeMaOfk5qSrT+ZAMzoWvQ1+v1FGy2Ty 2N2NlMdM+Nu8HoL4N/+T3QtWDPQW5NlPd+GOapUBbQUv3MeHxgcXnp8itEZJGVCk pRrAxtLJ24xMIIjT0M5QOOWkKd8HfGeqEm8LxmuPdg60xA3mfMHtHv6Ex5xMRs3z mkr/XUxArPMQAvCymekT5OssbdAWJA==
    =SgNX
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)