* [gentoo-commits] gentoo-x86 commit in x11-wm/parti/files: parti-0.0.6-python-2.6-sets-deprecation.patch parti-0.0.6-python-import.patch
@ 2010-08-31 9:04 Michael Weber (xmw)
0 siblings, 0 replies; 2+ messages in thread
From: Michael Weber (xmw) @ 2010-08-31 9:04 UTC (permalink / raw
To: gentoo-commits
xmw 10/08/31 09:04:56
Added: parti-0.0.6-python-2.6-sets-deprecation.patch
parti-0.0.6-python-import.patch
Log:
Initial import
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Revision Changes Path
1.1 x11-wm/parti/files/parti-0.0.6-python-2.6-sets-deprecation.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/parti/files/parti-0.0.6-python-2.6-sets-deprecation.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/parti/files/parti-0.0.6-python-2.6-sets-deprecation.patch?rev=1.1&content-type=text/plain
Index: parti-0.0.6-python-2.6-sets-deprecation.patch
===================================================================
upsream changeset 620a831d81
hg clone https://partiwm.googlecode.com/hg/ partiwm
hg diff -c 620a831d81
diff -r 35cf8653d223 -r 620a831d81d1 wimpiggy/window.py
--- a/wimpiggy/window.py Sun Jul 18 16:08:36 2010 -0700
+++ b/wimpiggy/window.py Sat Jul 31 08:36:22 2010 -0700
@@ -8,7 +8,13 @@
Most of the gunk required to be a valid window manager (reparenting, synthetic
events, mucking about with properties, etc. etc.) is wrapped up in here."""
-import sets
+# Maintain compatibility with old versions of Python, while avoiding a
+# deprecation warning on new versions:
+import sys
+if sys.version_info < (2, 6):
+ from sets import ImmutableSet
+else:
+ ImmutableSet = frozenset
import gobject
import gtk
import gtk.gdk
@@ -775,9 +781,9 @@
net_wm_state = prop_get(self.client_window,
"_NET_WM_STATE", ["atom"])
if net_wm_state:
- self._internal_set_property("state", sets.ImmutableSet(net_wm_state))
+ self._internal_set_property("state", ImmutableSet(net_wm_state))
else:
- self._internal_set_property("state", sets.ImmutableSet())
+ self._internal_set_property("state", ImmutableSet())
for mutable in ["WM_HINTS", "WM_NORMAL_HINTS",
"WM_NAME", "_NET_WM_NAME",
diff -r 35cf8653d223 -r 620a831d81d1 wimpiggy/wm.py
--- a/wimpiggy/wm.py Sun Jul 18 16:08:36 2010 -0700
+++ b/wimpiggy/wm.py Sat Jul 31 08:36:22 2010 -0700
@@ -6,7 +6,13 @@
import gtk
import gobject
-from sets import ImmutableSet
+# Maintain compatibility with old versions of Python, while avoiding a
+# deprecation warning on new versions:
+import sys
+if sys.version_info < (2, 6):
+ from sets import ImmutableSet
+else:
+ ImmutableSet = frozenset
from wimpiggy.error import *
import wimpiggy.selection
1.1 x11-wm/parti/files/parti-0.0.6-python-import.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/parti/files/parti-0.0.6-python-import.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/parti/files/parti-0.0.6-python-import.patch?rev=1.1&content-type=text/plain
Index: parti-0.0.6-python-import.patch
===================================================================
upsream changeset fedd8b2841
hg clone https://partiwm.googlecode.com/hg/ partiwm
hg diff -c fedd8b2841
diff -r d35431b2028f -r fedd8b284197 xpra/server.py
--- a/xpra/server.py Tue May 05 21:49:16 2009 +0000
+++ b/xpra/server.py Sun May 10 22:15:46 2009 +0000
@@ -14,6 +14,7 @@
import cairo
import os
import os.path
+import sys
import subprocess
from wimpiggy.wm import Wm
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in x11-wm/parti/files: parti-0.0.6-python-2.6-sets-deprecation.patch parti-0.0.6-python-import.patch
@ 2012-07-21 14:11 Pacho Ramos (pacho)
0 siblings, 0 replies; 2+ messages in thread
From: Pacho Ramos (pacho) @ 2012-07-21 14:11 UTC (permalink / raw
To: gentoo-commits
pacho 12/07/21 14:11:41
Removed: parti-0.0.6-python-2.6-sets-deprecation.patch
parti-0.0.6-python-import.patch
Log:
Remove package
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-07-21 14:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-31 9:04 [gentoo-commits] gentoo-x86 commit in x11-wm/parti/files: parti-0.0.6-python-2.6-sets-deprecation.patch parti-0.0.6-python-import.patch Michael Weber (xmw)
-- strict thread matches above, loose matches on Subject: below --
2012-07-21 14:11 Pacho Ramos (pacho)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox