[MacPorts] #58943: wxPython 4.0 (Phoenix)

MacPorts noreply at macports.org
Mon Sep 9 09:17:17 UTC 2019


#58943: wxPython 4.0 (Phoenix)
---------------------------+--------------------
  Reporter:  neurodroid    |      Owner:  (none)
      Type:  request       |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:
Resolution:                |   Keywords:
      Port:  wxPython-4.0  |
---------------------------+--------------------

Comment (by neurodroid):

 Replying to [comment:4 mojca]:
 > Last time I tried it did build out of the box, but not in the best way
 suitable for MacPorts. Whenever I tried to build it in MacPorts-friendly
 way, I got stuck.
 >
 > We should not use the built-in libraries like libjpeg, and ideally I
 would like to use a standalone version of wxWidgets rather than using the
 one that's built-in.
 >
 > I would need to check again. Are you able to figure out if it's somehow
 possible to use external wxWidgets & make sure that other dependencies
 also come from MacPorts rather than being built from provided sources?

 {{{
 wget
 https://files.pythonhosted.org/packages/9a/a1/9c081e04798eb134b63def3db121a6e4436e1d84e76692503deef8e75423/wxPython-4.0.6.tar.gz
 tar -xzf wxPython-4.0.6.tar.gz
 cd wxPython-4.0.6
 # replace wscript with the latest version from github - could be included
 in a patch
 wget https://raw.githubusercontent.com/wxWidgets/Phoenix/master/wscript
 # wx-config is not in the PATH by default if installed via MacPorts
 export
 PATH=${PATH}:/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/bin/
 python3.7 build.py --use_syswx build_py
 python3.7 demo/demo.py
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/58943#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list