+ p.depends = ", ".join([
+ "python2.6 | python2.5",
+ "python-gtk2 | python2.5-gtk2",
+ "python-xml | python2.5-xml",
+ ])
+ maemoSpecificDepends = ", python-osso | python2.5-osso, python-hildon | python2.5-hildon"
+ p.depends += {
+ "debian": ", python-glade2",
+ "chinook": maemoSpecificDepends,
+ "diablo": maemoSpecificDepends,
+ "fremantle": maemoSpecificDepends + ", python-glade2",
+ "mer": maemoSpecificDepends + ", python-glade2",
+ }[distribution]
+ p.section = {
+ "debian": "accessories",
+ "chinook": "accessories",
+ "diablo": "user/office",
+ "fremantle": "user/office",
+ "mer": "user/office",
+ }[distribution]