aboutsummaryrefslogtreecommitdiff
path: root/paludis/partially_made_package_dep_spec.hh
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-04-02 15:14:21 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-04-04 08:32:59 +0100
commit1a8319191a0c4a585fab173199a2c898c76f30c3 (patch)
tree39ae0ee349e25f0b420fbd72cc43bd4ba3007d8d /paludis/partially_made_package_dep_spec.hh
parentf243a4014b98275a3ebb7872faadab5ba1fcafa8 (diff)
downloadpaludis-1a8319191a0c4a585fab173199a2c898c76f30c3.tar.gz
paludis-1a8319191a0c4a585fab173199a2c898c76f30c3.tar.xz
Version requirements to constraints
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(