Issue #3655 has been updated by Benedikt Böhm.

File puppet-0.25.4-portage-provider-result.patch added

ops, i missed on change you made: \[(\S*)\] to \[(\S+)\] for the 
<installedversion> part of the string. this won't work: if you don't have the 
package installed already, the pattern wouldn't match.

fixed patch is attached
----------------------------------------
Bug #3655: Puppet doesn't find installed packages with portage provider
http://projects.puppetlabs.com/issues/3655

Author: Doug Warner
Status: Ready for Checkin
Priority: Normal
Assigned to: Benedikt Böhm
Category: Gentoo
Target version: 0.25.5
Affected version: 0.25.4
Keywords: eix
portage
gentoo
Branch: 


I'm trying to upgrade my gentoo boxes to 0.25.4 but am running into a problem 
with the portage package provider is not finding installed packages.  It looks 
like the "<installedversions:LASTVERSION>" format for eix is not finding the 
correct value.  I've tried using eix versions 0.17.0, 0.19.2, and 0.20.3.

Example output:
<pre># /usr/bin/eix --nocolor --pure-packages --stable --format '<category> 
<name> [<installedversions:LASTVERSION>] [<bestversion:LASTVERSION>] <homepage> 
<description>
' --exact --category-name sys-devel/gcc-config
sys-devel gcc-config [] [] http://www.gentoo.org/ Utility to change the gcc 
compiler being used
</pre>

In this example it looks like the brackets should be filled in with the values 
which are captured by eix, shown here:
<pre># eix gcc-config
[I] sys-devel/gcc-config
     Available versions:  1.3.16 1.4.0-r4 1.4.1 **1.5
     Installed versions:  1.4.1(19:38:02 06/05/09)
     Homepage:            http://www.gentoo.org/
     Description:         Utility to change the gcc compiler being used
</pre>    



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to