Page MenuHomeFreeBSD

[WIP][NEW PORT] x11-toolkits/py-wxPython40
Needs ReviewPublic

Authored by on Sun, Oct 6, 6:51 PM.


Group Reviewers

py-wxPython40/Phoenix is a reborn of wxPython and in particular it allows to use wxWidgets with python3.

Introdcution from

Welcome to wxPython's Project Phoenix! Phoenix is the improved next-generation wxPython, "better, stronger, faster than he was before." This new implementation is focused on improving speed, maintainability and extensibility. Just like "Classic" wxPython, Phoenix wraps the wxWidgets C++ toolkit and provides access to the user interface portions of the wxWidgets API, enabling Python applications to have a native GUI on Windows, Macs or Unix systems, with a native look and feel and requiring very little (if any) platform specific code.

This is a first version of x11-toolkits/py-wxWidgets40 port. I only created the port, but I think that we need to modify also Mk/

Test Plan

For the moment, it compiles on my machine (12 amd64), but I have a library problem when I run programs: wxdemo, wxdocs, wxget:

lbartoletti@FreeBSD:~ % wxdemo
Traceback (most recent call last):

File "/usr/local/bin/wxdemo", line 11, in <module>
  load_entry_point('wxPython==4.0.6', 'console_scripts', 'wxdemo')()
File "/usr/local/lib/python3.6/site-packages/pkg_resources/", line 489, in load_entry_point
  return get_distribution(dist).load_entry_point(group, name)
File "/usr/local/lib/python3.6/site-packages/pkg_resources/", line 2852, in load_entry_point
  return ep.load()
File "/usr/local/lib/python3.6/site-packages/pkg_resources/", line 2443, in load
  return self.resolve()
File "/usr/local/lib/python3.6/site-packages/pkg_resources/", line 2449, in resolve
  module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/local/lib/python3.6/site-packages/wx/", line 17, in <module>
  from wx.core import *
File "/usr/local/lib/python3.6/site-packages/wx/", line 12, in <module>
  from ._core import *

ImportError: /usr/local/lib/python3.6/site-packages/wx/ Undefined symbol "_ZThn784_N9wxListBox13DoInsertItemsERK21wxArrayStringsAdapterjPPv16wxClientDataType"

Diff Detail

No Linters Available
No Unit Test Coverage
Build Status
Buildable 26901
Build 25212: arc lint + arc unit