summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna Vyalkova <cyber+gentoo@sysrq.in>2022-04-06 16:51:12 +0500
committerPatrice Clement <monsieurp@gentoo.org>2022-05-30 14:57:02 +0200
commit0fa5e48ce63409ad3ce9fd3577df3e54cc27cd48 (patch)
tree37b7a88a48240ca605cc247fd73959e42b4df53f
parentvim-doc.eclass: document update_vim_helptags (diff)
downloadgentoo-0fa5e48c.tar.gz
gentoo-0fa5e48c.tar.bz2
gentoo-0fa5e48c.zip
vim-plugin.eclass: add debug-print-function calls
Signed-off-by: Anna Vyalkova <cyber+gentoo@sysrq.in> Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
-rw-r--r--eclass/vim-plugin.eclass12
1 files changed, 12 insertions, 0 deletions
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