aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/cran/cran_repository.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/cran/cran_repository.cc')
-rw-r--r--paludis/repositories/cran/cran_repository.cc30
1 files changed, 15 insertions, 15 deletions
diff --git a/paludis/repositories/cran/cran_repository.cc b/paludis/repositories/cran/cran_repository.cc
index e9507fc..caaa08f 100644
--- a/paludis/repositories/cran/cran_repository.cc
+++ b/paludis/repositories/cran/cran_repository.cc
@@ -2,7 +2,7 @@
/*
* Copyright (c) 2006, 2007 Danny van Dyk
- * Copyright (c) 2007, 2008, 2009 Ciaran McCreesh
+ * Copyright (c) 2007, 2008, 2009, 2010 Ciaran McCreesh
*
* This file is part of the Paludis package manager. Paludis is free software;
* you can redistribute it and/or modify it under the terms of the GNU General
@@ -111,12 +111,12 @@ CRANRepository::CRANRepository(const CRANRepositoryParams & p) :
p.environment(),
CRANRepository::fetch_repo_name(stringify(p.location())),
make_named_values<RepositoryCapabilities>(
- value_for<n::destination_interface>(static_cast<RepositoryDestinationInterface *>(0)),
- value_for<n::environment_variable_interface>(static_cast<RepositoryEnvironmentVariableInterface *>(0)),
- value_for<n::make_virtuals_interface>(static_cast<RepositoryMakeVirtualsInterface *>(0)),
- value_for<n::manifest_interface>(static_cast<RepositoryManifestInterface *>(0)),
- value_for<n::provides_interface>(static_cast<RepositoryProvidesInterface *>(0)),
- value_for<n::virtuals_interface>(static_cast<RepositoryVirtualsInterface *>(0))
+ n::destination_interface() = static_cast<RepositoryDestinationInterface *>(0),
+ n::environment_variable_interface() = static_cast<RepositoryEnvironmentVariableInterface *>(0),
+ n::make_virtuals_interface() = static_cast<RepositoryMakeVirtualsInterface *>(0),
+ n::manifest_interface() = static_cast<RepositoryManifestInterface *>(0),
+ n::provides_interface() = static_cast<RepositoryProvidesInterface *>(0),
+ n::virtuals_interface() = static_cast<RepositoryVirtualsInterface *>(0)
)),
PrivateImplementationPattern<CRANRepository>(new Implementation<CRANRepository>(p, make_shared_ptr(new Mutex))),
_imp(PrivateImplementationPattern<CRANRepository>::_imp)
@@ -422,13 +422,13 @@ CRANRepository::repository_factory_create(
builddir = "/var/tmp/paludis";
return std::tr1::shared_ptr<Repository>(new CRANRepository(make_named_values<CRANRepositoryParams>(
- value_for<n::builddir>(builddir),
- value_for<n::distdir>(distdir),
- value_for<n::environment>(env),
- value_for<n::library>(library),
- value_for<n::location>(location),
- value_for<n::mirror>(mirror),
- value_for<n::sync>(sync)
+ n::builddir() = builddir,
+ n::distdir() = distdir,
+ n::environment() = env,
+ n::library() = library,
+ n::location() = location,
+ n::mirror() = mirror,
+ n::sync() = sync
)));
}
@@ -560,7 +560,7 @@ CRANRepository::populate_sets() const
HookResult
CRANRepository::perform_hook(const Hook &)
{
- return make_named_values<HookResult>(value_for<n::max_exit_status>(0), value_for<n::output>(""));
+ return make_named_values<HookResult>(n::max_exit_status() = 0, n::output() = "");
}
const std::tr1::shared_ptr<const MetadataValueKey<std::string> >