Gentoo Archives: gentoo-dev

From: Florian Schmaus <flow@g.o>
To: gentoo-dev@l.g.o
Cc: Florian Schmaus <flow@g.o>
Subject: [gentoo-dev] [PATCH v3 2/2] xdg.eclass: drop support for EAPI 4
Date: Mon, 09 Aug 2021 18:32:52
Message-Id: 20210809183208.1187988-2-flow@gentoo.org
In Reply to: [gentoo-dev] [PATCH v3 1/2] xdg.eclass: add EAPI 8 support by Florian Schmaus
1 Signed-off-by: Florian Schmaus <flow@g.o>
2 ---
3 eclass/xdg.eclass | 6 +++---
4 1 file changed, 3 insertions(+), 3 deletions(-)
5
6 diff --git a/eclass/xdg.eclass b/eclass/xdg.eclass
7 index d973a09c29d9..80d291a7de5b 100644
8 --- a/eclass/xdg.eclass
9 +++ b/eclass/xdg.eclass
10 @@ -6,7 +6,7 @@
11 # freedesktop-bugs@g.o
12 # @AUTHOR:
13 # Original author: Gilles Dartiguelongue <eva@g.o>
14 -# @SUPPORTED_EAPIS: 4 5 6 7 8
15 +# @SUPPORTED_EAPIS: 5 6 7 8
16 # @BLURB: Provides phases for XDG compliant packages.
17 # @DESCRIPTION:
18 # Utility eclass to update the desktop, icon and shared mime info as laid
19 @@ -16,7 +16,7 @@ inherit xdg-utils
20
21 _DEFINE_XDG_SRC_PREPARE=false
22 case "${EAPI}" in
23 - 4|5|6|7)
24 + 5|6|7)
25 # src_prepare is only exported in EAPI < 8.
26 EXPORT_FUNCTIONS src_prepare
27 _DEFINE_XDG_SRC_PREPARE=true
28 @@ -35,7 +35,7 @@ _XDG_DEPEND="
29 "
30
31 case "${EAPI}" in
32 - 4|5|6|7)
33 + 5|6|7)
34 DEPEND="${_XDG_DEPEND}"
35 ;;
36 *)
37 --
38 2.31.1

Replies

Subject Author
Re: [gentoo-dev] [PATCH v3 2/2] xdg.eclass: drop support for EAPI 4 Andreas Sturmlechner <asturm@g.o>