On Jan 6, 2008 7:08 PM, Michael Homer <[EMAIL PROTECTED]> wrote: > Hi, > As mentioned in the dev meeting, I'm redoing Freshen in Python so it > can use the system code as much as possible. Following up on this, here's a minimal test case for some behaviour I don't understand: from CheckDependencies import * deps,sols=CheckDependencies('KDE-Edu', acceptable_types=['installed', 'official_package', 'recipe'], mode='updating') for x in sols: print x
(more minimal than I expected). With the CheckDependencies in the latest Scripts release, that works*; with the CVS version, I get this: ('Facile', None, '', None, 'NO_PROGRAM') ('OCaml', None, '', None, 'NO_PROGRAM') ('Qt', '>=3.3.8', '', None, 'NO_VERSION') ('KDE-Edu', '3.5.7', 'r1', 'installed', '/Programs/KDE-Edu/3.5.7') I guess that depends on your system state; substituting another program with (presumably) unmet dependencies will work as well. The "working" result is also much longer, so there might need to be a little experimentation to hit some that don't work. I know that CD is still under some development, so I might just have hit something temporary there, but I might also be using it wrong (particularly, I'm not sure how much version information and the like I need to provide for the behaviour I want). It has been a difficult case to isolate down to something simple, so I can't guarantee that that's perfect either. Suggestions or requests for more information are welcome. * Actually, it does include Qt 4.3.3, which I think it isn't supposed to, but it returns a long list of well-formed tuples with versions, revisions, types, and URLs. -Michael _______________________________________________ gobolinux-devel mailing list gobolinux-devel@lists.gobolinux.org http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel