aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/eapi.cc
diff options
context:
space:
mode:
authorAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2013-05-24 22:12:45 -0700
committerAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2013-05-27 10:20:08 -0700
commitd34636a1dc4f422aeb868e49447a0503c303f0a2 (patch)
tree744eaca3276801c0b22429a46ace39372c74fba0 /paludis/repositories/e/eapi.cc
parent450c0331aca4600729216b9bff5d3e1b4e203871 (diff)
downloadpaludis-d34636a1dc4f422aeb868e49447a0503c303f0a2.tar.gz
paludis-d34636a1dc4f422aeb868e49447a0503c303f0a2.tar.xz
e repository: perform additional expart validation
When contents are partitioned, ensure that the partition name supplied has been declared previously. This will help identify packages which do not correctly indicate valid partition names. Signed-off-by: Saleem Abdulrasool <compnerd@compnerd.org>
Diffstat (limited to 'paludis/repositories/e/eapi.cc')
-rw-r--r--paludis/repositories/e/eapi.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/paludis/repositories/e/eapi.cc b/paludis/repositories/e/eapi.cc
index da5979e59..c86b2bac6 100644
--- a/paludis/repositories/e/eapi.cc
+++ b/paludis/repositories/e/eapi.cc
@@ -20,6 +20,7 @@
#include <paludis/repositories/e/eapi.hh>
#include <paludis/name.hh>
+#include <paludis/choice.hh>
#include <paludis/dep_spec.hh>
#include <paludis/util/attributes.hh>
@@ -377,6 +378,8 @@ namespace
n::iuse_flag_parse_options() = iuse_flag_parse_options,
n::merger_options() = merger_options,
n::package_dep_spec_parse_options() = package_dep_spec_parse_options,
+ n::parts_prefix() =
+ std::make_shared<ChoicePrefixName>(check_get(k, "parts_prefix")),
n::permitted_directories() = check_get(k, "permitted_directories"),
n::pipe_commands() = make_pipe_commands(k),
n::profile_options() = make_profile_options(k),