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

    From Anna Vyalkova@21:1/5 to All on Wed Apr 6 16:00: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 063893ad41..4f0ee3c815 100644
    --- a/eclass/vim-plugin.eclass
    +++ b/eclass/vim-plugin.eclass
    @@ -54,6 +54,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
    @@ -93,6 +95,7 @@ _VIM_PLUGIN_ALLOWED_DIRS=(
    # }
    # @CODE
    vim-plugin_src_install() {
    + debug-print-function ${FUNCNAME} "${@}"

    # Install non-vim-help-docs
    einstalldocs
    @@ -123,6 +126,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