aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/fake/fake_package_id.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/fake/fake_package_id.cc')
-rw-r--r--paludis/repositories/fake/fake_package_id.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/paludis/repositories/fake/fake_package_id.cc b/paludis/repositories/fake/fake_package_id.cc
index 83d7ade..91eb2db 100644
--- a/paludis/repositories/fake/fake_package_id.cc
+++ b/paludis/repositories/fake/fake_package_id.cc
@@ -412,6 +412,9 @@ namespace paludis
src_uri(new FakeMetadataSpecTreeKey<FetchableURISpecTree>("SRC_URI", "Source URIs",
"", tr1::bind(&erepository::parse_fetchable_uri, _1,
*erepository::EAPIData::get_instance()->eapi_from_string(eapi)), mkt_dependencies)),
+ homepage(new FakeMetadataSpecTreeKey<SimpleURISpecTree>("HOMEPAGE", "Homepage",
+ "", tr1::bind(&erepository::parse_simple_uri, _1,
+ *erepository::EAPIData::get_instance()->eapi_from_string(eapi)), mkt_dependencies)),
has_masks(false)
{
build_dependencies_labels->push_back(make_shared_ptr(new DependencyBuildLabel("DEPEND")));
@@ -605,6 +608,12 @@ FakePackageID::homepage_key() const
return _imp->homepage;
}
+const tr1::shared_ptr<FakeMetadataSpecTreeKey<SimpleURISpecTree> >
+FakePackageID::homepage_key()
+{
+ return _imp->homepage;
+}
+
const tr1::shared_ptr<const MetadataStringKey>
FakePackageID::short_description_key() const
{