Gentoo Archives: gentoo-commits

From: Marek Szuba <marecki@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Tue, 22 Dec 2020 22:47:39
Message-Id: 1608677240.fae49c087a35ae5a6d78ca043fda68a6f1557e6c.marecki@gentoo
1 commit: fae49c087a35ae5a6d78ca043fda68a6f1557e6c
2 Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 22 22:41:05 2020 +0000
4 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 22 22:47:20 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fae49c08
7
8 waf-utils.eclass: support EAPI-7
9
10 Trivial bump. Tested with a modified media-video/mpv ebuild (which package
11 requires this change before it can be migrated to Lua eclasses), seems
12 to work fine.
13
14 Closes: https://bugs.gentoo.org/743826
15 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
16
17 eclass/waf-utils.eclass | 4 ++--
18 1 file changed, 2 insertions(+), 2 deletions(-)
19
20 diff --git a/eclass/waf-utils.eclass b/eclass/waf-utils.eclass
21 index 7a894f6bbb7..f22460881ef 100644
22 --- a/eclass/waf-utils.eclass
23 +++ b/eclass/waf-utils.eclass
24 @@ -8,7 +8,7 @@
25 # Original Author: Gilles Dartiguelongue <eva@g.o>
26 # Various improvements based on cmake-utils.eclass: Tomáš Chvátal <scarabeus@g.o>
27 # Proper prefix support: Jonathan Callen <jcallen@g.o>
28 -# @SUPPORTED_EAPIS: 4 5 6
29 +# @SUPPORTED_EAPIS: 4 5 6 7
30 # @BLURB: common ebuild functions for waf-based packages
31 # @DESCRIPTION:
32 # The waf-utils eclass contains functions that make creating ebuild for
33 @@ -19,7 +19,7 @@
34 inherit multilib toolchain-funcs multiprocessing
35
36 case ${EAPI:-0} in
37 - 4|5|6) EXPORT_FUNCTIONS src_configure src_compile src_install ;;
38 + 4|5|6|7) EXPORT_FUNCTIONS src_configure src_compile src_install ;;
39 *) die "EAPI=${EAPI} is not supported" ;;
40 esac