aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-03-29 14:43:22 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-04-04 08:32:59 +0100
commit52a4c781098800f3b2831134f5e94434729c46a5 (patch)
tree55499ba5305132e315d51633332ee18289df5adb /python
parentbc262ad74eb8d80eb979a5c5591b222d5fc1eb36 (diff)
downloadpaludis-52a4c781098800f3b2831134f5e94434729c46a5.tar.gz
paludis-52a4c781098800f3b2831134f5e94434729c46a5.tar.xz
installable to path to requirements
Diffstat (limited to 'python')
-rw-r--r--python/package_dep_spec_constraint.cc19
1 files changed, 19 insertions, 0 deletions
diff --git a/python/package_dep_spec_constraint.cc b/python/package_dep_spec_constraint.cc
index 2b17ae194..2d42cb5f1 100644
--- a/python/package_dep_spec_constraint.cc
+++ b/python/package_dep_spec_constraint.cc
@@ -148,5 +148,24 @@ void expose_package_dep_spec_constraint()
"[RO] The ::/ path in question"
)
;
+
+ /**
+ * InstallableToPathConstraint
+ */
+ class_package_dep_spec_constraint<InstallableToPathConstraint>
+ (
+ "InstalledableToPathConstraint",
+ "A ::/? constraint for a PackageDepSpec.",
+ bp::no_init
+ )
+
+ .add_property("path", &InstallableToPathConstraint::path,
+ "[RO] The ::/? path in question"
+ )
+
+ .add_property("include_masked", &InstallableToPathConstraint::include_masked,
+ "[RO] Whether to include masked, as per ::/??"
+ )
+ ;
}