Scott Talbert pointed out a simpler replacement for wx.PySimpleApp() is
just wx.App(False) - I've attached an updated patch using this instead.
Cheers,
Olly
diff -Nru python-fs-0.4.0/debian/changelog python-fs-0.4.0/debian/changelog
--- python-fs-0.4.0/debian/changelog 2014-02-24 11:00:56.000000000 -0300
+++ python-fs-0.4.0/debian/changelog 2014-09-07 00:59:41.000000000 -0300
@@ -1,3 +1,11 @@
+python-fs (0.4.0-1.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Update for wxPython 3.0 (Closes: #759054):
+ - New patch: wxpython3.0.patch
+
+ -- Olly Betts <[email protected]> Sun, 07 Sep 2014 03:59:39 +0000
+
python-fs (0.4.0-1) unstable; urgency=low
[ Janos Guljas ]
diff -Nru python-fs-0.4.0/debian/control python-fs-0.4.0/debian/control
--- python-fs-0.4.0/debian/control 2014-02-24 10:59:25.000000000 -0300
+++ python-fs-0.4.0/debian/control 2014-09-07 00:59:35.000000000 -0300
@@ -28,7 +28,7 @@
Package: python-fs-browser
Architecture: all
-Depends: python-fs, python-wxgtk2.8, ${misc:Depends}
+Depends: python-fs, python-wxgtk3.0, ${misc:Depends}
Description: Python filesystem abstraction - Gtk browser
Pyfilesystem is a Python module that provides a common interface to many types
of filesystem, and provides some powerful features such as exposing
diff -Nru python-fs-0.4.0/debian/patches/series python-fs-0.4.0/debian/patches/series
--- python-fs-0.4.0/debian/patches/series 1969-12-31 21:00:00.000000000 -0300
+++ python-fs-0.4.0/debian/patches/series 2014-09-07 00:44:34.000000000 -0300
@@ -0,0 +1 @@
+wxpython3.0.patch
diff -Nru python-fs-0.4.0/debian/patches/wxpython3.0.patch python-fs-0.4.0/debian/patches/wxpython3.0.patch
--- python-fs-0.4.0/debian/patches/wxpython3.0.patch 1969-12-31 21:00:00.000000000 -0300
+++ python-fs-0.4.0/debian/patches/wxpython3.0.patch 2014-09-13 00:14:42.000000000 -0300
@@ -0,0 +1,17 @@
+Description: Update for wxPython 3.0
+Author: Olly Betts <[email protected]>
+Bug-Debian: https://bugs.debian.org/759054
+Forwarded: no
+Last-Update: 2014-09-13
+
+--- python-fs-0.4.0.orig/fs/browsewin.py
++++ python-fs-0.4.0/fs/browsewin.py
+@@ -187,7 +187,7 @@ def browse(fs, hide_dotfiles=False):
+
+ """
+
+- app = wx.PySimpleApp()
++ app = wx.App(False)
+ frame = BrowseFrame(fs, hide_dotfiles=hide_dotfiles)
+ frame.Show()
+ app.MainLoop()