dev-python/pywebview: remove qt5, pyside2 is deprecated and no py3.12 support

Signed-off-by: Jens Mühlenhoff <j.muehlenhoff@gmx.de>
This commit is contained in:
Jens Mühlenhoff
2024-08-02 12:37:36 +02:00
parent f1d8421355
commit 0ea4f838ad
2 changed files with 4 additions and 12 deletions

View File

@@ -0,0 +1,36 @@
# Copyright 2020-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..11} )
inherit distutils-r1 pypi
DESCRIPTION="A lightweight cross-platform wrapper around a webview component"
HOMEPAGE="https://github.com/r0x0r/pywebview"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="gtk qt6"
REQUIRED_USE="|| ( gtk qt6 )"
RDEPEND="
dev-python/bottle
dev-python/cryptography
dev-python/proxy_tools
gtk? (
dev-python/pygobject[cairo,${PYTHON_USEDEP}]
net-libs/webkit-gtk
)
qt6? (
dev-python/pyside6[${PYTHON_USEDEP},webengine]
dev-python/QtPy[${PYTHON_USEDEP},webengine]
)
"
distutils_enable_tests pytest
RESTRICT="test" # FIXME: tests fail without message