aboutsummaryrefslogtreecommitdiff
path: root/0.8.0/paludis/repository.sr
diff options
context:
space:
mode:
Diffstat (limited to '0.8.0/paludis/repository.sr')
-rw-r--r--0.8.0/paludis/repository.sr65
1 files changed, 65 insertions, 0 deletions
diff --git a/0.8.0/paludis/repository.sr b/0.8.0/paludis/repository.sr
new file mode 100644
index 000000000..2370e1d31
--- /dev/null
+++ b/0.8.0/paludis/repository.sr
@@ -0,0 +1,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
+}
+