pidgin/purple-plugin-pack

Parents ee710a16e631
Children 4e0ab71453a8
Added a debian_description command to generate the description for the debian control file
--- a/plugin_pack.py Sun May 18 08:12:30 2008 -0400
+++ b/plugin_pack.py Mon May 19 06:10:52 2008 -0400
@@ -38,6 +38,8 @@
import string
import sys
+webpage = 'http://plugins.guifications.org/'
+
def printerr(msg):
print >> sys.stderr, msg
@@ -427,6 +429,23 @@
print '}'
commands['dependency_graph'] = dependency_graph
+ def debian_description(self, args):
+ print ' Description: %d useful plugins for Pidgin, Finch, and Purple' %len(self.plugins)
+ print ' The Plugin Pack is a collection of many simple-yet-useful plugins for Pidgin,'
+ print ' Finch, and Purple. You will find a summary of each plugin below. For more'
+ print ' about an individual plugin, please see %s' % webpage
+
+ list = self.plugins.keys()
+ list.sort()
+ for key in list:
+ plugin = self.plugins[key]
+ print ' .'
+ print ' %s: %s' % (plugin.name, plugin.summary)
+
+ print ' .'
+ print ' Homepage: %s' % webpage
+ commands['debian_description'] = debian_description
+
def show_names(self, args):
"""Displays the names of the given comma separated list of provides"""