aboutsummaryrefslogtreecommitdiff
path: root/paludis/environments
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/environments')
-rw-r--r--paludis/environments/paludis/paludis_environment.cc4
-rw-r--r--paludis/environments/paludis/world.cc6
-rw-r--r--paludis/environments/portage/portage_environment.cc5
3 files changed, 0 insertions, 15 deletions
diff --git a/paludis/environments/paludis/paludis_environment.cc b/paludis/environments/paludis/paludis_environment.cc
index ce30f7b..c444992 100644
--- a/paludis/environments/paludis/paludis_environment.cc
+++ b/paludis/environments/paludis/paludis_environment.cc
@@ -33,7 +33,6 @@
#include <paludis/hook.hh>
#include <paludis/set_file.hh>
#include <paludis/distribution.hh>
-#include <paludis/dep_tag.hh>
#include <paludis/package_id.hh>
#include <paludis/mask.hh>
#include <paludis/user_dep_spec.hh>
@@ -526,15 +525,12 @@ namespace
{
Context context("When making set '" + stringify(f) + "':");
- const std::shared_ptr<GeneralSetDepTag> tag(std::make_shared<GeneralSetDepTag>(n, stringify(f.basename())));
-
SetFile s(make_named_values<SetFileParams>(
n::environment() = env,
n::file_name() = f,
n::parser() = std::bind(&parse_user_package_dep_spec, std::placeholders::_1, env,
UserPackageDepSpecOptions() + updso_allow_wildcards, filter::All()),
n::set_operator_mode() = mode,
- n::tag() = tag,
n::type() = type
));
return s.contents();
diff --git a/paludis/environments/paludis/world.cc b/paludis/environments/paludis/world.cc
index ea3b900..b546d4f 100644
--- a/paludis/environments/paludis/world.cc
+++ b/paludis/environments/paludis/world.cc
@@ -27,7 +27,6 @@
#include <paludis/util/fs_stat.hh>
#include <paludis/set_file.hh>
#include <paludis/user_dep_spec.hh>
-#include <paludis/dep_tag.hh>
#include <paludis/partially_made_package_dep_spec.hh>
#include <functional>
@@ -121,7 +120,6 @@ World::_add_string_to_world(const std::string & n) const
n::file_name() = *_imp->maybe_world_file,
n::parser() = std::bind(&parse_user_package_dep_spec, _1, _imp->env, UserPackageDepSpecOptions() + updso_no_disambiguation + updso_throw_if_set, filter::All()),
n::set_operator_mode() = sfsmo_natural,
- n::tag() = std::shared_ptr<DepTag>(),
n::type() = sft_simple
));
bool result(world.add(n));
@@ -154,7 +152,6 @@ World::_remove_string_from_world(const std::string & n) const
n::file_name() = *_imp->maybe_world_file,
n::parser() = std::bind(&parse_user_package_dep_spec, _1, _imp->env, UserPackageDepSpecOptions() + updso_no_disambiguation + updso_throw_if_set, filter::All()),
n::set_operator_mode() = sfsmo_natural,
- n::tag() = std::shared_ptr<DepTag>(),
n::type() = sft_simple
));
@@ -177,8 +174,6 @@ World::world_set() const
{
using namespace std::placeholders;
- std::shared_ptr<GeneralSetDepTag> tag(std::make_shared<GeneralSetDepTag>(SetName("world"), "Environment"));
-
if (_imp->maybe_world_file)
{
if (_imp->maybe_world_file->stat().exists())
@@ -188,7 +183,6 @@ World::world_set() const
n::file_name() = *_imp->maybe_world_file,
n::parser() = std::bind(&parse_user_package_dep_spec, _1, _imp->env, UserPackageDepSpecOptions() + updso_no_disambiguation + updso_throw_if_set, filter::All()),
n::set_operator_mode() = sfsmo_natural,
- n::tag() = tag,
n::type() = sft_simple
));
return world.contents();
diff --git a/paludis/environments/portage/portage_environment.cc b/paludis/environments/portage/portage_environment.cc
index 9d64dbb..adc2ffd 100644
--- a/paludis/environments/portage/portage_environment.cc
+++ b/paludis/environments/portage/portage_environment.cc
@@ -51,7 +51,6 @@
#include <paludis/package_id.hh>
#include <paludis/user_dep_spec.hh>
#include <paludis/set_file.hh>
-#include <paludis/dep_tag.hh>
#include <paludis/util/mutex.hh>
#include <paludis/literal_metadata_key.hh>
#include <paludis/repository_factory.hh>
@@ -932,7 +931,6 @@ PortageEnvironment::_add_string_to_world(const std::string & s) const
n::file_name() = _imp->world_file,
n::parser() = std::bind(&parse_user_package_dep_spec, _1, this, UserPackageDepSpecOptions() + updso_no_disambiguation, filter::All()),
n::set_operator_mode() = sfsmo_natural,
- n::tag() = std::shared_ptr<DepTag>(),
n::type() = sft_simple
));
bool result(world.add(s));
@@ -959,7 +957,6 @@ PortageEnvironment::_remove_string_from_world(const std::string & s) const
n::parser() = std::bind(&parse_user_package_dep_spec, _1, this,
UserPackageDepSpecOptions() + updso_no_disambiguation, filter::All()),
n::set_operator_mode() = sfsmo_natural,
- n::tag() = std::shared_ptr<DepTag>(),
n::type() = sft_simple
));
@@ -1027,14 +1024,12 @@ namespace
return std::make_shared<SetSpecTree>(std::make_shared<AllDepSpec>());
}
- const std::shared_ptr<GeneralSetDepTag> tag(std::make_shared<GeneralSetDepTag>(SetName("world::environment"), "Environment"));
SetFile world(make_named_values<SetFileParams>(
n::environment() = env,
n::file_name() = f,
n::parser() = std::bind(&parse_user_package_dep_spec, std::placeholders::_1,
env, UserPackageDepSpecOptions() + updso_no_disambiguation, filter::All()),
n::set_operator_mode() = sfsmo_natural,
- n::tag() = tag,
n::type() = sft_simple
));
return world.contents();