Gentoo Archives: gentoo-dev

From: "Andreas K. Huettel" <dilfridge@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] RFC: future.eclass
Date: Thu, 06 Nov 2014 22:09:39
Message-Id: 201411062309.18213.dilfridge@gentoo.org
In Reply to: Re: [gentoo-dev] RFC: future.eclass by Rich Freeman
1 Am Donnerstag, 6. November 2014, 22:56:21 schrieb Rich Freeman:
2 >
3 > I think we are well-served by taking Ciaran's advice here. Utility
4 > eclasses should just passively export functions. Anything that does
5 > overrides should really be designed for special situations and not
6 > widespread use where it would potentially conflict with other eclasses
7 > that do the same. So, a KDE all-in-one eclass might not be bad. A
8 > perl all-in-one eclass would be more troublesome,
9
10 Bad example. :) We have ca 1800 packages in the portage tree inheriting perl-
11 module.eclass and most of them do not declare any phases themselves but just
12 inherit eclass phases. Which works fine and reduces most ebuilds to a bare
13 minimum.
14
15 But yes, in general the idea of separating utility eclasses and phase eclasses
16 somehow is imho a good one. My personal suggestion would be for a future EAPI
17 to only allow "export all phases, if necessary autogenerated dummies" or
18 "export no phases".
19
20 --
21
22 Andreas K. Huettel
23 Gentoo Linux developer
24 dilfridge@g.o
25 http://www.akhuettel.de/

Attachments

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

Replies

Subject Author
Re: [gentoo-dev] RFC: future.eclass Rich Freeman <rich0@g.o>