aboutsummaryrefslogtreecommitdiff
path: root/python/dep_spec.cc
diff options
context:
space:
mode:
Diffstat (limited to 'python/dep_spec.cc')
-rw-r--r--python/dep_spec.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/dep_spec.cc b/python/dep_spec.cc
index 20b59bb81..e01880a59 100644
--- a/python/dep_spec.cc
+++ b/python/dep_spec.cc
@@ -1219,12 +1219,13 @@ void expose_dep_spec()
"Create a PackageDepSpec from user input."
);
+ register_shared_ptrs_to_python<PythonPackageDepSpec>(rsp_const);
bp::implicitly_convertible<PythonPackageDepSpec, PackageDepSpec>();
bp::implicitly_convertible<PythonPackageDepSpec, std::shared_ptr<PackageDepSpec> >();
bp::implicitly_convertible<std::shared_ptr<PackageDepSpec>, std::shared_ptr<const PackageDepSpec> >();
RegisterDepSpecToPython<PackageDepSpec, PythonPackageDepSpec>();
- bp::class_<PythonPackageDepSpec, std::shared_ptr<const PythonPackageDepSpec>, bp::bases<PythonStringDepSpec> >
+ bp::class_<PythonPackageDepSpec, std::shared_ptr<PythonPackageDepSpec>, bp::bases<PythonStringDepSpec> >
(
"PackageDepSpec",
"A PackageDepSpec represents a package name (for example, 'app-editors/vim'),"