On 16/05/2009, at 18:59, Benjamin Reed wrote: > On 5/16/09 1:31 PM, Daniel Macks wrote: > >> I think that would handle dependency formats ("foo (>= 1.0-2)") not >> %f. Maybe Engine::expand_packages? I think that's what processes the >> packages specified on fink commandline. > > I thought without a >= or whatever, it just gives you the latest > version. That's what it uses when going through the dep loop. > > That said, yeah, you don't want to "expand percents" yourself, just > ask > the API for the latest package with the name you're parsing.
The problem being I don't know the package name in advance but only its fullname (%f) instead as sent by Fink::PkgVersion::phase_activate(). Cheers, -- monipol ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel