Signed-off-by: Anna Vyalkova <
cyber+gentoo@sysrq.in>
---
eclass/ruby-fakegem.eclass | 46 +++++++++++++++++++++++++++++++++++++-
1 file changed, 45 insertions(+), 1 deletion(-)
diff --git a/eclass/ruby-fakegem.eclass b/eclass/ruby-fakegem.eclass
index cafb5dc04788..8ec772f0261e 100644
--- a/eclass/ruby-fakegem.eclass
+++ b/eclass/ruby-fakegem.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: ruby-fakegem.eclass
@@ -218,6 +218,8 @@ esac
# This function returns the gems data directory for the ruby
# implementation in question.
ruby_fakegem_gemsdir() {
+ debug-print-function ${FUNCNAME} "${@}"
+
local _gemsitedir=$(ruby_rbconfig_value 'sitelibdir')
_gemsitedir=${_gemsitedir//site_ruby/gems}
_gemsitedir=${_gemsitedir#${EPREFIX}}
@@ -235,6 +237,8 @@ ruby_fakegem_gemsdir() {
# @DESCRIPTION:
# Installs the specified file(s) into the gems directory.
ruby_fakegem_doins() {
+ debug-print-function ${FUNC