aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/fake
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-10-09 19:04:16 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-10-09 19:04:16 +0000
commit67a49f11f1645be945d9aba61b657075d08af430 (patch)
tree725f524c9aa61fcceb8e70563df078e9412e65a3 /paludis/repositories/fake
parent330b0a02bb290f67f4e4fa5afd0f096c226ec7eb (diff)
downloadpaludis-67a49f11f1645be945d9aba61b657075d08af430.tar.gz
paludis-67a49f11f1645be945d9aba61b657075d08af430.tar.xz
Kill PackageID::license_key. Rename PackageID::src_uri_key -> fetches_key. Fixes: ticket:392. Fixes: ticket:393
Diffstat (limited to 'paludis/repositories/fake')
-rw-r--r--paludis/repositories/fake/fake_package_id.cc4
-rw-r--r--paludis/repositories/fake/fake_package_id.hh6
2 files changed, 5 insertions, 5 deletions
diff --git a/paludis/repositories/fake/fake_package_id.cc b/paludis/repositories/fake/fake_package_id.cc
index 2721a85f6..1e289d22a 100644
--- a/paludis/repositories/fake/fake_package_id.cc
+++ b/paludis/repositories/fake/fake_package_id.cc
@@ -542,13 +542,13 @@ FakePackageID::suggested_dependencies_key()
}
const tr1::shared_ptr<const MetadataSpecTreeKey<FetchableURISpecTree> >
-FakePackageID::src_uri_key() const
+FakePackageID::fetches_key() const
{
return _imp->src_uri;
}
const tr1::shared_ptr<FakeMetadataSpecTreeKey<FetchableURISpecTree> >
-FakePackageID::src_uri_key()
+FakePackageID::fetches_key()
{
return _imp->src_uri;
}
diff --git a/paludis/repositories/fake/fake_package_id.hh b/paludis/repositories/fake/fake_package_id.hh
index 2b407d899..786f1e35d 100644
--- a/paludis/repositories/fake/fake_package_id.hh
+++ b/paludis/repositories/fake/fake_package_id.hh
@@ -190,13 +190,12 @@ namespace paludis
virtual const tr1::shared_ptr<const MetadataPackageIDKey> virtual_for_key() const;
virtual const tr1::shared_ptr<const MetadataSetKey<KeywordNameSet> > keywords_key() const;
virtual const tr1::shared_ptr<const MetadataSetKey<IUseFlagSet> > iuse_key() const;
- virtual const tr1::shared_ptr<const MetadataSpecTreeKey<LicenseSpecTree> > license_key() const;
virtual const tr1::shared_ptr<const MetadataSpecTreeKey<ProvideSpecTree> > provide_key() const;
virtual const tr1::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > build_dependencies_key() const;
virtual const tr1::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > run_dependencies_key() const;
virtual const tr1::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > post_dependencies_key() const;
virtual const tr1::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > suggested_dependencies_key() const;
- virtual const tr1::shared_ptr<const MetadataSpecTreeKey<FetchableURISpecTree> > src_uri_key() const;
+ virtual const tr1::shared_ptr<const MetadataSpecTreeKey<FetchableURISpecTree> > fetches_key() const;
virtual const tr1::shared_ptr<const MetadataSpecTreeKey<SimpleURISpecTree> > homepage_key() const;
virtual const tr1::shared_ptr<const MetadataStringKey> short_description_key() const;
virtual const tr1::shared_ptr<const MetadataStringKey> long_description_key() const;
@@ -208,6 +207,7 @@ namespace paludis
virtual const tr1::shared_ptr<const MetadataPackageIDKey> contained_in_key() const;
virtual const tr1::shared_ptr<const MetadataFSEntryKey> fs_location_key() const;
+ const tr1::shared_ptr<const MetadataSpecTreeKey<LicenseSpecTree> > license_key() const;
const tr1::shared_ptr<FakeMetadataKeywordSetKey> keywords_key();
const tr1::shared_ptr<FakeMetadataIUseSetKey> iuse_key();
@@ -216,7 +216,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<FetchableURISpecTree> > src_uri_key();
+ const tr1::shared_ptr<FakeMetadataSpecTreeKey<FetchableURISpecTree> > fetches_key();
void set_slot(const SlotName &);