aboutsummaryrefslogtreecommitdiff
path: root/paludis/dep_spec.se
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-03-13 21:19:35 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-03-13 21:19:35 +0000
commit402c186ce65b06a525ca6b586a5f11da2fef5faf (patch)
treecf49efa00896abbdb9894e76d8f27e16e41dc9cf /paludis/dep_spec.se
parentd1856e25dbca494b9ceb69fa268c8ae11ecb931c (diff)
downloadpaludis-402c186ce65b06a525ca6b586a5f11da2fef5faf.tar.gz
paludis-402c186ce65b06a525ca6b586a5f11da2fef5faf.tar.xz
EAPI-aware dep parser. Fixes: ticket:120
Diffstat (limited to 'paludis/dep_spec.se')
-rw-r--r--paludis/dep_spec.se23
1 files changed, 23 insertions, 0 deletions
diff --git a/paludis/dep_spec.se b/paludis/dep_spec.se
new file mode 100644
index 000000000..2da9c3d61
--- /dev/null
+++ b/paludis/dep_spec.se
@@ -0,0 +1,23 @@
+#!/bin/bash
+# vim: set sw=4 sts=4 et ft=sh :
+
+make_enum_PackageDepSpecParseMode()
+{
+ prefix pds_pm
+
+ key pds_pm_eapi_0 "EAPI-0"
+ key pds_pm_eapi_0_strict "EAPI-0, errors for non-permitted things"
+ key pds_pm_permissive "Permissive"
+ key pds_pm_unspecific "Permissive, and allow unspecific cat/pkg"
+
+ doxygen_comment << "END"
+ /**
+ * How to parse a PackageDepSpec string.
+ *
+ * \see PackageDepSpec
+ * \ingroup grpdepspecs
+ */
+END
+}
+
+