aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/dep_parser.se
blob: 81fe33976df1e24681de2508823c890350c1dd78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/bash
# vim: set sw=4 sts=4 et ft=sh :

make_enum_PackageDepSpecParseOption()
{
    prefix pdspo
    want_destringify
    namespace paludis::erepository

    key pdspo_allow_slot_deps            "Allow :slot deps"
    key pdspo_allow_slot_star_deps       "Allow :* slot deps"
    key pdspo_allow_slot_equal_deps      "Allow := and :=blah slot deps"
    key pdspo_allow_repository_deps      "Allow ::repo deps"
    key pdspo_allow_square_bracket_deps  "Allow [use] and [opver] deps"
    key pdspo_allow_tilde_greater_deps   "Allow ~> deps"
    key pdspo_strict_star_operator       "* with an operator other than = is an error"
    key pdspo_strict_parsing             "Error rather than warn for violations"
}

make_enum_DependencySpecTreeParseOption()
{
    prefix dstpo
    want_destringify
    namespace paludis::erepository

    key dstpo_disallow_any_use           "Disallow || ( use? ( ... ) )"
    key dstpo_uri_supports_arrow         "Allow -> in FetchableURIDepSpec"
}