diff options
Diffstat (limited to 'paludis/user_dep_spec.hh')
-rw-r--r-- | paludis/user_dep_spec.hh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/paludis/user_dep_spec.hh b/paludis/user_dep_spec.hh index 4801152c5..d42684504 100644 --- a/paludis/user_dep_spec.hh +++ b/paludis/user_dep_spec.hh @@ -41,6 +41,18 @@ namespace paludis const UserPackageDepSpecOptions &, const Filter & = filter::All()) PALUDIS_VISIBLE; + /** + * Create a PackageDepSpec from user input, restricted to not having + * an Environment available. + * + * For use in test cases; should not be used elsewhere. + * + * \ingroup g_dep_spec + * \since 0.61 + */ + PackageDepSpec envless_parse_package_dep_spec_for_tests( + const std::string &) PALUDIS_VISIBLE; + class PALUDIS_VISIBLE UserSlotExactRequirement : public SlotExactRequirement { |