Files
guru/dev-python/pywebview/pywebview-5.1-r1.ebuild
Eli Schwartz ec6fd88e1a dev-python/pywebview: disable py3.13
Partially reverts commit 1f6064e818.

This clearly, clearly, clearly wasn't tested. Its dependencies aren't
built or buildable for py3.13 so how could the author of that commit
have been able to run the package for that version?

Fixes: 1f6064e818
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
2025-05-01 14:12:01 -04:00

37 lines
823 B
Bash

# Copyright 2020-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..12} )
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[${PYTHON_USEDEP}]
dev-python/cryptography[${PYTHON_USEDEP}]
dev-python/proxy_tools[${PYTHON_USEDEP}]
gtk? (
dev-python/pygobject[cairo,${PYTHON_USEDEP}]
net-libs/webkit-gtk
)
qt6? (
dev-python/pyside[${PYTHON_USEDEP},webengine]
dev-python/qtpy[${PYTHON_USEDEP},webengine]
)
"
distutils_enable_tests pytest
RESTRICT="test" # FIXME: tests fail without message