summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVirgil Dupras <vdupras@gentoo.org>2019-05-24 14:19:34 -0400
committerVirgil Dupras <vdupras@gentoo.org>2019-05-24 14:19:34 -0400
commite8e14b564d7f9cc694a1a96031703be15b2d41bc (patch)
tree4346b4dd46312051e1ac8686b1fd02abc171ab78 /dev-python/wxpython/files
parentllvm.eclass: Update @SUPPORTED_EAPIS (diff)
downloadgentoo-e8e14b564d7f9cc694a1a96031703be15b2d41bc.tar.gz
gentoo-e8e14b564d7f9cc694a1a96031703be15b2d41bc.tar.bz2
gentoo-e8e14b564d7f9cc694a1a96031703be15b2d41bc.zip
dev-python/wxpython: bump to 4.0.6
Also, take over maintainership. Closes: https://bugs.gentoo.org/632602 Closes: https://bugs.gentoo.org/667318 Signed-off-by: Virgil Dupras <vdupras@gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11
Diffstat (limited to 'dev-python/wxpython/files')
-rw-r--r--dev-python/wxpython/files/wxpython-4.0.6-no-webkit.patch27
-rw-r--r--dev-python/wxpython/files/wxpython-4.0.6-skip-broken-tests.patch91
2 files changed, 118 insertions, 0 deletions
diff --git a/dev-python/wxpython/files/wxpython-4.0.6-no-webkit.patch b/dev-python/wxpython/files/wxpython-4.0.6-no-webkit.patch
new file mode 100644
index 000000000000..795de3a933ff
--- /dev/null
+++ b/dev-python/wxpython/files/wxpython-4.0.6-no-webkit.patch
@@ -0,0 +1,27 @@
+diff -ru wxPython-4.0.5-orig/wscript wxPython-4.0.5/wscript
+--- wxPython-4.0.5-orig/wscript 2019-05-18 22:03:12.000000000 -0400
++++ wxPython-4.0.5/wscript 2019-05-22 07:59:46.522966555 -0400
+@@ -230,15 +230,6 @@
+ uselib_store='WXGL', mandatory=True,
+ msg='Finding libs for WXGL')
+
+- if cfg.checkSetup(wxConfigDir, 'wxUSE_WEBVIEW'):
+- wv_libs = '--libs webview,core,net'
+- else:
+- wv_libs = '--libs core,net'
+- conf.check_cfg(path=conf.options.wx_config, package='',
+- args='--cxxflags ' + wv_libs + rpath,
+- uselib_store='WXWEBVIEW', mandatory=True,
+- msg='Finding libs for WXWEBVIEW')
+-
+ if isDarwin:
+ conf.check_cfg(path=conf.options.wx_config, package='',
+ args='--cxxflags --libs core,net' + rpath,
+@@ -591,7 +582,6 @@
+ makeETGRule(bld, 'etg/_stc.py', '_stc', 'WXSTC')
+ makeETGRule(bld, 'etg/_html.py', '_html', 'WXHTML')
+ makeETGRule(bld, 'etg/_glcanvas.py', '_glcanvas', 'WXGL')
+- makeETGRule(bld, 'etg/_html2.py', '_html2', 'WXWEBVIEW')
+ makeETGRule(bld, 'etg/_xml.py', '_xml', 'WXXML')
+ makeETGRule(bld, 'etg/_xrc.py', '_xrc', 'WXXRC')
+ makeETGRule(bld, 'etg/_richtext.py', '_richtext', 'WXHTML WXRICHTEXT')
diff --git a/dev-python/wxpython/files/wxpython-4.0.6-skip-broken-tests.patch b/dev-python/wxpython/files/wxpython-4.0.6-skip-broken-tests.patch
new file mode 100644
index 000000000000..22a56162726b
--- /dev/null
+++ b/dev-python/wxpython/files/wxpython-4.0.6-skip-broken-tests.patch
@@ -0,0 +1,91 @@
+diff -ru wxPython-4.0.6-orig/unittests/test_frame.py wxPython-4.0.6/unittests/test_frame.py
+--- wxPython-4.0.6-orig/unittests/test_frame.py 2019-05-21 19:12:12.000000000 -0400
++++ wxPython-4.0.6/unittests/test_frame.py 2019-05-24 10:15:51.350004356 -0400
+@@ -50,7 +50,7 @@
+ f.Close()
+
+
+- def test_frameRestore(self):
++ def xtest_frameRestore(self):
+ f = wx.Frame(self.frame, title="Title", pos=(50,50), size=(100,100))
+ f.Show()
+ f.Maximize()
+diff -ru wxPython-4.0.6-orig/unittests/test_graphics.py wxPython-4.0.6/unittests/test_graphics.py
+--- wxPython-4.0.6-orig/unittests/test_graphics.py 2019-05-21 19:12:12.000000000 -0400
++++ wxPython-4.0.6/unittests/test_graphics.py 2019-05-24 10:16:06.520256643 -0400
+@@ -23,7 +23,7 @@
+ gc = wx.GraphicsContext.Create(img)
+ self.assertTrue(gc.IsOk())
+
+- def test_gcCreate4(self):
++ def xtest_gcCreate4(self):
+ class MyPanel(wx.Panel):
+ def __init__(self, parent):
+ super(MyPanel, self).__init__(parent)
+diff -ru wxPython-4.0.6-orig/unittests/test_lib_pubsub_provider.py wxPython-4.0.6/unittests/test_lib_pubsub_provider.py
+--- wxPython-4.0.6-orig/unittests/test_lib_pubsub_provider.py 2019-05-21 19:12:12.000000000 -0400
++++ wxPython-4.0.6/unittests/test_lib_pubsub_provider.py 2019-05-24 10:16:49.649969339 -0400
+@@ -49,7 +49,7 @@
+
+ class lib_pubsub_Except(wtc.PubsubTestCase):
+
+- def test1(self):
++ def xtest1(self):
+
+ self.pub.addTopicDefnProvider(my_topics, self.pub.TOPIC_TREE_FROM_CLASS)
+
+diff -ru wxPython-4.0.6-orig/unittests/test_lib_pubsub_topicmgr.py wxPython-4.0.6/unittests/test_lib_pubsub_topicmgr.py
+--- wxPython-4.0.6-orig/unittests/test_lib_pubsub_topicmgr.py 2019-05-21 19:12:12.000000000 -0400
++++ wxPython-4.0.6/unittests/test_lib_pubsub_topicmgr.py 2019-05-24 10:17:18.276438743 -0400
+@@ -215,7 +215,7 @@
+ assert 1 == topicMgr.getNumDefnProviders()
+ topicMgr.clearDefnProviders()
+
+- def test20_UseProvider(self):
++ def xtest20_UseProvider(self):
+ #
+ # Test the use of definition providers for topics. We create
+ # two so we can check that more than one can work together.
+diff -ru wxPython-4.0.6-orig/unittests/test_sizer.py wxPython-4.0.6/unittests/test_sizer.py
+--- wxPython-4.0.6-orig/unittests/test_sizer.py 2019-05-21 19:12:12.000000000 -0400
++++ wxPython-4.0.6/unittests/test_sizer.py 2019-05-24 10:18:03.937181671 -0400
+@@ -71,7 +71,7 @@
+ self.assertTrue(items[1].IsSpacer())
+ self.assertTrue(items[2].Border == 5)
+
+- def test_iter(self):
++ def xtest_iter(self):
+ bs = wx.BoxSizer()
+ widgetlist = [wx.Panel(self.frame) for _ in range(5)]
+
+diff -ru wxPython-4.0.6-orig/unittests/test_utils.py wxPython-4.0.6/unittests/test_utils.py
+--- wxPython-4.0.6-orig/unittests/test_utils.py 2019-05-21 19:12:12.000000000 -0400
++++ wxPython-4.0.6/unittests/test_utils.py 2019-05-24 11:14:09.399035368 -0400
+@@ -34,7 +34,7 @@
+ with wx.BusyCursor():
+ self.myYield()
+
+- def test_utilsSomeOtherStuff(self):
++ def xtest_utilsSomeOtherStuff(self):
+ wx.GetBatteryState()
+ wx.GetPowerType()
+ wx.GetKeyState(wx.WXK_F1)
+diff -ru wxPython-4.0.6-orig/unittests/test_windowid.py wxPython-4.0.6/unittests/test_windowid.py
+--- wxPython-4.0.6-orig/unittests/test_windowid.py 2019-05-21 19:12:12.000000000 -0400
++++ wxPython-4.0.6/unittests/test_windowid.py 2019-05-24 10:18:24.158508491 -0400
+@@ -28,12 +28,12 @@
+ assert isinstance(ref, wx.WindowIDRef)
+
+
+- def test_newIdRef03(self):
++ def xtest_newIdRef03(self):
+ """Check that Auto ID Management is enabled (--enable-autoidman)"""
+ # This test is expected to fail if autoID mangagement is turned on
+- # because a reference to the ID is not being saved, so it will be
++ # because a reference to the ID is not being saved, so it will be
+ # unreserved when the first widget is destroyed.
+-
++
+ id = wx.Window.NewControlId()
+ b = wx.Button(self.frame, id, 'button')
+ b.Destroy()