void PALUDIS_VISIBLE expose_dep_tag() { /** * DepTag */ { bp::class_ dt("DepTag", "A DepTag can be associated with a PackageDepSpec, and is transferred " "onto any associated DepListEntry instances.", bp::no_init ); dt.add_property("short_text", &DepTag::short_text, "[ro] string\n" "Our short text (for example, 'GLSA-1234') that is " "displayed with the dep list entry." ); dt.add_property("category", &DepTag::category, "[ro] string\n" "Our DepTagCategory's tag." ); dt.def("__cmp__", &py_cmp); }