Gentoo Archives: gentoo-dev

From: David Michael <fedora.dm0@×××××.com>
To: gentoo-dev@l.g.o
Cc: gnome@g.o
Subject: [gentoo-dev] [PATCH 2/2] gnome.org.eclass: EAPI 8 support
Date: Fri, 25 Jun 2021 16:34:33
Message-Id: 87eecpucn7.fsf@gmail.com
1 Signed-off-by: David Michael <fedora.dm0@×××××.com>
2 ---
3 eclass/gnome.org.eclass | 8 ++++----
4 1 file changed, 4 insertions(+), 4 deletions(-)
5
6 diff --git a/eclass/gnome.org.eclass b/eclass/gnome.org.eclass
7 index dba26155d74..7efd03bfa94 100644
8 --- a/eclass/gnome.org.eclass
9 +++ b/eclass/gnome.org.eclass
10 @@ -7,13 +7,13 @@
11 # @AUTHOR:
12 # Authors: Spidler <spidler@g.o> with help of carparski.
13 # eclass variable additions and documentation: Gilles Dartiguelongue <eva@g.o>
14 -# @SUPPORTED_EAPIS: 5 6 7
15 +# @SUPPORTED_EAPIS: 5 6 7 8
16 # @BLURB: Helper eclass for gnome.org hosted archives
17 # @DESCRIPTION:
18 # Provide a default SRC_URI for tarball hosted on gnome.org mirrors.
19
20 -case ${EAPI:-0} in
21 - [567]) ;;
22 +case ${EAPI} in
23 + 5|6|7|8) ;;
24 *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
25 esac
26
27 @@ -31,7 +31,7 @@ _GNOME_ORG_ECLASS=1
28 # moving to only have xz tarballs for new releases.
29 : ${GNOME_TARBALL_SUFFIX:="xz"}
30
31 -# Even though xz-utils are in @system, they must still be added to DEPEND; see
32 +# Even though xz-utils are in @system, they must still be added to BDEPEND; see
33 # https://archives.gentoo.org/gentoo-dev/msg_a0d4833eb314d1be5d5802a3b710e0a4.xml
34 if [[ ${GNOME_TARBALL_SUFFIX} == "xz" ]]; then
35 if [[ ${EAPI} != [56] ]]; then
36 --
37 2.31.1