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
1 What is the reason for the following restriction:
2 "EXPORT_FUNCTIONS must be used at most once per eclass."
3
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
9
10 Looks like none of the three package managers would have any trouble
11 with it. (And it's used in the tree already.)
12
13 Ulrich

Replies

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