aboutsummaryrefslogtreecommitdiff
path: root/paludis/user_dep_spec.se
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/user_dep_spec.se')
-rw-r--r--paludis/user_dep_spec.se20
1 files changed, 20 insertions, 0 deletions
diff --git a/paludis/user_dep_spec.se b/paludis/user_dep_spec.se
index a48f5ba5d..568fd6794 100644
--- a/paludis/user_dep_spec.se
+++ b/paludis/user_dep_spec.se
@@ -1,6 +1,26 @@
#!/usr/bin/env bash
# vim: set sw=4 sts=4 et ft=sh :
+make_enum_UserKeyRequirementOperator()
+{
+ prefix ukro
+
+ key ukro_equal "'=' : Matches if key is equal to value, only ever matches for simple values, sets and sequences"
+ key ukro_not_equal "'!=' : Matches if key is not equal to value, only ever matches for simple values, sets and sequences"
+ key ukro_greater "'>' : Matches if key is greater-than value, only ever matches for numeric values"
+ key ukro_less_or_subset "'<' : Matches if key is less-than value for numeric values or if values is part-of key for sets, sequences and spec trees"
+ key ukro_exists "'?' : Matches only if the specified key exists, takes no value"
+
+ doxygen_comment << "END"
+ /**
+ * Comparators for UserKeyRequirement.
+ *
+ * \ingroup g_dep_spec
+ * \since 1.0.1
+ */
+END
+}
+
make_enum_UserPackageDepSpecOption()
{
prefix updso