Gentoo Archives: gentoo-dev

From: Ulrich Mueller <ulm@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH 5/5] xdg.eclass: support EAPI 7
Date: Mon, 01 Oct 2018 06:10:34
Message-Id: w6ga7ny42pg.fsf@kph.uni-mainz.de
In Reply to: [gentoo-dev] [PATCH 5/5] xdg.eclass: support EAPI 7 by Mike Gilbert
1 >>>>> On Mon, 01 Oct 2018, Mike Gilbert wrote:
2
3 > @@ -15,7 +15,7 @@
4 > inherit xdg-utils
5
6 > case "${EAPI:-0}" in
7
8 This was there before your change, but the ":-0" isn't needed here ...
9
10 > - 4|5|6)
11 > + 4|5|6|7)
12 > EXPORT_FUNCTIONS src_prepare pkg_preinst pkg_postinst pkg_postrm
13 > ;;
14 > *) die "EAPI=${EAPI} is not supported" ;;
15
16 ... while this line could profit from it.
17
18 > @@ -35,7 +35,7 @@ fi
19 > xdg_src_prepare() {
20 > xdg_environment_reset
21 >
22 > - has ${EAPI:-0} 6 && default
23 > + has "${EAPI:-0}" 4 5 || default
24
25 Ditto.
26
27 Ulrich

Attachments

File name MIME type
signature.asc application/pgp-signature