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 1S5hTe-0005Yx-Ss for garchives@archives.gentoo.org; Thu, 08 Mar 2012 17:50:11 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 30470E0841; Thu, 8 Mar 2012 17:49:52 +0000 (UTC) Received: from mail2.viabit.com (mail2.viabit.com [65.246.80.16]) by pigeon.gentoo.org (Postfix) with ESMTP id D92C5E08FA for ; Thu, 8 Mar 2012 17:49:04 +0000 (UTC) Received: from [172.17.29.6] (unknown [65.213.236.242]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail2.viabit.com (Postfix) with ESMTPSA id 8CE1ED8DE9 for ; Thu, 8 Mar 2012 12:48:57 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=orlitzky.com; s=mail2; t=1331228939; bh=ZXB34Kh9ZB/hANwhQTKNwsPVCKxQTq2fMEwUmdGCB5k=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=T1FY/7JBV0q71dhV42mi9qbR0XGnMCupxrdgHcBqBvVy6VtakJ7onvoBYuCI5OqMQ OtAP3HCUUR0JeopQtsEN1+FDRl/gL7g1XmfVrUWqiTeIYpnTE3hu64zxH9Ei10aJ4t jipB1ZvZJLuHvk32ya4RMpgepZPFUVNhsbCqujNQ= Message-ID: <4F58F103.5010503@orlitzky.com> Date: Thu, 08 Mar 2012 12:48:51 -0500 From: Michael Orlitzky User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20120121 Thunderbird/9.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] RFD: EAPI specification in ebuilds References: <20311.51166.725757.212932@a1i15.kph.uni-mainz.de> <4F57DDB5.3090503@orlitzky.com> <20120308130310.69c3c714@pomiocik.lan> <4F58D6A5.7070804@orlitzky.com> <20120308182844.11201771@pomiocik.lan> In-Reply-To: <20120308182844.11201771@pomiocik.lan> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 5304effd-8497-496c-ae3c-fc29c8c339e5 X-Archives-Hash: 6d56858c91aa0090cdcc5e5ac95864f6 On 03/08/2012 12:28 PM, Micha=C5=82 G=C3=B3rny wrote: > > And something will need to provide that /usr/bin/eapi4 thing. And that > introduces new problems: I'm just parroting someone else's suggestion; I don't really know enough=20 about the details to answer these properly. Not that that will stop me. > 1) how are we going to support multiple package managers? will we need > to install eapi4 thing as a smart wrapper choosing the right PM? > > 2) what about Prefix? #!/usr/bin/env eapi4 then, or proactive updating > of shebangs in synced ebuilds? and then regenerating the whole cache > (guess how long does it take to update it), Wouldn't #!/use/bin/env eapi4 handle both (1) and (2)? You might have to=20 eselect package-manager or something first if you want to use two PMs at=20 once. > 3) what should happen if user executes ebuild? the ebuild should merge > itself? with dependencies or without? If a user marks the ebuild executable and does ./foo-x.y.ebuild, the=20 eapi4 wrapper can decide what to do. Nothing at all, print larry the=20 cow, or crash (what we do now) are all fine with me =3D)