[Python-modules-commits] r30638 - in packages/pyenchant/trunk/debian (5 files)

piotr at users.alioth.debian.org piotr at users.alioth.debian.org
Mon Sep 15 19:57:58 UTC 2014


    Date: Monday, September 15, 2014 @ 19:57:57
  Author: piotr
Revision: 30638

[ Olly Betts ]
* Update for wxPython 3.0 (Closes: #759075):
  - New patch: wxpython3.0.patch
* Drop alternative dependency on long gone python-wxgtk2.6. (Closes: #645894)

Added:
  packages/pyenchant/trunk/debian/patches/
  packages/pyenchant/trunk/debian/patches/series
  packages/pyenchant/trunk/debian/patches/wxpython3.0.patch
Modified:
  packages/pyenchant/trunk/debian/changelog
  packages/pyenchant/trunk/debian/control

Modified: packages/pyenchant/trunk/debian/changelog
===================================================================
--- packages/pyenchant/trunk/debian/changelog	2014-09-15 19:51:18 UTC (rev 30637)
+++ packages/pyenchant/trunk/debian/changelog	2014-09-15 19:57:57 UTC (rev 30638)
@@ -1,3 +1,12 @@
+pyenchant (1.6.6-2) unstable; urgency=medium
+
+  [ Olly Betts ]
+  * Update for wxPython 3.0 (Closes: #759075):
+    - New patch: wxpython3.0.patch
+  * Drop alternative dependency on long gone python-wxgtk2.6. (Closes: #645894)
+
+ -- Piotr Ożarowski <piotr at debian.org>  Mon, 15 Sep 2014 21:55:58 +0200
+
 pyenchant (1.6.6-1) unstable; urgency=medium
 
   [ Jakub Wilk ]

Modified: packages/pyenchant/trunk/debian/control
===================================================================
--- packages/pyenchant/trunk/debian/control	2014-09-15 19:51:18 UTC (rev 30637)
+++ packages/pyenchant/trunk/debian/control	2014-09-15 19:57:57 UTC (rev 30638)
@@ -16,7 +16,7 @@
 Package: python-enchant
 Architecture: all
 Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
-Suggests: python-gobject, python-gtk2, python-wxgtk2.6 | python-wxgtk2.8
+Suggests: python-gobject, python-gtk2, python-wxgtk3.0
 Description: spellchecking library for Python
  PyEnchant consists of Python bindings to the Enchant spellchecking
  library and some wrapper classes. It includes all the functionality

Added: packages/pyenchant/trunk/debian/patches/series
===================================================================
--- packages/pyenchant/trunk/debian/patches/series	                        (rev 0)
+++ packages/pyenchant/trunk/debian/patches/series	2014-09-15 19:57:57 UTC (rev 30638)
@@ -0,0 +1 @@
+wxpython3.0.patch

Added: packages/pyenchant/trunk/debian/patches/wxpython3.0.patch
===================================================================
--- packages/pyenchant/trunk/debian/patches/wxpython3.0.patch	                        (rev 0)
+++ packages/pyenchant/trunk/debian/patches/wxpython3.0.patch	2014-09-15 19:57:57 UTC (rev 30638)
@@ -0,0 +1,28 @@
+Description: Update for wxPython 3.0
+ These changes should remain compatible with wxPython 2.8.
+Bug-Debian: https://bugs.debian.org/759075
+Forwarded: no
+Last-Update: 2014-09-14
+
+--- pyenchant-1.6.6.orig/enchant/checker/wxSpellCheckerDialog.py
++++ pyenchant-1.6.6/enchant/checker/wxSpellCheckerDialog.py
+@@ -256,7 +256,7 @@ def _test():
+     from enchant.checker import SpellChecker
+     text = "This is sme text with a fw speling errors in it. Here are a fw more to tst it ut."
+     printf(["BEFORE:", text])
+-    app = wx.PySimpleApp()
++    app = wx.App(False)
+     dlg = TestDialog()
+     chkr = SpellChecker("en_US",text)
+     dlg.SetSpellChecker(chkr)
+--- pyenchant-1.6.6.orig/tools/wx_example.py
++++ pyenchant-1.6.6/tools/wx_example.py
+@@ -10,7 +10,7 @@ text = "this is some smple text with a f
+ print "[INITIAL TEXT:]", text
+ 
+ # Need to have an App before any windows will be shown
+-app = wx.PySimpleApp()
++app = wx.App(False)
+ 
+ # Construct the dialog, and the SpellChecker it is to use
+ dlg = wxSpellCheckerDialog(None)




More information about the Python-modules-commits mailing list