commit:     0fa5e48ce63409ad3ce9fd3577df3e54cc27cd48
Author:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Wed Apr  6 11:51:12 2022 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Mon May 30 12:57:02 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fa5e48c

vim-plugin.eclass: add debug-print-function calls

Signed-off-by: Anna Vyalkova <cyber+gentoo <AT> sysrq.in>
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>

 eclass/vim-plugin.eclass | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/eclass/vim-plugin.eclass b/eclass/vim-plugin.eclass
index 1dda852d5a57..c4fa6b2771c6 100644
--- a/eclass/vim-plugin.eclass
+++ b/eclass/vim-plugin.eclass
@@ -44,6 +44,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
@@ -84,6 +86,8 @@ _VIM_PLUGIN_ALLOWED_DIRS=(
 # }
 # @CODE
 vim-plugin_src_install() {
+       debug-print-function ${FUNCNAME} "${@}"
+
        # Install non-vim-help-docs
        einstalldocs
 
@@ -113,6 +117,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 below
@@ -124,6 +130,8 @@ vim-plugin_pkg_postinst() {
 # This function calls the update_vim_helptags and update_vim_afterscripts
 # functions and eventually removes a bunch of empty directories.
 vim-plugin_pkg_postrm() {
+       debug-print-function ${FUNCNAME} "${@}"
+
        update_vim_helptags # from vim-doc
        update_vim_afterscripts # see below
 
@@ -139,6 +147,8 @@ vim-plugin_pkg_postrm() {
 # Creates scripts in /usr/share/vim/vimfiles/after/*
 # comprised of the snippets in /usr/share/vim/vimfiles/after/*/*.d
 update_vim_afterscripts() {
+       debug-print-function ${FUNCNAME} "${@}"
+
        local d f afterdir="${EROOT}"/usr/share/vim/vimfiles/after
 
        # Nothing to do if the dir isn't there
@@ -176,6 +186,8 @@ update_vim_afterscripts() {
 # extra message regarding enabling filetype plugins is displayed if
 # VIM_PLUGIN_MESSAGES includes the word "filetype".
 display_vim_plugin_help() {
+       debug-print-function ${FUNCNAME} "${@}"
+
        local h
 
        if [[ -z ${REPLACING_VERSIONS} ]]; then

Reply via email to