hi, sth like portage.portdb.masked_all() which returns a list/string of all masked ebuilds would be nice to have in portage (currently we are thinking about using the following in kportage): def masked(self): """returns a string which contains all masked ebuilds.""" b="" for package in portage.portdb.cp_all(): list = portage.portdb.cp_list(package) list2 = portage.portdb.visible(list) for sub in list: if (sub not in list2): b+=sub+" " return b
if you want to know which portage functions we use in kportage, you can check at: http://savannah.nongnu.org/cgi-bin/viewcvs/kportage/kportage/kportage/portage/portagepython.py?rev=HEAD&content-type=text/vnd.viewcvs-markup
sorry, http://savannah.nongnu.org/cgi-bin/viewcvs/kportage/kportage/kportage/portage/kportage.py?rev=HEAD&content-type=text/vnd.viewcvs-markup is the correct link.
This bug is about to die of old age. Any changes?
Killing it... kportage is dead, and no commentary in 19 months...