Gentoo Archives: gentoo-dev

From: "Andreas K. Huettel" <dilfridge@g.o>
To: gentoo-dev@l.g.o
Cc: Andrew Savchenko <bircoph@g.o>
Subject: Re: [gentoo-dev] [PATCH] fortran-2.eclass: support EAPI 7
Date: Mon, 29 Oct 2018 22:52:56
Message-Id: 4391372.a9vlhZ2KXN@pinacolada
In Reply to: [gentoo-dev] [PATCH] fortran-2.eclass: support EAPI 7 by Andrew Savchenko
1 >
2 > -inherit eutils toolchain-funcs
3 > +inherit toolchain-funcs
4 >
5 > case ${EAPI:-0} in
6 > - 4|5|6) EXPORT_FUNCTIONS pkg_setup ;;
7 > + 4|5|6|7) EXPORT_FUNCTIONS pkg_setup ;;
8 > *) die "EAPI=${EAPI} is not supported" ;;
9 > esac
10 >
11
12 ^ The disadvantage of this is that eutils inheritance then suddenly disappears
13 for all ebuilds. And you don't know who assumed implicitly somewhere that
14 inheriting fortran-2 makes epatch available...
15
16 So how about still inheriting eutils for EAPI 4,5,6 and only dropping it for
17 EAPI 7 ?!
18
19
20 --
21 Andreas K. Hüttel
22 dilfridge@g.o
23 Gentoo Linux developer
24 (council, toolchain, perl, libreoffice, comrel)

Attachments

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

Replies

Subject Author
Re: [gentoo-dev] [PATCH] fortran-2.eclass: support EAPI 7 Andrew Savchenko <bircoph@g.o>