commit:     7381ab64230b12920544224089725daaf4144b58
Author:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Tue Mar 15 09:11:55 2022 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Mar 15 09:13:02 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7381ab64

ruby-ng-gnome2.eclass: add debug-print-function calls

Signed-off-by: Anna Vyalkova <cyber+gentoo <AT> sysrq.in>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 eclass/ruby-ng-gnome2.eclass | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/eclass/ruby-ng-gnome2.eclass b/eclass/ruby-ng-gnome2.eclass
index cc475b36b731..732cf9c96b3a 100644
--- a/eclass/ruby-ng-gnome2.eclass
+++ b/eclass/ruby-ng-gnome2.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # @ECLASS: ruby-ng-gnome2.eclass
@@ -82,6 +82,8 @@ all_ruby_prepare() {
 # @DESCRIPTION:
 # Run the configure script in the subbinding for each specific ruby target.
 each_ruby_configure() {
+       debug-print-function ${FUNCNAME} "${@}"
+
        [[ -e extconf.rb ]] || return
 
        ${RUBY} extconf.rb || die "extconf.rb failed"
@@ -91,6 +93,8 @@ each_ruby_configure() {
 # @DESCRIPTION:
 # Compile the C bindings in the subbinding for each specific ruby target.
 each_ruby_compile() {
+       debug-print-function ${FUNCNAME} "${@}"
+
        [[ -e Makefile ]] || return
 
        # We have injected --no-undefined in Ruby as a safety precaution
@@ -109,6 +113,8 @@ each_ruby_compile() {
 # @DESCRIPTION:
 # Install the files in the subbinding for each specific ruby target.
 each_ruby_install() {
+       debug-print-function ${FUNCNAME} "${@}"
+
        if [[ -e Makefile ]]; then
                # Create the directories, or the package will create them as 
files.
                local archdir=$(ruby_rbconfig_value "sitearchdir")
@@ -124,6 +130,8 @@ each_ruby_install() {
 # @DESCRIPTION:
 # Install the files common to all ruby targets.
 all_ruby_install() {
+       debug-print-function ${FUNCNAME} "${@}"
+
        for doc in ../AUTHORS ../NEWS ChangeLog README; do
                [[ -s ${doc} ]] && dodoc $doc
        done
@@ -139,6 +147,8 @@ all_ruby_install() {
 # @DESCRIPTION:
 # Run the tests for this package.
 each_ruby_test() {
+       debug-print-function ${FUNCNAME} "${@}"
+
        [[ -e test/run-test.rb ]] || return
 
        if [[ ${RUBY_GNOME2_NEED_VIRTX} == yes ]]; then

Reply via email to