Gentoo Archives: gentoo-dev

From: David Michael <fedora.dm0@×××××.com>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: [PATCH 1/2] xdg-utils.eclass: EAPI 8 support
Date: Fri, 25 Jun 2021 16:39:22
Message-Id: CAEvUa7m7A+5-JZ+_YB9GRWsS6WMLyVTL_3mTwHggywFb0Hsj-g@mail.gmail.com
In Reply to: [gentoo-dev] [PATCH 1/2] xdg-utils.eclass: EAPI 8 support by David Michael
1 On Fri, Jun 25, 2021 at 12:33 PM David Michael <fedora.dm0@×××××.com> wrote:
2 > @@ -17,9 +17,9 @@
3 > # * XDG .desktop files cache management
4 > # * XDG mime information database management
5 >
6 > -case "${EAPI:-0}" in
7 > - 0|1|2|3|4|5|6|7) ;;
8 > - *) die "EAPI=${EAPI} is not supported" ;;
9 > +case ${EAPI} in
10 > + 0|1|2|3|4|5|6|7|8) ;;
11 > + *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
12 > esac
13 >
14 > # @ECLASS-VARIABLE: DESKTOP_DATABASE_DIR
15
16 Oops, this one should have kept "case ${EAPI:-0} in" since it actually
17 claims to support EAPI 0.