Summary: | [NEW PORT] x11-toolkits/py-wxPython40: GUI toolkit for the Python programming language | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Loïc Bartoletti <lbartoletti> |
Component: | Individual Port(s) | Assignee: | Loïc Bartoletti <lbartoletti> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | python |
Priority: | --- | Flags: | antoine:
exp-run+
|
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any | ||
URL: | http://www.wxpython.org | ||
See Also: | https://reviews.freebsd.org/D21915 | ||
Bug Depends on: | |||
Bug Blocks: | 241892 | ||
Attachments: |
Created attachment 211012 [details] wxPython 4.0.7, fix unicode for wxgtk30 use wxPython40 for python and wxgtk30 and fix some ports tested on 12amd64 Hi there I would like to ask for an exp-run to update (fix unicode) for x11-toolkits/wxgtk30 and the new port x11-toolkits/py-wxPython40. Since x11-toolkits/py-wxPython40 is the only wxPython to support py3 we want to use it for all ports which required wx python, so I also update Mk/bsd.wx.mk with x11-toolkits/py-wxPython40 for wxgtk30. The patch is attached, and can also be found from the review https://reviews.freebsd.org/D21915: https://reviews.freebsd.org/file/data/tg23u4touijdwistlxuk/PHID-FILE-tw2mvsjnymdbbj5xfzry/D21915.diff Thanks. Can you regenerate your patch with --show-copies-as-adds ? Created attachment 211098 [details]
wxPython 4.0.7, fix unicode for wxgtk30 use wxPython40 for python and wxgtk30 and fix some ports tested on 12amd64 (copies as adds)
(In reply to Antoine Brodin from comment #2) Done, https://bz-attachments.freebsd.org/attachment.cgi?id=211098 djvusmooth keeps using py-wxpython30, is this intended? py-wxpython40 fails to patch: http://package22.nyi.freebsd.org/data/113amd64-default-PR241624/2020-02-01_07h23m34s/logs/errors/py27-wxPython40-4.0.7.log Also, can you check if comms/congruity and graphics/py-mayavi can't be switched to USE_WX=3.0+ Created attachment 211336 [details]
wxPython 4.0.7, fix unicode for wxgtk30 use wxPython40 for python and wxgtk30 and fix some ports tested on 12amd64 (copies as adds)
- Update comms/congruity and graphics/py-mayavi to USE_WX=3.0+
- Replace LIB_DEPENDS to USE_WX for graphics/djvusmooth
(In reply to Antoine Brodin from comment #6) Mmm. It looks like that after my repo copy I force to remove useless patch ( patch-config.py ; patch-setup.py ; patch-src_gtk___gdi__wrap.cpp ; patch-src_gtk_propgrid__wrap.cpp ) and are not present in my diff. Created attachment 211356 [details]
wxPython40 for exp-run
I see 1 new failure: http://package18.nyi.freebsd.org/data/120amd64-default-PR243564/2020-02-08_20h22m34s/logs/errors/kicad-devel-r20200114194204.log Created attachment 211515 [details]
wxPython40 for exp-run
antoine@ here the patch with kicad-devel support
Exp-run looks fine. Don't forget to bump PORTREVISION of ports that will now depend on py-wxPython40 (In reply to Antoine Brodin from comment #13) Thanks for the exp-run A commit references this bug: Author: lbartoletti Date: Sat Feb 29 18:24:24 UTC 2020 New revision: 527449 URL: https://svnweb.freebsd.org/changeset/ports/527449 Log: x11-toolkits/py-wxPython40: GUI toolkit for the Python programming language py-wxPython40 aka Phoenix is a reborn of wxPython and in particular it allows to use wxWidgets with Python3. - Add x11-toolkits/py-wxPython40 - Replace wxPython30 by wxPython40 when python wxWidgets is required - Fix cad/kicad and cad/kicad-devel to use wxPython40 "Phoenix" - Update comms/congruity, graphics/py-mayavi from wx 2.8 to 3.0 - While I'm here fix portlint per emulators/playonbsd - Remove RUN_DEPENDS from USE_WX per graphics/djvusmooth - Bump portversion - Fix unicode on x11-toolkits/wxgtk30 and take Maintainer'ship PR: 241893 Reviewed by: koobs, tcberner Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D21915 Exp-run by: antoine Changes: head/Mk/bsd.wx.mk head/audio/py-karaoke/Makefile head/cad/kicad/Makefile head/cad/kicad-devel/Makefile head/comms/congruity/Makefile head/comms/gnuradio/Makefile head/comms/quisk/Makefile head/databases/grass7/Makefile head/devel/py-robotframework-ride/Makefile head/emulators/playonbsd/Makefile head/games/pyfa/Makefile head/graphics/djvusmooth/Makefile head/graphics/py-mayavi/Makefile head/graphics/sk1/Makefile head/misc/pyobd/Makefile head/multimedia/photofilmstrip/Makefile head/x11-toolkits/Makefile head/x11-toolkits/py-SquareMap/Makefile head/x11-toolkits/py-wxPython40/ head/x11-toolkits/py-wxPython40/Makefile head/x11-toolkits/py-wxPython40/distinfo head/x11-toolkits/py-wxPython40/files/patch-build.py head/x11-toolkits/py-wxPython40/files/patch-config.py head/x11-toolkits/py-wxPython40/files/patch-etg_propgridiface.py head/x11-toolkits/py-wxPython40/files/patch-setup.py head/x11-toolkits/py-wxPython40/files/patch-sip_cpp_sip__propgridwxPGPropArgCls.cpp head/x11-toolkits/py-wxPython40/files/patch-sip_gen_propgridiface.sip head/x11-toolkits/py-wxPython40/files/patch-src_gtk___gdi__wrap.cpp head/x11-toolkits/py-wxPython40/files/patch-src_gtk_propgrid__wrap.cpp head/x11-toolkits/wxgtk30/Makefile |
Created attachment 209070 [details] py-wxPython40 4.0.6 x11-toolkits/py-wxPython40: GUI toolkit for the Python programming language * New port * Patches to build with llvm * Don't use gcc if wxWidgets is built with llvm QA: * portlint: OK (1 unrevelant warning) * testport: OK (poudriere: 11, 12, 13, i386/amd64) * maketest: OK (demo tested, and used per databases/grass7)