python3-wxgtk4_4.2.3.bb 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. DESCRIPTION = "Python3 interface to the wxWidgets Cross-platform C++ GUI toolkit."
  2. HOMEPAGE = "https://www.wxpython.org"
  3. LICENSE = "LGPL-2.0-only & WXwindows & BSD-2-Clause"
  4. LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=102f37a0d23aa258e59e4cc8b5380b35"
  5. DEPENDS = "python3-attrdict3-native python3-six-native wxwidgets-native \
  6. python3-requests-native wxwidgets \
  7. "
  8. PYPI_PACKAGE = "wxPython"
  9. UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
  10. SRC_URI += "file://add-back-option-build-base.patch \
  11. file://wxgtk-fixup-build-scripts.patch \
  12. file://not-overwrite-cflags-cxxflags.patch \
  13. file://0001-sip-Conditionally-use-GetAssertStackTrace-under-USE_.patch \
  14. "
  15. SRC_URI[sha256sum] = "20d6e0c927e27ced85643719bd63e9f7fd501df6e9a8aab1489b039897fd7c01"
  16. S = "${UNPACKDIR}/wxPython-${PV}"
  17. inherit pypi setuptools3 pkgconfig features_check
  18. REQUIRED_DISTRO_FEATURES = "x11"
  19. export WX_CONFIG = "'${RECIPE_SYSROOT_NATIVE}${bindir}/wx-config --prefix=${STAGING_EXECPREFIXDIR} --baselib=${baselib}'"
  20. RDEPENDS:${PN} = "\
  21. python3-difflib \
  22. python3-image \
  23. python3-numpy \
  24. python3-pillow \
  25. python3-pip \
  26. python3-pprint \
  27. python3-pycairo \
  28. python3-six \
  29. python3-xml \
  30. python3-cairocffi \
  31. "