provider/package/portage.rb: packages with multiple installed versions not matched
|Assignee:||Luke Kanies||% Done:|
|Affected Puppet version:||0.25.4||Branch:|
When eix cache reports packages with multiple installed versions the regex match fails. I’m attaching an improved regex which should handle all (even obscure) situations and also validates versions according to the gentoo ebuild naming specs. I’ve tested against the full eix cache output and it seems to correctly parse all entries.