Gentoo Archives: gentoo-dev

From: Marek Szuba <marecki@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] [PATCH] waf-utils.eclass: support EAPI-7
Date: Mon, 21 Dec 2020 11:20:30
Message-Id: 29B1C5E0-CAB3-4D57-BDCF-E08202F03380@gentoo.org
1 Trivial bump. Tested with a modified media-video/mpv ebuild (which package requires this change before it can be migrated to Lua eclasses), seems to work fine.
2
3 --- a/eclass/waf-utils.eclass
4 +++ b/eclass/waf-utils.eclass
5 @@ -8,7 +8,7 @@
6 # Original Author: Gilles Dartiguelongue <eva@g.o>
7 # Various improvements based on cmake-utils.eclass: Tomáš Chvátal <scarabeus@g.o>
8 # Proper prefix support: Jonathan Callen <jcallen@g.o>
9 -# @SUPPORTED_EAPIS: 4 5 6
10 +# @SUPPORTED_EAPIS: 4 5 6 7
11 # @BLURB: common ebuild functions for waf-based packages
12 # @DESCRIPTION:
13 # The waf-utils eclass contains functions that make creating ebuild for
14 @@ -19,7 +19,7 @@
15 inherit multilib toolchain-funcs multiprocessing
16
17 case ${EAPI:-0} in
18 - 4|5|6) EXPORT_FUNCTIONS src_configure src_compile src_install ;;
19 + 4|5|6|7) EXPORT_FUNCTIONS src_configure src_compile src_install ;;
20 *) die "EAPI=${EAPI} is not supported" ;;
21 esac
22
23
24 --
25 Marecki