aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/unavailable/unavailable_repository_file.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-05-14 22:52:32 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-05-14 22:52:32 +0100
commit0bcf854fd2a2e7a5f1d1840f3b982739b76cfabd (patch)
tree51a89f56e4ebb80b60d6f7ca3e33e1969440d714 /paludis/repositories/unavailable/unavailable_repository_file.cc
parent9c19e8c6ba9ad7f773c74ffaab36426e76c72dcc (diff)
downloadpaludis-0bcf854fd2a2e7a5f1d1840f3b982739b76cfabd.tar.gz
paludis-0bcf854fd2a2e7a5f1d1840f3b982739b76cfabd.tar.xz
Track repo deps
Diffstat (limited to 'paludis/repositories/unavailable/unavailable_repository_file.cc')
-rw-r--r--paludis/repositories/unavailable/unavailable_repository_file.cc10
1 files changed, 9 insertions, 1 deletions
diff --git a/paludis/repositories/unavailable/unavailable_repository_file.cc b/paludis/repositories/unavailable/unavailable_repository_file.cc
index 58da42f72..0d8db74b4 100644
--- a/paludis/repositories/unavailable/unavailable_repository_file.cc
+++ b/paludis/repositories/unavailable/unavailable_repository_file.cc
@@ -42,7 +42,7 @@ namespace paludis
template <>
struct Implementation<UnavailableRepositoryFile>
{
- std::string repo_name, homepage, description, sync, repo_format;
+ std::string repo_name, homepage, description, sync, repo_format, dependencies;
bool autoconfigurable;
Entries entries;
@@ -125,6 +125,8 @@ UnavailableRepositoryFile::_load(const FSEntry & f)
_imp->sync = value;
else if (key == "repo_format")
_imp->repo_format = value;
+ else if (key == "dependencies")
+ _imp->dependencies = value;
else
Log::get_instance()->message("unavailable_repository.file.unknown_key", ll_warning, lc_context)
<< "Ignoring unknown key '" << key << "' with value '" << value << "'";
@@ -255,6 +257,12 @@ UnavailableRepositoryFile::repo_format() const
return _imp->repo_format;
}
+std::string
+UnavailableRepositoryFile::dependencies() const
+{
+ return _imp->dependencies;
+}
+
bool
UnavailableRepositoryFile::autoconfigurable() const
{