# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{11..13} ) PYPI_NO_NORMALIZE=1 PYPI_PN="wxPython" WX_GTK_VER="3.2-gtk3" inherit distutils-r1 multilib multiprocessing virtualx wxwidgets pypi DESCRIPTION="A blending of the wxWindows C++ class library with Python" HOMEPAGE=" https://www.wxpython.org/ https://github.com/wxWidgets/Phoenix/ https://pypi.org/project/wxPython/ " LICENSE="wxWinLL-3" SLOT="4.0" KEYWORDS="~alpha amd64 arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86" IUSE="test webkit" RESTRICT="!test? ( test )" # wxPython doesn't seem to be able to optionally disable features. webkit is # optionally patched out because it's so huge, but other elements are not, # which makes us have to require all features from wxGTK DEPEND=" >=x11-libs/wxGTK-3.2.7:${WX_GTK_VER}=[gstreamer,libnotify,opengl,sdl,tiff,webkit?,X] media-libs/libpng:= media-libs/tiff:= media-libs/libjpeg-turbo:= " RDEPEND=" ${DEPEND} " #