1DESCRIPTION = "Python3 interface to the wxWidgets Cross-platform C++ GUI toolkit."
2HOMEPAGE = "http://www.wxpython.org"
3
4LICENSE = "WXwindows"
5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fce1d18e2d633d41786c0a8dfbc80917"
6
7DEPENDS = "wxwidgets-native wxwidgets"
8
9PYPI_PACKAGE = "wxPython"
10
11SRC_URI += "file://add-back-option-build-base.patch \
12            file://wxgtk-fixup-build-scripts.patch \
13            file://sip-fix-override-functions.patch \
14            file://0001-Update-Cython-version-to-fix-NanoSVG-issues-with-Pyt.patch \
15            "
16SRC_URI[sha256sum] = "00e5e3180ac7f2852f342ad341d57c44e7e4326de0b550b9a5c4a8361b6c3528"
17
18S = "${WORKDIR}/wxPython-${PV}"
19
20inherit pypi setuptools3 pkgconfig features_check
21
22REQUIRED_DISTRO_FEATURES = "x11"
23
24export WX_CONFIG = "'${RECIPE_SYSROOT_NATIVE}${bindir}/wx-config --prefix=${STAGING_EXECPREFIXDIR} --baselib=${baselib}'"
25
26RDEPENDS:${PN} = "\
27    python3-difflib \
28    python3-image \
29    python3-numpy \
30    python3-pillow \
31    python3-pprint \
32    python3-pycairo \
33    python3-six \
34    python3-xml \
35"
36