aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-01-01 23:27:41 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-01-01 23:27:41 +0000
commitfecbdf3fca996af957777519b143505b92442407 (patch)
tree72dc71f1f9d6d92ab8b925eeb416ba29d5b95ead
parent10b3fba18f5ee11e04dcefedb53dc15cbf7d6964 (diff)
downloadpaludis-fecbdf3fca996af957777519b143505b92442407.tar.gz
paludis-fecbdf3fca996af957777519b143505b92442407.tar.xz
Add in post label parsing
-rw-r--r--paludis/repositories/e/dep_parser.cc4
-rw-r--r--paludis/repositories/e/eapis/exheres-0.conf1
2 files changed, 4 insertions, 1 deletions
diff --git a/paludis/repositories/e/dep_parser.cc b/paludis/repositories/e/dep_parser.cc
index c7334ef..0b19848 100644
--- a/paludis/repositories/e/dep_parser.cc
+++ b/paludis/repositories/e/dep_parser.cc
@@ -1,7 +1,7 @@
/* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
- * Copyright (c) 2005, 2006, 2007 Ciaran McCreesh
+ * Copyright (c) 2005, 2006, 2007, 2008 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
@@ -796,6 +796,8 @@ paludis::erepository::parse_dependency_label(const std::string & s, const EAPI &
l->add_label(make_shared_ptr(new DependencyBuildLabel(*it)));
else if (c == "DependencyRunLabel")
l->add_label(make_shared_ptr(new DependencyRunLabel(*it)));
+ else if (c == "DependencyPostLabel")
+ l->add_label(make_shared_ptr(new DependencyPostLabel(*it)));
else if (c == "DependencyInstallLabel")
l->add_label(make_shared_ptr(new DependencyInstallLabel(*it)));
else if (c == "DependencyCompileLabel")
diff --git a/paludis/repositories/e/eapis/exheres-0.conf b/paludis/repositories/e/eapis/exheres-0.conf
index 0cc6fdb..541c6b6 100644
--- a/paludis/repositories/e/eapis/exheres-0.conf
+++ b/paludis/repositories/e/eapis/exheres-0.conf
@@ -164,6 +164,7 @@ dependency_labels = \
target = DependencyTargetLabel ; \
build = DependencyBuildLabel ; \
run = DependencyRunLabel ; \
+ post = DependencyPostLabel; \
install = DependencyInstallLabel ; \
compile-against = DependencyCompileLabel ; \
suggested = DependencySuggestedLabel ; \