aboutsummaryrefslogtreecommitdiff
path: root/paludis/partially_made_package_dep_spec.hh
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/partially_made_package_dep_spec.hh')
-rw-r--r--paludis/partially_made_package_dep_spec.hh12
1 files changed, 5 insertions, 7 deletions
diff --git a/paludis/partially_made_package_dep_spec.hh b/paludis/partially_made_package_dep_spec.hh
index 14d2c5a5c..686dc9405 100644
--- a/paludis/partially_made_package_dep_spec.hh
+++ b/paludis/partially_made_package_dep_spec.hh
@@ -183,9 +183,12 @@ namespace paludis
PartiallyMadePackageDepSpec & clear_category_name_part();
/**
- * Add a version requirement, return ourself.
+ * Add a version constraint, return ourself.
+ *
+ * \since 0.61
*/
- PartiallyMadePackageDepSpec & version_requirement(const VersionRequirement &);
+ PartiallyMadePackageDepSpec & version_constraint(
+ const VersionSpec &, const VersionOperator &, const VersionConstraintCombiner);
/**
* Clear all version requirement, return ourself.
@@ -195,11 +198,6 @@ namespace paludis
PartiallyMadePackageDepSpec & clear_version_requirements();
/**
- * Set our version requirements mode, return ourself.
- */
- PartiallyMadePackageDepSpec & version_requirements_mode(const VersionRequirementsMode &);
-
- /**
* Add an additional requirement, return ourself.
*/
PartiallyMadePackageDepSpec & additional_requirement(