aboutsummaryrefslogtreecommitdiff
path: root/paludis/dep_list/dep_list.sr
blob: 691ea4e12d1174f7bc186240b8fcff0541d73fba (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#!/bin/bash
# vim: set sw=4 sts=4 et :

make_class_DepListOptions()
{
    key reinstall DepListReinstallOption
    key reinstall_scm DepListReinstallScmOption
    key target_type DepListTargetType
    key upgrade DepListUpgradeOption
    key fall_back DepListFallBackOption

    key installed_deps_pre DepListDepsOption
    key installed_deps_runtime DepListDepsOption
    key installed_deps_post DepListDepsOption

    key uninstalled_deps_pre DepListDepsOption
    key uninstalled_deps_runtime DepListDepsOption
    key uninstalled_deps_post DepListDepsOption

    key circular DepListCircularOption

    key dependency_tags bool

    extra_constructors <<END
            DepListOptions();
END

    allow_named_args

    doxygen_comment << "END"
        /**
         * Parameters for a DepList.
         *
         * \see DepList
         * \ingroup grpdepresolver
         * \nosubgrouping
         */
END
}

make_class_DepListEntry()
{
    key package PackageDatabaseEntry
    key metadata VersionMetadata::ConstPointer
    key tags DepListEntryTags::Pointer

    key generation long
    key state DepListEntryState
    key skip_install bool

    allow_named_args

    doxygen_comment << "END"
        /**
         * An entry in a DepList.
         *
         * \see DepList
         * \ingroup grpdepresolver
         * \nosubgrouping
         */
END
}