aboutsummaryrefslogtreecommitdiff
path: root/0.8.0/paludis/version_metadata.sr
diff options
context:
space:
mode:
Diffstat (limited to '0.8.0/paludis/version_metadata.sr')
-rw-r--r--0.8.0/paludis/version_metadata.sr93
1 files changed, 93 insertions, 0 deletions
diff --git a/0.8.0/paludis/version_metadata.sr b/0.8.0/paludis/version_metadata.sr
new file mode 100644
index 000000000..1a11ad0a0
--- /dev/null
+++ b/0.8.0/paludis/version_metadata.sr
@@ -0,0 +1,93 @@
+#!/bin/bash
+# vim: set sw=4 sts=4 et :
+
+make_class_VersionMetadataDeps()
+{
+ key parser ParserFunction
+ key build_depend_string std::string
+ key run_depend_string std::string
+ key post_depend_string std::string
+
+ extra_constructors <<END
+ VersionMetadataDeps(const ParserFunction &);
+END
+
+ extra_methods <<END
+ /**
+ * Our build depends.
+ */
+ DepAtom::ConstPointer build_depend() const;
+
+ /**
+ * Our runtime depends.
+ */
+ DepAtom::ConstPointer run_depend() const;
+
+ /**
+ * Our post depends.
+ */
+ DepAtom::ConstPointer post_depend() const;
+END
+}
+
+make_class_VersionMetadataBase()
+{
+ key deps VersionMetadataDeps
+ key slot SlotName
+ key license_string std::string
+ key eapi std::string
+ key homepage std::string
+ key description std::string
+
+ allow_named_args
+}
+
+make_class_EbuildVersionMetadata()
+{
+ key provide_string std::string
+ key src_uri std::string
+ key restrict_string std::string
+ key keywords std::string
+ key eclass_keywords std::string
+ key iuse std::string
+ key inherited std::string
+
+ extra_constructors <<END
+ EbuildVersionMetadata();
+END
+
+ extra_methods <<END
+ /**
+ * PROVIDE, as a dep atom.
+ */
+ DepAtom::ConstPointer provide() const;
+END
+
+ allow_named_args
+}
+
+make_class_CRANVersionMetadata()
+{
+ key keywords std::string
+ key package std::string
+ key version std::string
+ key is_bundle bool
+
+ allow_named_args
+}
+
+make_class_EbinVersionMetadata()
+{
+ key bin_uri std::string
+ key src_repository RepositoryName
+
+ extra_constructors <<END
+ EbinVersionMetadata();
+END
+}
+
+make_class_VirtualMetadata()
+{
+ key virtual_for PackageDatabaseEntry
+}
+