From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NbtMI-0005Gz-F9 for garchives@archives.gentoo.org; Mon, 01 Feb 2010 10:18:18 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 37D9BE0882; Mon, 1 Feb 2010 10:18:14 +0000 (UTC) Received: from a1iwww1.kph.uni-mainz.de (a1iwww1.kph.uni-mainz.de [134.93.134.1]) by pigeon.gentoo.org (Postfix) with ESMTP id D431DE0882 for ; Mon, 1 Feb 2010 10:18:13 +0000 (UTC) Received: from a1i15.kph.uni-mainz.de (a1i15.kph.uni-mainz.de [134.93.134.92]) by a1iwww1.kph.uni-mainz.de (8.14.0/8.13.4) with ESMTP id o11AICKZ027458 for ; Mon, 1 Feb 2010 11:18:12 +0100 Received: from a1i15.kph.uni-mainz.de (localhost [127.0.0.1]) by a1i15.kph.uni-mainz.de (8.14.3/8.14.2) with ESMTP id o11AICS1028467; Mon, 1 Feb 2010 11:18:12 +0100 Received: (from ulm@localhost) by a1i15.kph.uni-mainz.de (8.14.3/8.14.3/Submit) id o11AICLv028464; Mon, 1 Feb 2010 11:18:12 +0100 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Package Manager Specification discussions X-BeenThere: gentoo-pms@gentoo.org X-BeenThere: gentoo-pms@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19302.43620.26044.466404@a1i15.kph.uni-mainz.de> Date: Mon, 1 Feb 2010 11:18:12 +0100 To: gentoo-pms@lists.gentoo.org Subject: [gentoo-pms] EXPORT_FUNCTIONS In-Reply-To: <20100119120625.GB12986@hrair> References: <19283.1288.750642.339010@a1i15.kph.uni-mainz.de> <82dd739f1001170626o343dfa75qc1fd64621f9645d7@mail.gmail.com> <20100119120625.GB12986@hrair> X-Mailer: VM 8.1.0-beta under 23.1.91.1 (x86_64-pc-linux-gnu) From: Ulrich Mueller X-Archives-Salt: 4639bf18-b8c1-4080-9f2f-20dfbfc0e8bb X-Archives-Hash: d03bca2b662ed95bbf0dbfccb69cabb2 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 ; 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