Mailing List Archive

[PATCH 2/6] ruby-ng.eclass: stop inheriting toolchain-funcs
From: Hans de Graaff <graaff@gentoo.org>

Stop inheriting toolchain-funcs in EAPI 7. The eclass does not use
this eclass and any ebuild that requires it should inherit it directly
instead.

Signed-off-by: Hans de Graaff <graaff@gentoo.org>
---
eclass/ruby-ng.eclass | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/eclass/ruby-ng.eclass b/eclass/ruby-ng.eclass
index c2a09585d8ef..7fef1085a9dd 100644
--- a/eclass/ruby-ng.eclass
+++ b/eclass/ruby-ng.eclass
@@ -69,14 +69,17 @@
local inherits=""
case ${EAPI} in
4|5)
- inherits="eutils"
+ inherits="eutils toolchain-funcs"
+ ;;
+ 6)
+ inherits="estack toolchain-funcs"
;;
*)
inherits="estack"
;;
esac

-inherit ${inherits} multilib toolchain-funcs ruby-utils
+inherit ${inherits} multilib ruby-utils

EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_compile src_test src_install pkg_setup

--
2.21.0