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

    From Anna Vyalkova@21:1/5 to All on Thu Apr 7 14:10: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 243f9107be..92db412adc 100644
    --- a/eclass/vim-plugin.eclass
    +++ b/eclass/vim-plugin.eclass
    @@ -55,6 +55,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
    @@ -95,6 +97,7 @@ _VIM_PLUGIN_ALLOWED_DIRS=(
    # }
    # @CODE
    vim-plugin_src_install() {
    + debug-print-function ${FUNCNAME} "${@}"

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