• [gentoo-dev] [PATCH v2 8/8] vim-plugin.eclass: add debug-print-function

    From Anna Vyalkova@21:1/5 to All on Wed Apr 6 14:40:01 2022
    Signed-off-by: Anna Vyalkova <cyber+gentoo@sysrq.in>
    ---
    eclass/vim-plugin.eclass | 11 +++++++++++
    1 file changed, 11 insertions(+)

    diff --git a/eclass/vim-plugin.eclass b/eclass/vim-plugin.eclass
    index 65a8fb0f73..265427071e 100644
    --- a/eclass/vim-plugin.eclass
    +++ b/eclass/vim-plugin.eclass
    @@ -42,6 +42,8 @@ if ${_DEFINE_VIM_PLUGIN_SRC_PREPARE}; then
    # other packages.
    # Note that this function is only defined and exported in EAPIs >= 8.
    vim-plugin_src_prepare() {
    + debug-print-function ${FUNCNAME} "${@}"
    +
    default_src_prepare

    # return if there's nothing to do
    @@ -81,6 +83,7 @@ _VIM_PLUGIN_ALLOWED_DIRS=(
    # }
    # @CODE
    vim-plugin_src_install() {
    + debug-print-function ${FUNCNAME} "${@}"

    # Install non-vim-help-docs
    einstalldocs
    @@ -111,6 +114,8 @@ vim-plugin_src_install() {
    # * update_vim_afterscripts
    # * display_vim_plugin_help
    vim-plugin_pkg_postinst() {
    + debug-print-function ${FUNCNAME} "${@}"
    +
    update_vim_helptags # from vim-doc
    update_vim_afterscripts # see below
    display_vim_plugin_help # see bel