aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <hans@degraaff.org>2014-09-07 20:22:02 +0200
committerHans de Graaff <hans@degraaff.org>2014-09-07 20:22:02 +0200
commit837d735280a95b76776e038b2b0f306c359eac1e (patch)
tree00940383b39f8dea75749ff179d5d29a321e7840
parentUpdate .travis.yml. (diff)
downloadruby-overlay-837d735280a95b76776e038b2b0f306c359eac1e.tar.gz
ruby-overlay-837d735280a95b76776e038b2b0f306c359eac1e.tar.bz2
ruby-overlay-837d735280a95b76776e038b2b0f306c359eac1e.zip
Move ruby-utils include to be before EXPORT_FUNCTIONS.
Fixes: * QA Notice: EXPORT_FUNCTIONS is called before inherit in * ruby-ng.eclass. For compatibility with <=portage-2.1.6.7, only call * EXPORT_FUNCTIONS after inherit(s).
-rw-r--r--eclass/ruby-ng.eclass4
1 files changed, 1 insertions, 3 deletions
diff --git a/eclass/ruby-ng.eclass b/eclass/ruby-ng.eclass
index 60cb951..5af4683 100644
--- a/eclass/ruby-ng.eclass
+++ b/eclass/ruby-ng.eclass
@@ -72,7 +72,7 @@
# (e.g. selenium's firefox driver extension). When set this argument is
# passed to "grep -E" to remove reporting of these shared objects.
-inherit eutils java-utils-2 multilib toolchain-funcs
+inherit eutils java-utils-2 multilib toolchain-funcs ruby-utils
EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_compile src_test src_install pkg_setup
@@ -88,8 +88,6 @@ case ${EAPI} in
die "Unknown EAPI=${EAPI} for ruby-ng.eclass"
esac
-inherit ruby-utils
-
# @FUNCTION: ruby_implementation_depend
# @USAGE: target [comparator [version]]
# @RETURN: Package atom of a Ruby implementation to be used in dependencies.