aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/fake
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-08-13 12:34:39 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-08-13 12:34:39 +0000
commitb284b422654b2fcbf54b0225a7b3f9c8e0dee1fb (patch)
tree7aa02b2ca1471d4eb0b38c36b507fc89eec312d5 /paludis/repositories/fake
parent2ddf68dc976c4842eb84ead2b9772d8be3a2876f (diff)
downloadpaludis-b284b422654b2fcbf54b0225a7b3f9c8e0dee1fb.tar.gz
paludis-b284b422654b2fcbf54b0225a7b3f9c8e0dee1fb.tar.xz
More QA work
Diffstat (limited to 'paludis/repositories/fake')
-rw-r--r--paludis/repositories/fake/fake_package_id.cc9
-rw-r--r--paludis/repositories/fake/fake_package_id.hh1
2 files changed, 10 insertions, 0 deletions
diff --git a/paludis/repositories/fake/fake_package_id.cc b/paludis/repositories/fake/fake_package_id.cc
index 3eb9341e1..46d8a2f27 100644
--- a/paludis/repositories/fake/fake_package_id.cc
+++ b/paludis/repositories/fake/fake_package_id.cc
@@ -301,6 +301,9 @@ namespace paludis
suggested_dependencies(new FakeMetadataSpecTreeKey<DependencySpecTree>("SDEPEND", "Suggested dependencies",
"", tr1::bind(&erepository::parse_depend, _1,
*erepository::EAPIData::get_instance()->eapi_from_string("0")), mkt_dependencies)),
+ src_uri(new FakeMetadataSpecTreeKey<URISpecTree>("SRC_URI", "Source URIs",
+ "", tr1::bind(&erepository::parse_uri, _1,
+ *erepository::EAPIData::get_instance()->eapi_from_string("0")), mkt_dependencies)),
has_masks(false)
{
}
@@ -491,6 +494,12 @@ FakePackageID::src_uri_key() const
return _imp->src_uri;
}
+const tr1::shared_ptr<FakeMetadataSpecTreeKey<URISpecTree> >
+FakePackageID::src_uri_key()
+{
+ return _imp->src_uri;
+}
+
const tr1::shared_ptr<const MetadataSpecTreeKey<URISpecTree> >
FakePackageID::homepage_key() const
{
diff --git a/paludis/repositories/fake/fake_package_id.hh b/paludis/repositories/fake/fake_package_id.hh
index da6dad4a0..c2c19b918 100644
--- a/paludis/repositories/fake/fake_package_id.hh
+++ b/paludis/repositories/fake/fake_package_id.hh
@@ -174,6 +174,7 @@ namespace paludis
const tr1::shared_ptr<FakeMetadataSpecTreeKey<DependencySpecTree> > run_dependencies_key();
const tr1::shared_ptr<FakeMetadataSpecTreeKey<DependencySpecTree> > post_dependencies_key();
const tr1::shared_ptr<FakeMetadataSpecTreeKey<DependencySpecTree> > suggested_dependencies_key();
+ const tr1::shared_ptr<FakeMetadataSpecTreeKey<URISpecTree> > src_uri_key();
void set_slot(const SlotName &);