packages: griffith/griffith-plugin.patch, griffith/griffith.spec - fix impo...

glen glen at pld-linux.org
Mon Dec 26 22:32:28 CET 2011


Author: glen                         Date: Mon Dec 26 21:32:28 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix import/export

---- Files affected:
packages/griffith:
   griffith-plugin.patch (1.4 -> 1.5) , griffith.spec (1.39 -> 1.40) 

---- Diffs:

================================================================
Index: packages/griffith/griffith-plugin.patch
diff -u packages/griffith/griffith-plugin.patch:1.4 packages/griffith/griffith-plugin.patch:1.5
--- packages/griffith/griffith-plugin.patch:1.4	Tue Jan 19 13:34:38 2010
+++ packages/griffith/griffith-plugin.patch	Mon Dec 26 22:32:23 2011
@@ -29,3 +29,25 @@
          plugin_name = plugin_module.replace('PluginExport', '')
          menu_items = gtk.MenuItem(plugin_name)
          self.widgets['menu']['export'].append(menu_items)
+--- griffith-0.13/lib/plugins/imp/__init__.py~	2011-01-18 12:25:50.000000000 +0200
++++ griffith-0.13/lib/plugins/imp/__init__.py	2011-12-26 23:29:26.563009107 +0200
+@@ -36,7 +36,7 @@
+ import edit
+ 
+ # detect all plugins:
+-__all__ = [os.path.basename(x)[:-3] for x in glob.glob("%s/*.py" % os.path.dirname(__file__))]
++__all__ = [os.path.basename(x)[:-4] for x in glob.glob("%s/*.pyc" % os.path.dirname(__file__))]
+ __all__.remove('__init__')
+ 
+ 
+--- griffith-0.13/lib/plugins/export/__init__.py~	2011-02-08 23:10:58.000000000 +0200
++++ griffith-0.13/lib/plugins/export/__init__.py	2011-12-26 23:30:08.681616820 +0200
+@@ -36,7 +36,7 @@
+ from sql import update_whereclause
+ 
+ # detect all plugins:
+-__all__ = [os.path.basename(x)[:-3] for x in glob.glob("%s/PluginExport*.py" % os.path.dirname(__file__))]
++__all__ = [os.path.basename(x)[:-4] for x in glob.glob("%s/PluginExport*.pyc" % os.path.dirname(__file__))]
+ 
+ class Base(object):
+     description = None

================================================================
Index: packages/griffith/griffith.spec
diff -u packages/griffith/griffith.spec:1.39 packages/griffith/griffith.spec:1.40
--- packages/griffith/griffith.spec:1.39	Mon Dec 26 22:28:55 2011
+++ packages/griffith/griffith.spec	Mon Dec 26 22:32:23 2011
@@ -10,7 +10,7 @@
 Summary(pl.UTF-8):	griffith - program katalogujący filmy
 Name:		griffith
 Version:	0.13
-Release:	1
+Release:	2
 License:	GPL v2+
 Group:		X11/Applications/Multimedia
 Source0:	http://launchpad.net/griffith/trunk/%{version}/+download/%{name}-%{version}.tar.gz
@@ -166,6 +166,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.40  2011/12/26 21:32:23  glen
+- fix import/export
+
 Revision 1.39  2011/12/26 21:28:55  glen
 - up to 0.13
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/griffith/griffith-plugin.patch?r1=1.4&r2=1.5&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/griffith/griffith.spec?r1=1.39&r2=1.40&f=u



More information about the pld-cvs-commit mailing list