ruby-ng.eclass: add EAPI 7 support
authorHans de Graaff <graaff@gentoo.org>
Sun, 21 Jul 2019 06:23:31 +0000 (08:23 +0200)
committerHans de Graaff <graaff@gentoo.org>
Thu, 25 Jul 2019 06:09:41 +0000 (08:09 +0200)
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
eclass/ruby-ng.eclass

index 8dc3e16612522afd0a56e487402f63209f7aaa4d..c2a09585d8efadc0a8a915f8f1ae4aa0bc836b98 100644 (file)
@@ -8,7 +8,7 @@
 # Author: Diego E. Pettenò <flameeyes@gentoo.org>
 # Author: Alex Legler <a3li@gentoo.org>
 # Author: Hans de Graaff <graaff@gentoo.org>
-# @SUPPORTED_EAPIS: 4 5 6
+# @SUPPORTED_EAPIS: 4 5 6 7
 # @BLURB: An eclass for installing Ruby packages with proper support for multiple Ruby slots.
 # @DESCRIPTION:
 # The Ruby eclass is designed to allow an easier installation of Ruby packages
@@ -83,7 +83,7 @@ EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_compile src_test src_i
 case ${EAPI} in
        0|1|2|3)
                die "Unsupported EAPI=${EAPI} (too old) for ruby-ng.eclass" ;;
-       4|5|6)
+       4|5|6|7)
                # S is no longer automatically assigned when it doesn't exist.
                S="${WORKDIR}"
                ;;
@@ -283,7 +283,7 @@ ruby_get_use_targets() {
 # confuse this function with ruby_implementation_depend().
 #
 # @EXAMPLE:
-# EAPI=6
+# EAPI=7
 # RUBY_OPTIONAL=yes
 #
 # inherit ruby-ng