org.guifications.plugins: b7ebae6bb630a7ef4dcf63daef05256299f25bd8
grim at guifications.org
grim at guifications.org
Mon May 19 01:35:12 CDT 2008
-----------------------------------------------------------------
Revision: b7ebae6bb630a7ef4dcf63daef05256299f25bd8
Ancestor: 66af41f2b63e67d13764aeeea42d0a2214528c99
Author: grim at guifications.org
Date: 2008-05-19T06:10:52
Branch: org.guifications.plugins
Modified files:
plugin_pack.py
ChangeLog:
Added a debian_description command to generate the description for the debian control file
-----------------------------------------------------------------
This revision's diffstat output:
plugin_pack.py | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
-------------- next part --------------
============================================================
--- plugin_pack.py e0ca9c27c277c6c68c9559b9fb2c3ef604a02236
+++ plugin_pack.py c8b7aa2ebf85aca395afc8c9f3a1a2ad3ce400b1
@@ -38,6 +38,8 @@ import sys
import string
import sys
+webpage = 'http://plugins.guifications.org/'
+
def printerr(msg):
print >> sys.stderr, msg
@@ -427,6 +429,23 @@ class PluginPack:
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"""
More information about the Plugins-commits
mailing list