I was attempting to compile KiCAD with python console support. In the process, it required to include a file wxPython/wxPython.h . In Gentoo linux, the corresponding file is supplied by dev-python/wxpython. I would guess FreeBSD's x11-toolkits/py-wxPython30 should supply the same file. However it is not the case. An alternative is that such file could come from x11-toolkits/wxgtk30, but at the moment neither package supplies this file.
I believe it's because wxPython30 is built with NO_HEADERS=1 flag. Would you rebuild and reinstall your x11-toolkits/py-wxPython30 with changing NO_HEADERS to 0 in port's Makefile? PYDISTUTILS_BUILDARGS= WX_CONFIG="${WX_CONFIG}" \ WXPORT="${WXPORT}" \ NO_HEADERS=1 \ <------ Change this to zero NO_SCRIPTS=1 \ INSTALL_MULTIVERSION=1
(In reply to Ruslan Makhmatkhanov from comment #1) Thanks. I confirm this change solved the issue. NO_HEADERS=0 made x11-toolkits/py-wxPython30 install wxPython.h
A commit references this bug: Author: rm Date: Fri Sep 23 09:01:31 UTC 2016 New revision: 422657 URL: https://svnweb.freebsd.org/changeset/ports/422657 Log: x11-toolkits/py-wxPython30: install header files These headers are required to build some ports. PR: 211310 Reported by: yuan.mei@gmail.com With hat: python Changes: head/x11-toolkits/py-wxPython30/Makefile
Fix committed, thanks for reporting.