On Monday 26 December 2005 21:28, Ciaran McCreesh wrote: > On Mon, 26 Dec 2005 21:09:31 +0100 Carsten Lohrke <[EMAIL PROTECTED]> > Well, any library that changes ABI should use a different SLOT for each > revision. So SLOT depends should be able to replace the need for = and > ~ and < and <= dependencies entirely. Which is a good thing, since > those atoms make dependency resolution a general-case unsolvable > problem.
Well, it shouldn't be unsolvable. Choosing can be done with the following process: - Get the list of packages with the requested name. - Sort the list from the newest version, to the oldest. - Iterate over the packages: - Apply all restrictions on the package (including exclusions). If the package satisfies all, test it's dependencies recursively. - If all dependencies match, this package matches the dependency. Continue with the next depend atom. - If no match, iterate the next package. Paul -- Paul de Vrieze Gentoo Developer Mail: [EMAIL PROTECTED] Homepage: http://www.devrieze.net
pgpHcsngDFnQV.pgp
Description: PGP signature