aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-12-11 21:55:44 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-12-11 21:55:44 +0000
commit6537c41fb95c04ab4b3246f11da1c500ff58aed7 (patch)
treeb5ae6a939d2e33a77d96e193ee4e6f7e8c72412b
parent9e30d4579b71c319781493c455bfb83bd69a70fe (diff)
downloadpaludis-6537c41fb95c04ab4b3246f11da1c500ff58aed7.tar.gz
paludis-6537c41fb95c04ab4b3246f11da1c500ff58aed7.tar.xz
More metadata
-rw-r--r--paludis/repositories/gems/gems_repository.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/paludis/repositories/gems/gems_repository.cc b/paludis/repositories/gems/gems_repository.cc
index 0859acd..7b0da16 100644
--- a/paludis/repositories/gems/gems_repository.cc
+++ b/paludis/repositories/gems/gems_repository.cc
@@ -70,6 +70,13 @@ namespace paludis
g != g_end ; ++g)
{
VersionMetadata::Pointer m(new VersionMetadata(PortageDepParser::parse_depend));
+ m->slot = SlotName(stringify(g->version));
+ m->homepage = g->homepage;
+ if (g->description.empty())
+ m->description = g->summary;
+ else
+ m->description = g->description;
+
Packages::iterator v(packages.insert(std::make_pair(g->name, Versions())).first);
v->second.insert(std::make_pair(g->version, m));
}