Gentoo Archives: gentoo-pms

From: Ulrich Mueller <ulm@g.o>
To: gentoo-pms@l.g.o
Subject: [gentoo-pms] EXPORT_FUNCTIONS
Date: Mon, 01 Feb 2010 10:18:18
In Reply to: Re: [gentoo-pms] Fill column by Brian Harring
1 What is the reason for the following restriction:
2 "EXPORT_FUNCTIONS must be used at most once per eclass."
4 Eclasses could be cleaner if the following was allowed:
5 EXPORT_FUNCTIONS src_unpack src_compile
6 if <some EAPI condition>; then
7 EXPORT_FUNCTIONS src_prepare src_configure
8 fi
10 Looks like none of the three package managers would have any trouble
11 with it. (And it's used in the tree already.)
13 Ulrich


Subject Author
[gentoo-pms] Re: EXPORT_FUNCTIONS Ulrich Mueller <ulm@g.o>