commit python-wxPython for openSUSE:Factory
Hello community, here is the log from the commit of package python-wxPython for openSUSE:Factory checked in at 2020-10-02 17:16:31 Comparing /work/SRC/openSUSE:Factory/python-wxPython (Old) and /work/SRC/openSUSE:Factory/.python-wxPython.new.4249 (New) Package is "python-wxPython" Fri Oct 2 17:16:31 2020 rev:9 rq:838865 version:4.1.0 Changes: --- /work/SRC/openSUSE:Factory/python-wxPython/python-wxPython.changes 2020-08-06 17:32:54.417105432 +0200 +++ /work/SRC/openSUSE:Factory/.python-wxPython.new.4249/python-wxPython.changes 2020-10-02 17:16:49.354109919 +0200 @@ -1,0 +2,7 @@ +Wed Sep 30 17:48:02 UTC 2020 - Stefan Brüns + +- Use system wxWidgets (wxGTK3) instead of bundling +- Cleanup test dependencies and check section (tests still disabled + due to too many failures) + +--- Other differences: -- ++ python-wxPython.spec ++ --- /var/tmp/diff_new_pack.JfTN5J/_old 2020-10-02 17:16:51.398110008 +0200 +++ /var/tmp/diff_new_pack.JfTN5J/_new 2020-10-02 17:16:51.402110007 +0200 @@ -21,7 +21,7 @@ %define oldpython python %define X_display ":98" %bcond_with test -%bcond_with syswx +%bcond_without syswx %if %{with syswx} %define wx_args --use_syswx --gtk3 -v %else @@ -32,6 +32,7 @@ Release:0 Summary:The "Phoenix" variant of the wxWidgets Python bindings License:GPL-2.0-or-later +Group: System/Libraries URL:https://github.com/wxWidgets/Phoenix Source: https://files.pythonhosted.org/packages/source/w/wxPython/wxPython-%{version}.tar.gz Source1:python-wxPython-rpmlintrc @@ -52,12 +53,8 @@ BuildRequires: fdupes BuildRequires: pkgconfig BuildRequires: python-rpm-macros -%if %{with test} -BuildRequires: xorg-x11-server -BuildRequires: pkgconfig(cppunit) -%endif %if %{with syswx} -BuildRequires: wxGTK3-devel +BuildRequires: wxGTK3-devel >= 3.1.4 %else BuildRequires: freeglut-devel BuildRequires: gstreamer-plugins-base-devel @@ -82,9 +79,15 @@ Conflicts: python-wxWidgets Provides: python-wxWidgets = %{version} %if %{with test} +BuildRequires: %{python_module numpy} BuildRequires: %{python_module pytest-xdist} BuildRequires: %{python_module pytest} BuildRequires: %{python_module six} +# Need at least one font installed +BuildRequires: google-opensans-fonts +BuildRequires: wxWidgets-lang +BuildRequires: xorg-x11-server +BuildRequires: pkgconfig(cppunit) %endif %ifpython2 Conflicts: %{oldpython}-wxWidgets @@ -103,6 +106,7 @@ %package lang # We cannot use %%lang_package here. Editra translations use noarch incompatible path. Summary:Languages for package %{name} +Group: System/Libraries Requires: %{name} = %{version} Requires: python-base Supplements:(bundle-lang-other and %{name}) @@ -112,12 +116,7 @@ Provides translations to the package %{name}. %prep -%setup -q -n wxPython-%{version} -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 +%autosetup -n wxPython-%{version} -p1 sed -i -e '/^#!\//, 1d' wx/py/*.py sed -i -e '/^#!\//, 1d' wx/tools/*.py sed -i -e '/^#!\//, 1d' wx/py/tests/*.py @@ -145,23 +144,28 @@ %python_clone -a %{buildroot}%{_bindir}/wxdocs %python_clone -a %{buildroot}%{_bindir}/wxget -%if %{with test} %check +%if %{with test} # ### Launch a virtual framebuffer X server ### # export DISPLAY=%{X_display} Xvfb %{X_display} >& Xvfb.log & trap "kill $! || true" EXIT -sleep 10 - -rm -r build -rm -r _build* +sleep 5 +# Make sure "import wx" does not confuse the wx dir with the module mv wx wx_temp -%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch} -$python -B build.py test %{wx_args} -} + +# Run each test as a separate process, otherwise multiple app +# instances will corrupt each others static data +# Run UiAction tests one by one +%pytest_arch --forked -n 1 -k 'test_uiaction or test_mousemanager' unittests/ +# Skip Auto ID management test (only enabled on Windows) +# Skip Frame restore (requires a window manager) +# Skip UiAction tests (already done) +%pytest_arch --forked -n auto -k '(not test_newIdRef03) and (not test_uiaction) and (not test_mousemanager) and (not test_frameRestore)' unittests/ + mv wx_temp wx %endif @@ -172,8 +176,8 @@ %python_uninstall_alternative pywxrc %files %{python_files} -%license LICENSE.txt -%doc CHANGES.rst README.rst TODO.rst license/*.txt +%license LICENSE.txt license/*.txt +%doc CHANGES.rst README.rst TODO.rst %python_alternative %{_bindir}/helpviewer %python_alternative %{_bindir}/img2png %python_alternative
commit python-wxPython for openSUSE:Factory
Hello community, here is the log from the commit of package python-wxPython for openSUSE:Factory checked in at 2020-08-06 17:32:14 Comparing /work/SRC/openSUSE:Factory/python-wxPython (Old) and /work/SRC/openSUSE:Factory/.python-wxPython.new.3399 (New) Package is "python-wxPython" Thu Aug 6 17:32:14 2020 rev:8 rq:824391 version:4.1.0 Changes: --- /work/SRC/openSUSE:Factory/python-wxPython/python-wxPython.changes 2020-06-26 21:44:07.293577214 +0200 +++ /work/SRC/openSUSE:Factory/.python-wxPython.new.3399/python-wxPython.changes 2020-08-06 17:32:54.417105432 +0200 @@ -1,0 +2,11 @@ +Wed Jul 1 12:55:23 UTC 2020 - Stefan Brüns + +- Wrap all relevant build dependencies when building with system + wxWidgets library. +- Add patches to allow building with STL variant of wxGTK: + * 0001-Fix-conversion-of-variant-list-members.patch + * use_stl_build.patch + * 0001-Fix-wxUIActionSimulator-Text-parameter-documentation.patch + * 0003-Use-explicit-wxString-c_str-conversion-for-sipFindTy.patch + +--- New: 0001-Fix-conversion-of-variant-list-members.patch 0001-Fix-wxUIActionSimulator-Text-parameter-documentation.patch 0003-Use-explicit-wxString-c_str-conversion-for-sipFindTy.patch use_stl_build.patch Other differences: -- ++ python-wxPython.spec ++ --- /var/tmp/diff_new_pack.hP8NHV/_old 2020-08-06 17:32:56.577105937 +0200 +++ /var/tmp/diff_new_pack.hP8NHV/_new 2020-08-06 17:32:56.577105937 +0200 @@ -37,19 +37,31 @@ Source1:python-wxPython-rpmlintrc # PATCH-FIX-OPENSUSE fix_no_return_in_nonvoid.patch -- Fix lack of return in nonvoid functions Patch0: fix_no_return_in_nonvoid.patch +# PATCH-FIX-OPENSUSE +Patch1: use_stl_build.patch +# PATCH-FIX-UPSTREAM -- patch for bundled wxWidgets +Patch2: 0001-Fix-conversion-of-variant-list-members.patch +# PATCH-FIX-UPSTREAM +Patch3: 0001-Fix-wxUIActionSimulator-Text-parameter-documentation.patch +# PATCH-FIX-UPSTREAM +Patch4: 0003-Use-explicit-wxString-c_str-conversion-for-sipFindTy.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module requests} BuildRequires: %{python_module setuptools} BuildRequires: c++_compiler -BuildRequires: doxygen BuildRequires: fdupes -BuildRequires: freeglut-devel -BuildRequires: gstreamer-plugins-base-devel -BuildRequires: libjbig-devel BuildRequires: pkgconfig BuildRequires: python-rpm-macros +%if %{with test} BuildRequires: xorg-x11-server BuildRequires: pkgconfig(cppunit) +%endif +%if %{with syswx} +BuildRequires: wxGTK3-devel +%else +BuildRequires: freeglut-devel +BuildRequires: gstreamer-plugins-base-devel +BuildRequires: libjbig-devel BuildRequires: pkgconfig(gstreamer-1.0) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(libjpeg) @@ -63,6 +75,7 @@ BuildRequires: pkgconfig(webkit2gtk-4.0) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xtst) +%endif Requires: python-six Requires(post): update-alternatives Requires(postun): update-alternatives @@ -101,6 +114,10 @@ %prep %setup -q -n wxPython-%{version} %patch0 -p1 +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 +%patch4 -p1 sed -i -e '/^#!\//, 1d' wx/py/*.py sed -i -e '/^#!\//, 1d' wx/tools/*.py sed -i -e '/^#!\//, 1d' wx/py/tests/*.py ++ 0001-Fix-conversion-of-variant-list-members.patch ++ >From 0c055a0af876d4f44ebe04ebb744dfc88b2243ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Br=C3=BCns?= Date: Sat, 30 May 2020 02:04:41 +0200 Subject: [PATCH 1/3] Fix conversion of variant list members Item() returns either a Node* or (with wxUSE_STL=1) a compatibility_iterator. While the former is silently and erroneously converted to a Variant using the Variant(void*) overload, the STL flavor fortunately failed. Dereference the Node*/iterator before passing it to wxVariant_out_helper(const Variant&). --- sip/cpp/sip_corewxVariantList.cpp | 2 +- sip/cpp/sip_propgridwxPGVariantList.cpp | 2 +- src/pgvariant.sip | 2 +- src/variant.sip | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sip/cpp/sip_corewxVariantList.cpp b/sip/cpp/sip_corewxVariantList.cpp index 0c9f0f4c..fe9be050 100644 --- a/sip/cpp/sip_corewxVariantList.cpp +++ b/sip/cpp/sip_corewxVariantList.cpp @@ -84,7 +84,7 @@ static PyObject *convertFrom_wxVariantList(void *sipCppV, PyObject *) size_t idx = 0; PyObject* value = PyList_New(0); for (idx=0; idx < sipCpp->GetCount(); idx++) { -PyObject* item = wxVariant_out_helper(sipCpp->Item(idx)); +PyObject* item =
commit python-wxPython for openSUSE:Factory
Hello community, here is the log from the commit of package python-wxPython for openSUSE:Factory checked in at 2020-06-26 21:44:02 Comparing /work/SRC/openSUSE:Factory/python-wxPython (Old) and /work/SRC/openSUSE:Factory/.python-wxPython.new.3060 (New) Package is "python-wxPython" Fri Jun 26 21:44:02 2020 rev:7 rq:816646 version:4.1.0 Changes: --- /work/SRC/openSUSE:Factory/python-wxPython/python-wxPython.changes 2020-06-03 20:30:02.264720393 +0200 +++ /work/SRC/openSUSE:Factory/.python-wxPython.new.3060/python-wxPython.changes 2020-06-26 21:44:07.293577214 +0200 @@ -1,0 +2,6 @@ +Fri May 29 22:21:35 UTC 2020 - Stefan Brüns + +- Add explicit libXtst build dependency, required for Leap 15.1 + (already implicit on Leap 15.2 and TW). + +--- Other differences: -- ++ python-wxPython.spec ++ --- /var/tmp/diff_new_pack.EY5Bhq/_old 2020-06-26 21:44:09.969585780 +0200 +++ /var/tmp/diff_new_pack.EY5Bhq/_new 2020-06-26 21:44:09.973585792 +0200 @@ -62,6 +62,7 @@ BuildRequires: pkgconfig(sm) BuildRequires: pkgconfig(webkit2gtk-4.0) BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(xtst) Requires: python-six Requires(post): update-alternatives Requires(postun): update-alternatives
commit python-wxPython for openSUSE:Factory
Hello community, here is the log from the commit of package python-wxPython for openSUSE:Factory checked in at 2020-06-03 20:29:51 Comparing /work/SRC/openSUSE:Factory/python-wxPython (Old) and /work/SRC/openSUSE:Factory/.python-wxPython.new.3606 (New) Package is "python-wxPython" Wed Jun 3 20:29:51 2020 rev:6 rq:807828 version:4.1.0 Changes: --- /work/SRC/openSUSE:Factory/python-wxPython/python-wxPython.changes 2020-03-05 23:17:44.445158878 +0100 +++ /work/SRC/openSUSE:Factory/.python-wxPython.new.3606/python-wxPython.changes 2020-06-03 20:30:02.264720393 +0200 @@ -1,0 +2,62 @@ +Tue Apr 28 09:01:51 UTC 2020 - Guillaume GARDET + +- Update to 4.1.0: + * Add a sample for wx.Font.AddPrivateFont to the demo. + * Added wrappers for the OSXEnableAutomaticQuoteSubstitution, +OSXEnableAutomaticDashSubstitution, and OSXDisableAllSmartSubstitutions +methods in wx.TextCtrl. Also added OSXEnableAutomaticTabbing in wx.App. + * Added wx.ColourDialogEvent, wx.DCTextBgColourChanger, wx.DCTextBgModeChanger, +wx.grid.GridCellDateRenderer, wx.grid.GridCellDateEditor, wx.SystemAppearance, etc. + * Many of the deprecated items in wxWidgets and wxPython are being or have +been removed. Be sure to test your code in a recent 4.0.x release with +warnings enabled so you can see which class, method or function calls +you need to change. + * Bug fixes in wx.lib.calendar: key navigation across month boundaries is +now possible; key navigation now sets the date and fires the EVT_CALENDAR event; +setter APIs now set the date correctly #1230. + * Switch to using a wx.Overlay in the Widget Inspection Tool to highlight +widgets when running on a GTK3 port. + * Fixed issue in wx.lib.agw.customtreectrl where the label editor could +remain stuck forever #1235. + * Grafted on a EnableSystemTheme method to the classes which support it. +This can be used to disable the default system theme on Windows for native +widgets like wx.ListCtrl, wx.TreeCtrl and wx.dataview.DataViewCtrl. +It has no effect on the other platforms. + * The wx.WS_EX_VALIDATE_RECURSIVELY extended style flag is obsolete, +as it is now the default (and only) behavior. The style flag has been added +back into wxPython for compatibility, but with a zero value. You can just +stop using it in your code with no change in behavior. #1278 + * Fix a sometimes crash when using a wx.Overlay by letting the wx.DCOverlay +hold a reference to the DC, to ensure that the DCOverlay is destroyed first. PR#1301 + * Replaced the Vagrant VMs used for building wxPython for various Linux distros +with Docker images. + * Add some missing methods in wx.adv.BitmapComboBox #1307 + * Added the wx.svg package which contains code for parsing SVG +(Scalable Vector Graphics) files, and also code for integrating with +wxPython. It can rasterize the SVG to a wx.Bitmap of any size with no +loss of quality, and it can also render the SVG directly to a +wx.GraphicsContext using the GC's drawing primitives. PR#1323 + * Ported the embedding sample from Classic, which shows how to use wxPython +from a C++ wxWidgets application that embeds Python. PR#1353 + * Fixed wx.GetApp() to use wxWidgets' global wxApp instance instead of +maintaining its own pointer. This way, if the wxApp is created by C++ +code wxPython will still be able to get access to it. #1126 + * Added wrappers for the wx.ActivityIndicator class. + * Added wrappers for the wx.CollapsibleHeaderCtrl class. + * Fixed issues in PlotCanvas around displaying and using scrollbars. #1428 + * Added wx.msw.CHMHelpController, and also a wx.HelpController factory function +that creates an instance of the best Help Controller for the platform. #1536 + * Added wx.adv.GenericAnimationCtrl so the generic version of the animation +classes can be used even on the platforms that have a native version. +Note that due to internal changes to support both types of animations, +some API changes in how the Animation objects are created. See the +AnimationCtrl.py sample in the demo for the various usage patterns #1579 + * Added wrappers for the wx.grid.GridBlockCoords, wx.grid.GridBlocks, and +wx.grid.GridBlockDiffResult classes, as well as associated new methods +in the wx.grid.Grid class. These provide a new way to interact with blocks +of selected cells, including an iterator interface in wx.grid.GridBlocks +which should be a more efficient (time and memory) way to process large +groups of selections. +- Disable Python2 + +--- Old: wxPython-4.0.7.post2.tar.gz New: wxPython-4.1.0.tar.gz
commit python-wxPython for openSUSE:Factory
Hello community, here is the log from the commit of package python-wxPython for openSUSE:Factory checked in at 2020-03-05 23:17:31 Comparing /work/SRC/openSUSE:Factory/python-wxPython (Old) and /work/SRC/openSUSE:Factory/.python-wxPython.new.26092 (New) Package is "python-wxPython" Thu Mar 5 23:17:31 2020 rev:5 rq:781058 version:4.0.7.post2 Changes: --- /work/SRC/openSUSE:Factory/python-wxPython/python-wxPython.changes 2019-11-25 11:23:08.918118131 +0100 +++ /work/SRC/openSUSE:Factory/.python-wxPython.new.26092/python-wxPython.changes 2020-03-05 23:17:44.445158878 +0100 @@ -1,0 +2,7 @@ +Mon Mar 2 12:41:31 UTC 2020 - Tomáš Chvátal + +- Update to 4.0.7.post2: + * Bugfix to switch to AVFoundation instead of QTKit +- Fix building with new glut (pc file changed) + +--- Old: wxPython-4.0.7.post1.tar.gz New: wxPython-4.0.7.post2.tar.gz Other differences: -- ++ python-wxPython.spec ++ --- /var/tmp/diff_new_pack.aVpMQc/_old 2020-03-05 23:17:48.369161099 +0100 +++ /var/tmp/diff_new_pack.aVpMQc/_new 2020-03-05 23:17:48.377161103 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-wxPython # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,11 +27,10 @@ %define wx_args --gtk3 -v %endif Name: python-wxPython -Version:4.0.7.post1 +Version:4.0.7.post2 Release:0 Summary:The "Phoenix" variant of the wxWidgets Python bindings License:GPL-2.0-or-later -Group: Development/Languages/Python URL:https://github.com/wxWidgets/Phoenix Source: https://files.pythonhosted.org/packages/source/w/wxPython/wxPython-%{version}.tar.gz Source1:python-wxPython-rpmlintrc @@ -43,13 +42,13 @@ BuildRequires: c++_compiler BuildRequires: doxygen BuildRequires: fdupes +BuildRequires: freeglut-devel BuildRequires: gstreamer-plugins-base-devel BuildRequires: libjbig-devel BuildRequires: pkgconfig BuildRequires: python-rpm-macros BuildRequires: xorg-x11-server BuildRequires: pkgconfig(cppunit) -BuildRequires: pkgconfig(freeglut) BuildRequires: pkgconfig(gstreamer-1.0) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(libjpeg) @@ -76,7 +75,6 @@ Conflicts: %{oldpython}-wxWidgets Provides: %{oldpython}-wxWidgets = %{version} %endif - %python_subpackages %description @@ -90,10 +88,9 @@ %package lang # We cannot use %%lang_package here. Editra translations use noarch incompatible path. Summary:Languages for package %{name} -Group: System/Localization Requires: %{name} = %{version} Requires: python-base -Supplements:packageand(bundle-lang-other:%{name}) +Supplements:(bundle-lang-other and %{name}) Provides: %{name}-lang-all = %{version} %description lang ++ wxPython-4.0.7.post1.tar.gz -> wxPython-4.0.7.post2.tar.gz ++ /work/SRC/openSUSE:Factory/python-wxPython/wxPython-4.0.7.post1.tar.gz /work/SRC/openSUSE:Factory/.python-wxPython.new.26092/wxPython-4.0.7.post2.tar.gz differ: char 5, line 1
commit python-wxPython for openSUSE:Factory
Hello community, here is the log from the commit of package python-wxPython for openSUSE:Factory checked in at 2019-11-25 11:23:03 Comparing /work/SRC/openSUSE:Factory/python-wxPython (Old) and /work/SRC/openSUSE:Factory/.python-wxPython.new.26869 (New) Package is "python-wxPython" Mon Nov 25 11:23:03 2019 rev:4 rq:750190 version:4.0.7.post1 Changes: --- /work/SRC/openSUSE:Factory/python-wxPython/python-wxPython.changes 2019-02-08 12:15:25.821423724 +0100 +++ /work/SRC/openSUSE:Factory/.python-wxPython.new.26869/python-wxPython.changes 2019-11-25 11:23:08.918118131 +0100 @@ -1,0 +2,50 @@ +Tue Nov 12 04:15:41 UTC 2019 - Steve Kowalik + +- Update to 4.0.7.post1 + * This post-release just fixes a problem with the numpy dependency constraint +for Python 2.7. (#1415) + * Bug fixes in wx.lib.calendar: key navigation across month boundaries is +now possible; key navigation now sets the date and fires the EVT_CALENDAR +event; setter APIs now set the date correctly (#1230). + * Switch to using a wx.Overlay in the Widget Inspection Tool to highlight +widgets when running on a GTK3 port. + * Fixed issue in wx.lib.agw.customtreectrl where label editor could remain +stuck forever (#1235). + * Fix a sometimes crash when using a wx.Overlay by letting the wx.DCOverlay +hold a reference to the DC, to ensure that the DCOverlay is destroyed +first. (PR#1301) + * Ported the embedding sample from Classic, which shows how to use wxPython +from a C++ wxWidgets application that embeds Python. (PR #1353) + * Fixed wx.GetApp() to use wxWidgets' global wxApp instance instead of +maintaining its own pointer. This way, if the wxApp is created by C++ code +wxPython will still be able to get access to it. (#1126) + * Several other PRs have been backported from the master branch (which will +become wxPython 4.1.0), the full list can be seen here: +https://github.com/wxWidgets/Phoenix/pull/1357 + * Fixed a probably rare, but fatal bug on OSX when calling certain overloaded +virtual methods with implementations in Python. + * Fixed char pointers in generated stub code to have a valid pointer value. + * Reverted the change that loads up install_requires from the contents of +requirements.txt. Split the requirements.txt file into one for install and +one for development. + * Added missing HtmlWindow.ScrollToAnchor method, and also a couple methods +in HtmlCell too. (#1141) + * Added missing setters for the wheel-related properties in wx.MouseEvent. +(#1140) + * Updated wxWidgets commit reference, bringing fixes for #1140, #1086 and +#1147. + * Fix the use of the output parameter in HtmlWindow.OnOpeningURL the same +way it was fixed in HtmlWindowInterface.OnHTMLOpeningURL. (#1068) + * Fixed a crashing bug when using a member of a transient wx.VisualAttributes +object. Also set the attributes to be read-only to simplify the fix. +(#1198). + * Updated the sip being used in wxPython builds to version 4.19.16. + * Added helper functions to check results of wxWidgets configure during the +build of wxPython. Currently used to determine if the wx webview, glcanvas, +and media libraries should be added to the link command. (#1138) + * Fixed scrollbar issue with ListCtrlAutoWidthMixin (#1215) + * Fixed file access in the wx.py and wx.tools.pywxrc packages to be Python 2 +and 3 compatible. (#1193, #1156) + * Fixes for building with Python 3.8 on Linux. (#1227) + +--- Old: wxPython-4.0.4.tar.gz New: wxPython-4.0.7.post1.tar.gz Other differences: -- ++ python-wxPython.spec ++ --- /var/tmp/diff_new_pack.5Ccq1X/_old 2019-11-25 11:23:12.018117577 +0100 +++ /var/tmp/diff_new_pack.5Ccq1X/_new 2019-11-25 11:23:12.022117577 +0100 @@ -27,7 +27,7 @@ %define wx_args --gtk3 -v %endif Name: python-wxPython -Version:4.0.4 +Version:4.0.7.post1 Release:0 Summary:The "Phoenix" variant of the wxWidgets Python bindings License:GPL-2.0-or-later
commit python-wxPython for openSUSE:Factory
Hello community, here is the log from the commit of package python-wxPython for openSUSE:Factory checked in at 2019-02-08 12:15:22 Comparing /work/SRC/openSUSE:Factory/python-wxPython (Old) and /work/SRC/openSUSE:Factory/.python-wxPython.new.28833 (New) Package is "python-wxPython" Fri Feb 8 12:15:22 2019 rev:3 rq:672553 version:4.0.4 Changes: --- /work/SRC/openSUSE:Factory/python-wxPython/python-wxPython.changes 2018-06-19 11:57:35.043575584 +0200 +++ /work/SRC/openSUSE:Factory/.python-wxPython.new.28833/python-wxPython.changes 2019-02-08 12:15:25.821423724 +0100 @@ -1,0 +2,194 @@ +Thu Feb 7 18:42:42 UTC 2019 - Todd R + +- Update to 4.0.4 + * Fixed an issue where wx.lib.intctrl would erroneously attempt to use long +on Python3. (#898) + * Include the MSVC runtime DLLs for Python 3.7 builds too. + * Clear LIBPATH_PYEXT and LIB_PYEXT for linux builds too. (#904) + * Added a dependency on the Pillow package since it's used in some wx.lib.agw +modules. (PR #908) + * Add flag to hide page in wx.lib.agw.aui.notebook. (#895) + * Switch wx.lib.plot to issue deprecation warnings with PlotPendingDeprecation +so it doesn't have to enable all warnings to get them to be shown by default. +(#902) + * Added a Python 3.7 builder on Fedora 28. (#925) + * Fix the object ownership transfer for wx.Menu.Insert() (#931) + * Added wx.Treebook.GetTreeCtrl, wx.Listbook.GetListView and +wx.Choicebook.GetChoiceCtrl. (#918) + * Removed the wx.BookCtrlBase.RemovePage workaround as it was causing problems +and doesn't seem to be necessary any more. The existing wxWidgets assertions +are catching the out of range error just fine, however if wxWidgets was built +without the debug helpers turned on then it could still cause a crash. (#888) + * Reverted the changes which removed the content of the wx.lib.pubsub package +and encouraged users to switch to the real PyPubSub package instead. Removing +it caused more issues than were expected so it has been restored and the code +updated to PyPubSub v3.3.0. Version 4.0.0 is available upstream, but it is not +compatible with Python 2.7. Now, wx.lib.pubsub is actually deprecated instead +of just trying to pass control over to the upstream PyPubSub library. (#932) + * Improve calltip stability in pyshell. (#941) + * Fix TypeError in wx.lib.throbber. (#924) + * Fix missing parameter tool_id in +wx.lib.agw.ribbon.toolbar.RibbonToolBar.AddToggleTool. (#947) + * Add a step to wx.Config.ReadInt to attempt converting from long to int +under python2. (#384) + * Add virtual behavior for wx.RichTextCtrl and wx.TextCtrl's Copy/Cut/Paste methods +and their Can* counterparts. (#954) + * Fix IO type in wx.lib.agw.thumbnailctrl (#959) + * Fix type error that would occur using pycolourchooser. (#957) + * Optimize line drawing in HyperTreeList. (#973) + * Add wrapper for wx.StaticBox.GetBordersForSizer and use it in the demo to do +platform-specific layout of the items in the StaticBox. (#974) + * Update wx.Point, wx.RealPoint, and wx.Size to use floating +point arithmetic when conducting scalar multiplication (#971) + * Fix load/save bugs in PySlices (PR#978) + * Replace deprecated PIL.Image.tostring (PR#1005) + * Fix rendering and mouse sensitivity in UltimateListCtrl when adding HyperText +items. (#1010) + * Added a parameter to lib.agw.CustomTreeCtrl.SetItemWindow(), to allow +positioning the Window (a small image) on the left of text in a +CustomTreeItem. (#PR886). + * Declared DeleteAllPages in the notebook subclasses, so the proper C++ +implementation will be called. (#972) + * Removed wx.lib.floatbar, which has been deprecated forever and probably +hasn't been working in nearly as long. (#976) + * Updated SIP to version 4.19.13. + * Fix an issue in wx.lib.agw.aui.AuiManager where the orientation of +an AuiToolBar would not be updated when calling LoadPerspective. (#917) + * Fixed a bug in wx.FileSystemHandler.OpenFile where the object ownership was +not being transferred correctly, causing a crash after a premature object +deletion. (#926) + * Fixed wx.ListCtrl.Append when wx.LC_SORT style is used, so appending items out +of order does not lose the data for the remaining columns. (#906) + * Add wx.Accessible, it's Windows-only, will raise a NotImplementedError +exception on the other platforms. (#958) + * Added the ability to generate stub classes for use when optional wxWidgets +features are not part of the build. So far, stubs are available for +wx.Accessible, wx.FileSystemWatcher, wx.glcanvas, wx.media and wx.html2. + * Moved the wxpy_api.h file into the wx package at wx/include/wxPython so it +will be included in the wheel file. (#961) + * Fixed how
commit python-wxPython for openSUSE:Factory
Hello community, here is the log from the commit of package python-wxPython for openSUSE:Factory checked in at 2018-06-19 11:57:28 Comparing /work/SRC/openSUSE:Factory/python-wxPython (Old) and /work/SRC/openSUSE:Factory/.python-wxPython.new (New) Package is "python-wxPython" Tue Jun 19 11:57:28 2018 rev:2 rq:616404 version:4.0.1 Changes: --- /work/SRC/openSUSE:Factory/python-wxPython/python-wxPython.changes 2018-05-29 10:30:28.896477116 +0200 +++ /work/SRC/openSUSE:Factory/.python-wxPython.new/python-wxPython.changes 2018-06-19 11:57:35.043575584 +0200 @@ -1,0 +2,14 @@ +Wed Jun 13 03:42:38 UTC 2018 - toddrme2...@gmail.com + +- Add fix_no_return_in_nonvoid.patch + Fix lack of return in non-void function issue in generated sip + bindings. + +--- +Mon Jun 4 09:11:22 UTC 2018 - p...@cervinka.net + +- Move "wx/*.so" libraries to main package, remove devel package (boo#1095747) +- Add rpmlintrc file to filter devel-file-in-non-devel-package +- Apply spec-cleaner + +--- New: fix_no_return_in_nonvoid.patch python-wxPython-rpmlintrc Other differences: -- ++ python-wxPython.spec ++ --- /var/tmp/diff_new_pack.PWrQFy/_old 2018-06-19 11:57:36.787510830 +0200 +++ /var/tmp/diff_new_pack.PWrQFy/_new 2018-06-19 11:57:36.787510830 +0200 @@ -13,21 +13,30 @@ # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_with test -%bcond_with syswx %define oldpython python %define X_display ":98" +%bcond_with test +%bcond_with syswx +%if %{with syswx} +%define wx_args --use_syswx --gtk3 -v +%else +%define wx_args --gtk3 -v +%endif Name: python-wxPython Version:4.0.1 Release:0 -License:GPL-2.0+ Summary:The "Phoenix" variant of the wxWidgets Python bindings -Url:https://github.com/wxWidgets/Phoenix +License:GPL-2.0-or-later Group: Development/Languages/Python +URL:https://github.com/wxWidgets/Phoenix Source: https://files.pythonhosted.org/packages/source/w/wxPython/wxPython-%{version}.tar.gz +Source1:python-wxPython-rpmlintrc +# PATCH-FIX-OPENSUSE fix_no_return_in_nonvoid.patch -- Fix lack of return in nonvoid functions +Patch0: fix_no_return_in_nonvoid.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module requests} BuildRequires: %{python_module setuptools} @@ -36,6 +45,9 @@ BuildRequires: fdupes BuildRequires: gstreamer-plugins-base-devel BuildRequires: libjbig-devel +BuildRequires: pkgconfig +BuildRequires: python-rpm-macros +BuildRequires: xorg-x11-server BuildRequires: pkgconfig(cppunit) BuildRequires: pkgconfig(freeglut) BuildRequires: pkgconfig(gstreamer-1.0) @@ -50,29 +62,21 @@ BuildRequires: pkgconfig(sm) BuildRequires: pkgconfig(webkit2gtk-4.0) BuildRequires: pkgconfig(x11) -BuildRequires: python-rpm-macros -BuildRequires: xorg-x11-server +Requires: python-six +Requires(post): update-alternatives +Requires(postun): update-alternatives +Conflicts: python-wxWidgets +Provides: python-wxWidgets = %{version} %if %{with test} -BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest-xdist} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module six} %endif -Requires: python-six %ifpython2 -Provides: %{oldpython}-wxWidgets = %version -Conflicts: otherproviders(%{oldpython}-wxWidgets) -%endif -Provides: python-wxWidgets = %version -Conflicts: otherproviders(python-wxWidgets) -Requires(post): update-alternatives -Requires(postun): update-alternatives -%if %{with syswx} -%define wx_args --use_syswx --gtk3 -v -%else -%define wx_args --gtk3 -v +Conflicts: %{oldpython}-wxWidgets +Provides: %{oldpython}-wxWidgets = %{version} %endif - %python_subpackages %description @@ -89,40 +93,15 @@ Group: System/Localization Requires: %{name} = %{version} Requires: python-base -Provides: %{name}-lang-all = %{version} Supplements:packageand(bundle-lang-other:%{name}) +Provides: %{name}-lang-all = %{version} %description lang Provides translations to the package %{name}. -%package devel -Summary:Development files for %{name} -Group: System/Localization -Requires: %{name} = %{version} -Requires: python-devel -Requires: c++_compiler -Requires: gstreamer-plugins-base-devel -Requires: libjbig-devel -Requires: