Install this version:
emerge -a =dev-python/pyvistaqt-0.13.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/pyvistaqt-0.13.0
Or alternatively:
emerge --autounmask-write -a =dev-python/pyvistaqt-0.13.0
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )
DISTUTILS_SINGLE_IMPL=1
inherit distutils-r1 pypi virtualx
DESCRIPTION="Qt-based plotting GUI for PyVista (background plotter, scientific viewers)"
HOMEPAGE="
https://github.com/pyvista/pyvistaqt
https://pypi.org/project/pyvistaqt/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
RDEPEND="
>=dev-python/pyvista-0.43.7[${PYTHON_SINGLE_USEDEP}]
$(python_gen_cond_dep '
>=dev-python/qtpy-1.9.0[${PYTHON_USEDEP},opengl,widgets]
')
"
BDEPEND="
$(python_gen_cond_dep '
dev-python/setuptools-scm[${PYTHON_USEDEP}]
')
"
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
PATCHES=( "${FILESDIR}/${P}-no-refleak.patch" )
EPYTEST_PLUGINS=( pytest-cov pytest-qt )
EPYTEST_DESELECT=(
# VTK exits without a DRM renderer, even under Xvfb and software Mesa.
tests/test_plotting.py::test_depth_peeling
)
distutils_enable_tests pytest
src_test() {
virtx distutils-r1_src_test
}
python_test() {
# Match pytest-qt to QtPy's binding to avoid mixed-binding aborts.
local -x QT_API
QT_API=$("${EPYTHON}" -c 'import qtpy; print(qtpy.API)') || die
local -x PYTEST_QT_API=${QT_API}
epytest
}
>=dev-python/pyvista-0.43.7[${PYTHON_SINGLE_USEDEP}] $(python_gen_cond_dep ' >=dev-python/qtpy-1.9.0[${PYTHON_USEDEP},opengl,widgets] ')
$(python_gen_cond_dep ' dev-python/setuptools-scm[${PYTHON_USEDEP}] ')