aboutsummaryrefslogtreecommitdiff
path: root/paludis/user_dep_spec.hh
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-03-27 14:55:10 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-03-27 14:55:10 +0100
commitae48f2a2683ba8451d9dcf2fec8420439ee9c629 (patch)
tree33815b06d4066971014bca7e52b4d63f8536297f /paludis/user_dep_spec.hh
parent9d7a170ae6703a68d2c04d56e8bd2792194f0deb (diff)
downloadpaludis-ae48f2a2683ba8451d9dcf2fec8420439ee9c629.tar.gz
paludis-ae48f2a2683ba8451d9dcf2fec8420439ee9c629.tar.xz
Add envless_parse_package_dep_spec_for_tests
Diffstat (limited to 'paludis/user_dep_spec.hh')
-rw-r--r--paludis/user_dep_spec.hh12
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
{