packages: emesene/emesene.spec, emesene/plugins-pyc.patch (NEW) - locate .p...
glen
glen at pld-linux.org
Sun Mar 21 12:20:00 CET 2010
Author: glen Date: Sun Mar 21 11:20:00 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- locate .pyc plugins
---- Files affected:
packages/emesene:
emesene.spec (1.6 -> 1.7) , plugins-pyc.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/emesene/emesene.spec
diff -u packages/emesene/emesene.spec:1.6 packages/emesene/emesene.spec:1.7
--- packages/emesene/emesene.spec:1.6 Sun Mar 21 11:54:56 2010
+++ packages/emesene/emesene.spec Sun Mar 21 12:19:54 2010
@@ -2,7 +2,7 @@
Summary: Instant messaging client for Windows Live Messenger (tm) network
Name: emesene
Version: 1.6
-Release: 0.15
+Release: 0.16
License: GPL v2+
Group: Applications/Networking
URL: http://www.emesene.org/
@@ -10,6 +10,7 @@
# Source0-md5: ea4d3f4097265daac6823d8288979d02
Patch0: %{name}-desktop.patch
Patch1: setup-install.patch
+Patch2: plugins-pyc.patch
BuildRequires: gettext
BuildRequires: python-devel
BuildRequires: rpmbuild(macros) >= 1.219
@@ -41,6 +42,7 @@
%setup -q
%patch0 -p1
%patch1 -p1
+%patch2 -p1
cat <<'EOF' > emesene.sh
#!/bin/sh
@@ -116,6 +118,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.7 2010/03/21 11:19:54 glen
+- locate .pyc plugins
+
Revision 1.6 2010/03/21 10:54:56 glen
- COPYING contains extra detailed license info
================================================================
Index: packages/emesene/plugins-pyc.patch
diff -u /dev/null packages/emesene/plugins-pyc.patch:1.1
--- /dev/null Sun Mar 21 12:20:00 2010
+++ packages/emesene/plugins-pyc.patch Sun Mar 21 12:19:54 2010
@@ -0,0 +1,13 @@
+--- emesene-1.6/PluginManager.py~ 2009-12-24 14:55:03.000000000 +0200
++++ emesene-1.6/PluginManager.py 2010-03-21 13:11:23.769597184 +0200
+@@ -92,8 +92,8 @@
+ path = path + paths.DIR_SEP + package
+
+ modules = [ x.split( '.' )[ 0 ] for x in os.listdir( path ) \
+- if x.endswith( '.py' ) and not x.startswith( '_' ) \
+- and x != 'Plugin.py' ]
++ if (x.endswith( '.py' ) or x.endswith ('.pyc')) and not x.startswith( '_' ) \
++ and x != 'Plugin.py' and x != 'Plugin.pyc' ]
+ plugins = {}
+ plugins = plugins.fromkeys( modules )
+
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/emesene/emesene.spec?r1=1.6&r2=1.7&f=u
More information about the pld-cvs-commit
mailing list