aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/ebuild_id.hh
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-03-22 15:17:45 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-03-22 15:17:32 +0000
commit4420b5ced9d425a93123b5c0afe7514cb05b88c3 (patch)
tree7602fb0ad702cef033a46613a64e86f8af0cdd09 /paludis/repositories/e/ebuild_id.hh
parent7d0466af57231a0b727f4a619434fb80bbbbc5ff (diff)
downloadpaludis-4420b5ced9d425a93123b5c0afe7514cb05b88c3.tar.gz
paludis-4420b5ced9d425a93123b5c0afe7514cb05b88c3.tar.xz
Change how we store that icky DEPENDENCIES mess.
Rather than storing only generated DEPENDENCIES and hopping back and forth all over the place, store both the real DEPENDENCIES (and make that user-visible) and generated DEPENDENCIES (and make those internal visible).
Diffstat (limited to 'paludis/repositories/e/ebuild_id.hh')
-rw-r--r--paludis/repositories/e/ebuild_id.hh11
1 files changed, 8 insertions, 3 deletions
diff --git a/paludis/repositories/e/ebuild_id.hh b/paludis/repositories/e/ebuild_id.hh
index a619c79f1..bef876ac7 100644
--- a/paludis/repositories/e/ebuild_id.hh
+++ b/paludis/repositories/e/ebuild_id.hh
@@ -97,6 +97,7 @@ namespace paludis
virtual const std::tr1::shared_ptr<const MetadataValueKey<bool> > transient_key() const;
+ const std::tr1::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > raw_dependencies_key() const;
const std::tr1::shared_ptr<const MetadataSpecTreeKey<PlainTextSpecTree> > remote_ids_key() const;
const std::tr1::shared_ptr<const MetadataSpecTreeKey<PlainTextSpecTree> > bugs_to_key() const;
const std::tr1::shared_ptr<const MetadataSpecTreeKey<SimpleURISpecTree> > upstream_changelog_key() const;
@@ -116,9 +117,13 @@ namespace paludis
void load_short_description(const std::string &, const std::string &, const std::string &) const;
void load_captured_stderr(const std::string &, const std::string &, const MetadataKeyType, const std::string &) const;
- void load_build_depend(const std::string &, const std::string &, const std::string &) const;
- void load_run_depend(const std::string &, const std::string &, const std::string &) const;
- void load_post_depend(const std::string &, const std::string &, const std::string &) const;
+ void load_raw_depend(const std::string &, const std::string &, const std::string &) const;
+ void load_build_depend(const std::string &, const std::string &, const std::string &,
+ const bool rewritten) const;
+ void load_run_depend(const std::string &, const std::string &, const std::string &,
+ const bool rewritten) const;
+ void load_post_depend(const std::string &, const std::string &, const std::string &,
+ const bool rewritten) const;
void load_src_uri(const std::tr1::shared_ptr<const EAPIMetadataVariable> &, const std::string &) const;
void load_homepage(const std::string &, const std::string &, const std::string &) const;
void load_license(const std::tr1::shared_ptr<const EAPIMetadataVariable> &, const std::string &) const;