def from_hash(o)
@name = o['name'] if o.has_key?('name')
@description = o['description'] if o.has_key?('description')
@long_description = o['long_description'] if o.has_key?('long_description')
@maintainer = o['maintainer'] if o.has_key?('maintainer')
@maintainer_email = o['maintainer_email'] if o.has_key?('maintainer_email')
@license = o['license'] if o.has_key?('license')
@platforms = o['platforms'] if o.has_key?('platforms')
@dependencies = o['dependencies'] if o.has_key?('dependencies')
@recommendations = o['recommendations'] if o.has_key?('recommendations')
@suggestions = o['suggestions'] if o.has_key?('suggestions')
@conflicting = o['conflicting'] if o.has_key?('conflicting')
@providing = o['providing'] if o.has_key?('providing')
@replacing = o['replacing'] if o.has_key?('replacing')
@attributes = o['attributes'] if o.has_key?('attributes')
@groupings = o['groupings'] if o.has_key?('groupings')
@recipes = o['recipes'] if o.has_key?('recipes')
@version = o['version'] if o.has_key?('version')
self
end