[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-dev
Subject:    [gentoo-dev] [PATCH] waf-utils.eclass: support EAPI-7
From:       Marek Szuba <marecki () gentoo ! org>
Date:       2020-12-21 11:20:21
Message-ID: 29B1C5E0-CAB3-4D57-BDCF-E08202F03380 () gentoo ! org
[Download RAW message or body]

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.

--- a/eclass/waf-utils.eclass
+++ b/eclass/waf-utils.eclass
@@ -8,7 +8,7 @@
 # Original Author: Gilles Dartiguelongue <eva@gentoo.org>
 # Various improvements based on cmake-utils.eclass: Tomáš Chvátal \
<scarabeus@gentoo.org>  # Proper prefix support: Jonathan Callen <jcallen@gentoo.org>
-# @SUPPORTED_EAPIS: 4 5 6
+# @SUPPORTED_EAPIS: 4 5 6 7
 # @BLURB: common ebuild functions for waf-based packages
 # @DESCRIPTION:
 # The waf-utils eclass contains functions that make creating ebuild for
@@ -19,7 +19,7 @@
 inherit multilib toolchain-funcs multiprocessing
 
 case ${EAPI:-0} in
-	4|5|6) EXPORT_FUNCTIONS src_configure src_compile src_install ;;
+	4|5|6|7) EXPORT_FUNCTIONS src_configure src_compile src_install ;;
 	*) die "EAPI=${EAPI} is not supported" ;;
 esac
 

-- 
Marecki


[Attachment #3 (text/html)]

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.<br><br>--- a/eclass/waf-utils.eclass<br>+++ b/eclass/waf-utils.eclass<br>@@ \
-8,7 +8,7 @@<br> # Original Author: Gilles Dartiguelongue &lt;eva@gentoo.org&gt;<br> \
# Various improvements based on cmake-utils.eclass: Tomáš Chvátal \
&lt;scarabeus@gentoo.org&gt;<br> # Proper prefix support: Jonathan Callen \
&lt;jcallen@gentoo.org&gt;<br>-# @SUPPORTED_EAPIS: 4 5 6<br>+# @SUPPORTED_EAPIS: 4 5 \
6 7<br> # @BLURB: common ebuild functions for waf-based packages<br> # \
@DESCRIPTION:<br> # The waf-utils eclass contains functions that make creating ebuild \
for<br>@@ -19,7 +19,7 @@<br> inherit multilib toolchain-funcs multiprocessing<br> \
<br> case ${EAPI:-0} in<br>-	4|5|6) EXPORT_FUNCTIONS src_configure src_compile \
src_install ;;<br>+	4|5|6|7) EXPORT_FUNCTIONS src_configure src_compile src_install \
;;<br> 	*) die "EAPI=${EAPI} is not supported" ;;<br> esac<br> <br><br>-- <br>Marecki



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic