summaryrefslogtreecommitdiff
path: root/eclass/ruby-ng-gnome2.eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-03-20 00:40:44 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-03-20 00:40:44 +0000
commit4cbcc855382a06088e2f016f62cafdbcb7e40665 (patch)
tree356496503d52354aa6d9f2d36126302fed5f3a73 /eclass/ruby-ng-gnome2.eclass
parentfcc5224904648a8e6eb528d7603154160a20022f (diff)
gentoo resync : 20.03.2022
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