From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4686 invoked from network); 15 May 2004 07:08:30 +0000 Received: from smtp.gentoo.org (128.193.0.39) by eagle.gentoo.oregonstate.edu with DES-CBC3-SHA encrypted SMTP; 15 May 2004 07:08:30 +0000 Received: from lists.gentoo.org ([128.193.0.34] helo=eagle.gentoo.org) by smtp.gentoo.org with esmtp (Exim 4.24) id 1BOtHa-00056u-EL for arch-gentoo-portage-dev@lists.gentoo.org; Sat, 15 May 2004 07:08:30 +0000 Received: (qmail 13517 invoked by uid 50004); 15 May 2004 07:08:25 +0000 Mailing-List: contact gentoo-portage-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail Reply-To: gentoo-portage-dev@lists.gentoo.org X-BeenThere: gentoo-portage-dev@gentoo.org Received: (qmail 19581 invoked from network); 15 May 2004 07:08:24 +0000 From: Jason Stubbs To: gentoo-portage-dev@lists.gentoo.org Date: Sat, 15 May 2004 16:06:34 +0900 User-Agent: KMail/1.6.2 References: <40A193B5.9080206@skylineaero.com> <200405151514.26131.jstubbs@gentoo.org> <40A5BDB9.20800@skylineaero.com> In-Reply-To: <40A5BDB9.20800@skylineaero.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <200405151606.37771.jstubbs@gentoo.org> Subject: Re: [gentoo-portage-dev] building dependency tree X-Archives-Salt: d4cdb3b8-eb99-4818-9613-c660ae6de4b0 X-Archives-Hash: b805170ecb63562d5dc83bf5e454bb45 =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday 15 May 2004 15:50, Andrew Gaffney wrote: > Jason Stubbs wrote: > > On Saturday 15 May 2004 13:12, Andrew Gaffney wrote: > >>>You've already done a complete rewrite of the dependency resolver? > > > > Yes and no. I started from scratch but used almost exactly the same > > logic. I guess you could almost call it refactoring. Have a look at: > > http://www.gentoo.org/cgi-bin/viewcvs.cgi/portage-mod/portageapi/?root= =3Dge > >ntoo-src > > > > Of interest to you, will probably be dep.py. Even if you do not > > understand python, the logic should be fairly clear (I hope!). The only > > real change from the above logic is that installed packages (including > > their original USE flags and *DEPENDs) are also taken into account. > > I'll have to take a look at it. If anyone wants to take a look at my code > (and maybe give me a few suggestions), the (almost) latest working version > can be accessed at . It current= ly > operates the same way 'emerge -ep' would. It doesn't generate the exact > same packages to install as Portage, but it is pretty damn close. May I ask what you are writing this for? Once the API I'm working on is=20 completed, tested and integrated (<2 months?) I'll start working on wrapper= s=20 for other languages. Is that the sort of thing you are after? Regards, Jason Stubbs =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iQCVAwUBQKXBfFoikN4/5jfsAQKMLwP8DS8XempV3Sz8AN9+q0tT0HqjFC76BxHN 7xRcAwu0y3KkM1Bf1f7Ezs/chzzqJtNcDcWUVECtiMbMa3F2MWPyB7cn034eCxDt 02H2WruxweT6NHFdSCRhEqbBmrmvBW9Hvfdzii9JMzruEA6C/V8b0peHv0B3Fauy nQTzlecx9Mg=3D =3De/X+ =2D----END PGP SIGNATURE----- -- gentoo-portage-dev@gentoo.org mailing list