aboutsummaryrefslogtreecommitdiff
path: root/0.8.0/paludis/repository.sr
blob: 2370e1d3193552b9191c8496506a7a0a10cd5cb9 (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
64
65
#!/bin/bash
# vim: set sw=4 sts=4 et :

make_class_InstallOptions()
{
    key no_config_protect bool
    key fetch_only bool

    doxygen_comment << "END"
        /**
         * Options for the Repository::install method.
         *
         * \see Repository
         * \ingroup grprepository
         */
END
}

make_class_RepositoryCapabilities()
{
    key installable_interface "RepositoryInstallableInterface *"
    key installed_interface "RepositoryInstalledInterface *"
    key mask_interface "RepositoryMaskInterface *"
    key news_interface "RepositoryNewsInterface *"
    key sets_interface "RepositorySetsInterface *"
    key syncable_interface "RepositorySyncableInterface *"
    key uninstallable_interface "RepositoryUninstallableInterface *"
    key use_interface "RepositoryUseInterface *"
    key world_interface "RepositoryWorldInterface *"
    key mirrors_interface "RepositoryMirrorsInterface *"
    key environment_variable_interface "RepositoryEnvironmentVariableInterface *"
    key provides_interface "RepositoryProvidesInterface *"
    key virtuals_interface "RepositoryVirtualsInterface *"

    doxygen_comment << "END"
        /**
         * Optional interfaces that may be provided by a Repository.
         *
         * \see Repository
         * \ingroup grprepository
         */
END

    allow_named_args
}

make_class_RepositoryProvidesEntry()
{
    key virtual_name QualifiedPackageName
    key version VersionSpec
    key provided_by_name QualifiedPackageName

    allow_named_args
    comparison_operators all all
}

make_class_RepositoryVirtualsEntry()
{
    key virtual_name QualifiedPackageName
    key provided_by_atom PackageDepAtom::ConstPointer

    allow_named_args
    comparison_operators all all
}