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
Message-Id: 19302.43620.26044.466404@a1i15.kph.uni-mainz.de
In Reply to: Re: [gentoo-pms] Fill column by Brian Harring
What is the reason for the following restriction:
"EXPORT_FUNCTIONS must be used at most once per eclass."

Eclasses could be cleaner if the following was allowed:
   EXPORT_FUNCTIONS src_unpack src_compile
   if <some EAPI condition>; then
       EXPORT_FUNCTIONS src_prepare src_configure
   fi

Looks like none of the three package managers would have any trouble
with it. (And it's used in the tree already.)

Ulrich

Replies

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