aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/registration.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-12-05 21:29:28 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-12-05 21:29:28 +0000
commit79e482a013061ab2e9fd4f87eeb3babb4d1ba1e2 (patch)
treef06f7eebf28d35a95712a501f70053d1db09755a /paludis/repositories/e/registration.cc
parent12e59def0f6ad2aae3c931079de93f7c3fba1af2 (diff)
downloadpaludis-79e482a013061ab2e9fd4f87eeb3babb4d1ba1e2.tar.gz
paludis-79e482a013061ab2e9fd4f87eeb3babb4d1ba1e2.tar.xz
Kill deprecated keys
Diffstat (limited to 'paludis/repositories/e/registration.cc')
-rw-r--r--paludis/repositories/e/registration.cc24
1 files changed, 0 insertions, 24 deletions
diff --git a/paludis/repositories/e/registration.cc b/paludis/repositories/e/registration.cc
index a67d80b33..b263a833b 100644
--- a/paludis/repositories/e/registration.cc
+++ b/paludis/repositories/e/registration.cc
@@ -30,19 +30,6 @@ using namespace paludis;
namespace
{
- std::tr1::shared_ptr<Repository>
- make_portage_repository(
- Environment * const env,
- const std::tr1::function<std::string (const std::string &)> & f)
- {
- Context context("When creating repository using '" + f("repo_file") + "':");
-
- Log::get_instance()->message("e.portage.configuration.deprecated", ll_warning, lc_context)
- << "Format 'portage' is deprecated, use 'ebuild' instead";
-
- return ERepository::repository_factory_create(env, f);
- }
-
int generic_importance(const Environment * const, const std::tr1::function<std::string (const std::string &)> & f)
{
if (! f("importance").empty())
@@ -70,17 +57,6 @@ void paludis_initialise_repository_so(RepositoryFactory * const factory)
&ERepository::repository_factory_dependencies
);
- std::tr1::shared_ptr<Set<std::string> > deprecated_ebuild_formats(new Set<std::string>);
- deprecated_ebuild_formats->insert("portage");
-
- factory->add_repository_format(
- deprecated_ebuild_formats,
- &ERepository::repository_factory_name,
- &generic_importance,
- make_portage_repository,
- &ERepository::repository_factory_dependencies
- );
-
std::tr1::shared_ptr<Set<std::string> > vdb_formats(new Set<std::string>);
vdb_formats->insert("vdb");