-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 5/16/09 12:07 PM, Monic Polynomial wrote:

> I'm developing a Fink notification plugin and I need to parse the list  
> of package names that the plugin receives from Fink.  
> Fink::PkgVersion::phase_activate() sends a notification whose  
> description contains the packages formatted as  
> Fink::PkgVersion::get_fullname(), the same as %f.

Generally you'll use Fink::Package's get_matching_versions:


       get_matching_versions
             my @pvs = $po?>get_matching_versions($spec);
             my @pvs = $po?>get_matching_versions($spec, @choose_from);

           Find all versions of this package which satisfy the given
           Debian version specification. See
           Fink::Services::version_cmp for details on version
           specifications.

           If a list @choose_from of Fink::PkgVersions objects is given,
           return only items in the list which satisfy the given
           specification.


- -- 
Benjamin Reed a.k.a. Ranger Rick
Fink, KDE, and Mac OS X development

Blog: http://www.raccoonfink.com/
Music: http://music.raccoonfink.com/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFKDu5qUu+jZtP2Zf4RAimDAJ0VyG5qEKUEpLc3z68SJbAeSyiN1ACeIFd2
YbNVb7QKuie1I8TVuQVAj+k=
=pHdB
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
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

Reply via email to