Gentoo Archives: gentoo-dev

From: Marek Szuba <marecki@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] [PATCH] sword-module.eclass: support EAPI 8
Date: Wed, 16 Jun 2021 09:12:16
Message-Id: 20210616091149.7901-1-marecki@gentoo.org
1 Signed-off-by: Marek Szuba <marecki@g.o>
2 ---
3 eclass/sword-module.eclass | 10 +++++-----
4 1 file changed, 5 insertions(+), 5 deletions(-)
5
6 diff --git a/eclass/sword-module.eclass b/eclass/sword-module.eclass
7 index 2ae58d1e51b..f8ae83c9f05 100644
8 --- a/eclass/sword-module.eclass
9 +++ b/eclass/sword-module.eclass
10 @@ -1,16 +1,16 @@
11 -# Copyright 1999-2020 Gentoo Authors
12 +# Copyright 1999-2021 Gentoo Authors
13 # Distributed under the terms of the GNU General Public License v2
14
15 # @ECLASS: sword-module.eclass
16 # @MAINTAINER:
17 # Marek Szuba <marecki@g.o>
18 -# @SUPPORTED_EAPIS: 7
19 +# @SUPPORTED_EAPIS: 7 8
20 # @BLURB: Simplify installation of SWORD modules
21 # @DESCRIPTION:
22 # This eclass provides dependencies, ebuild environment and the src_install
23 # function common to all app-text/sword modules published by the SWORD Project.
24 #
25 -# Note that as of 2020-07-26 module archives published by SWORD are still
26 +# Note that as of 2021-06-16 module archives published by SWORD are still
27 # not versioned and it is necessary to look at respective module pages in
28 # order to see what versions the currently available files are. Once
29 # a module file has been replicated to the Gentoo mirror network it will be
30 @@ -23,7 +23,7 @@
31 # sword-Personal-1.0.ebuild, a typical ebuild using sword-module.eclass:
32 #
33 # @CODE
34 -# EAPI=7
35 +# EAPI=8
36 #
37 # SWORD_MINIMUM_VERSION="1.5.1a"
38 #
39 @@ -40,7 +40,7 @@ case ${EAPI:-0} in
40 0|1|2|3|4|5|6)
41 die "Unsupported EAPI=${EAPI} (too old) for ${ECLASS}"
42 ;;
43 - 7)
44 + 7|8)
45 ;;
46 *)
47 die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}"
48 --
49 2.31.1