summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna Vyalkova <cyber+gentoo@sysrq.in>2022-03-15 11:11:55 +0200
committerJoonas Niilola <juippis@gentoo.org>2022-03-15 11:13:02 +0200
commit7381ab64230b12920544224089725daaf4144b58 (patch)
tree2bd17f7af5000462749808532d5139d60776e90b /eclass/ruby-ng-gnome2.eclass
parentruby-ng.eclass: add debug-print-function calls (diff)
downloadgentoo-7381ab64230b12920544224089725daaf4144b58.tar.gz
gentoo-7381ab64230b12920544224089725daaf4144b58.tar.bz2
gentoo-7381ab64230b12920544224089725daaf4144b58.zip
ruby-ng-gnome2.eclass: add debug-print-function calls
Signed-off-by: Anna Vyalkova <cyber+gentoo@sysrq.in> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'eclass/ruby-ng-gnome2.eclass')
-rw-r--r--eclass/ruby-ng-gnome2.eclass12
1 files changed, 11 insertions, 1 deletions
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