aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-03-29 15:26:48 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-04-04 08:32:59 +0100
commita004eeed5dda3432dcb1a4c0a865ae24daae4fd3 (patch)
tree69188ac33eeb2acd1860315e7f794a42f19e6358 /python
parent52a4c781098800f3b2831134f5e94434729c46a5 (diff)
downloadpaludis-a004eeed5dda3432dcb1a4c0a865ae24daae4fd3.tar.gz
paludis-a004eeed5dda3432dcb1a4c0a865ae24daae4fd3.tar.xz
installable to repository 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 2d42cb5f1..e89f463d9 100644
--- a/python/package_dep_spec_constraint.cc
+++ b/python/package_dep_spec_constraint.cc
@@ -167,5 +167,24 @@ void expose_package_dep_spec_constraint()
"[RO] Whether to include masked, as per ::/??"
)
;
+
+ /**
+ * InstallableToRepositoryConstraint
+ */
+ class_package_dep_spec_constraint<InstallableToRepositoryConstraint>
+ (
+ "InstalledableToPathConstraint",
+ "A ::/? constraint for a PackageDepSpec.",
+ bp::no_init
+ )
+
+ .add_property("name", &InstallableToRepositoryConstraint::name,
+ "[RO] The ::repo? in question"
+ )
+
+ .add_property("include_masked", &InstallableToRepositoryConstraint::include_masked,
+ "[RO] Whether to include masked, as per ::repo??"
+ )
+ ;
}