From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A7F5815808B for ; Wed, 6 Apr 2022 13:55:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 88B16E0CB4; Wed, 6 Apr 2022 13:52:24 +0000 (UTC) Received: from sysrq.in (sysrq.in [37.79.202.136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9E431E0C58 for ; Wed, 6 Apr 2022 13:52:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sysrq.in; s=sysrq.in; t=1649253138; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=58lVu9FNybi8/zwwQJiFNuTrfTaflCdyz1oXWGx++mg=; b=uEA1PXN4HKLUJjDKUKrbls5dqzcb3ZovRcqrNwtM8em0GDhmeByGBA/L1Yasb1MQQ8OmJu FFILPAjlTN9BylBIa7PTmDMdGePo6ug2bO45ktz1eH9rZwbQUy9VbC6CtbqQNcFjeq1Zad 6KST075CwcEexZg89GFRKLhuERdRcDiDuvpqMdGcRHaTeJ+wVv9Jbtt9a6ArqAqSSbXz1D CgD8CaAdI8YPHxIXTPXHnzm3wimpgWuGM3TdC0P3kSJXsOq1RUZwSfQniYgVsRUFyTYHUB bLKvWA+1Cu71Y+FCPx0fE3TXdwKNuUfABJWBLAvyKQVOODMSYBtkI0s0j959Iw== Received: from sysrq.in (localhost [127.0.0.1]) by sysrq.in (OpenSMTPD) with ESMTPSA id 523ca0d9 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 6 Apr 2022 13:52:18 +0000 (UTC) From: Anna Vyalkova To: gentoo-dev@lists.gentoo.org Cc: vim@gentoo.org Subject: [gentoo-dev] [PATCH v3 8/8] vim-plugin.eclass: add debug-print-function calls Date: Wed, 6 Apr 2022 18:52:03 +0500 Message-Id: <20220406135203.24882-9-cyber+gentoo@sysrq.in> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220406135203.24882-1-cyber+gentoo@sysrq.in> References: <20220406091034.12174-1-t@laumann.xyz> <20220406135203.24882-1-cyber+gentoo@sysrq.in> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Archives-Salt: f471e865-07ad-4396-a863-22c7ac8c6791 X-Archives-Hash: 68ca1e69bf2babbf7ee8af51fa0fe142 Signed-off-by: Anna Vyalkova --- 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 below @@ -134,6 +139,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 @@ -149,6 +156,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 @@ -186,6 +195,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 -- 2.35.1