• [gentoo-dev] [PATCH 3/7] cargo.eclass: document undocumented variables,

    From Georgy Yakovlev@21:1/5 to All on Thu Feb 9 22:00:01 2023
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
    ---
    eclass/cargo.eclass | 11 +++++++++--
    1 file changed, 9 insertions(+), 2 deletions(-)

    diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass
    index 1a8d665fdad2..9c624d607cdd 100644
    --- a/eclass/cargo.eclass
    +++ b/eclass/cargo.eclass
    @@ -58,8 +58,15 @@ fi

    IUSE="${IUSE} debug"

    -ECARGO_HOME="${WORKDIR}/cargo_home"
    -ECARGO_VENDOR="${ECARGO_HOME}/gentoo"
    +# @ECLASS_VARIABLE: ECARGO_HOME
    +# @DESCRIPTION:
    +# Directory for CARGO_HOME used by build process.
    +readonly ECARGO_HOME="${WORKDIR}/cargo_home"
    +
    +# @ECLASS_VARIABLE: ECARGO_VENDOR
    +# @DESCRIPTION:
    +# Directory for 'cargo vendor' subcommand output.
    +readonly ECARGO_VENDOR="${ECARGO_HOME}/gentoo"

    # @ECLASS_VARIABLE: CRATES
    # @DEFAULT_UNSET
    --
    2.39.1

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