Files
guru/dev-python/pywebview/pywebview-5.1-r2.ebuild
T

36 lines
823 B
Bash
Raw Normal View History

2025-02-04 21:25:26 +09:00
# Copyright 2020-2025 Gentoo Authors
2023-12-16 23:19:18 +01:00
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
2025-05-01 14:12:01 -04:00
PYTHON_COMPAT=( python3_{11..12} )
2023-12-16 23:19:18 +01:00
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 )"
2023-12-16 23:19:18 +01:00
RDEPEND="
dev-python/bottle[${PYTHON_USEDEP}]
dev-python/cryptography[${PYTHON_USEDEP}]
dev-python/proxy_tools[${PYTHON_USEDEP}]
2023-12-16 23:19:18 +01:00
gtk? (
dev-python/pygobject[cairo,${PYTHON_USEDEP}]
net-libs/webkit-gtk
)
qt6? (
2025-02-04 21:25:26 +09:00
dev-python/pyside[${PYTHON_USEDEP},webengine]
2024-11-25 01:47:20 +05:00
dev-python/qtpy[${PYTHON_USEDEP},webengine]
2023-12-16 23:19:18 +01:00
)
"
distutils_enable_tests pytest
RESTRICT="test" # FIXME: tests fail without message