From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Jnrmg-0006Yy-PR for garchives@archives.gentoo.org; Mon, 21 Apr 2008 08:53:59 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 11FEFE03F3; Mon, 21 Apr 2008 08:53:57 +0000 (UTC) Received: from castor.sshunet.nl (castor.sshunet.nl [145.97.192.41]) by pigeon.gentoo.org (Postfix) with ESMTP id C4B3EE03F3 for ; Mon, 21 Apr 2008 08:53:56 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by castor.sshunet.nl (Postfix) with ESMTP id 2C0BF57C00B for ; Mon, 21 Apr 2008 10:53:56 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at castor.sshunet.nl Received: from castor.sshunet.nl ([127.0.0.1]) by localhost (castor.sshunet.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 03DFgqrCbhjp for ; Mon, 21 Apr 2008 10:53:56 +0200 (CEST) Received: from [145.97.223.9] (9pc223.sshunet.nl [145.97.223.9]) by castor.sshunet.nl (Postfix) with ESMTP for ; Mon, 21 Apr 2008 10:53:56 +0200 (CEST) Message-ID: <480C55E9.20806@gentoo.org> Date: Mon, 21 Apr 2008 10:52:57 +0200 From: "Marijn Schouten (hkBst)" User-Agent: Thunderbird 2.0.0.12 (X11/20080228) 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] Dependencies that're available at pkg_*inst References: <20080419053116.50e0ffe6@snowcone> <20080419044512.GD29470@supernova> <20080419055420.29ab56e1@snowcone> <20080419052720.GE29470@supernova> <20080419063300.6d2a2525@snowcone> <20080421051727.GA10765@comet> <20080421062306.71998fbf@snowcone> In-Reply-To: <20080421062306.71998fbf@snowcone> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 6f715c56-654a-47ec-9230-f61b894df52b X-Archives-Hash: 51ec64b3dc83e04f051b3c1d6275746f -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ciaran McCreesh wrote: | On Sun, 20 Apr 2008 22:17:27 -0700 | Donnie Berkholz wrote: |> I don't think I understand the difference between the effects of |> these two options. | | cat/a-1 is installed and has RDEPEND cat/b | cat/a-2 is to be installed and has DEPEND cat/b and RDEPEND =cat/b-2 | cat/b-1 is installed and has RDEPEND cat/a | cat/b-2 is to be installed and has DEPEND cat/a and RDEPEND =cat/a-2 | | Solve this and enlightenment shall be yours! | | Or a headache. | This problem has the two obvious solutions: either install a-2 and then b-2 or the other way around. But to be relevant to the current discussion you need to specify whether or not there are any pkg_{pre,post}inst functions. If there are too many then it becomes unsolvable and is probably a bug, as I already explained: |> If only one of those packages has a pkg_postinst then it is still |> solvable. If they both have a pkg_postinst then one of those is |> probably not essential for the actual usability of the package and |> should be removed. A final possibility is that the pkg_postinsts are |> both necessary for a fully functional package but not for the |> functionality used in the other pkg_postinst. If this is the case, |> then perhaps we should specify deps according to which ebuild phase |> they are necessary for? | | Not with current EAPIs we can't. | |> SRC_UNPACK_DEP="app-arch/unzip" |> SRC_COMPILE_DEP="dev-scheme/bigloo" |> SRC_INSTALL_DEP="" | | Labels are a cleaner solution to this. But again, we're discussing | current EAPIs here. Labels seems to be another syntax for providing the same information as I proposed AIUI, i.e. finer-grained deps. Marijn - -- Marijn Schouten (hkBst), Gentoo Lisp project, Gentoo ML , #gentoo-{lisp,ml} on FreeNode -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkgMVekACgkQp/VmCx0OL2waMgCglvtOPnu1xBIpUn0EbG7jDNsf xLQAoLfQR4s8hAvzhgfx5JuY4sj9gp7+ =Creb -----END PGP SIGNATURE----- -- gentoo-dev@lists.gentoo.org mailing list