Files
guru/dev-python/pywebview/pywebview-6.1.ebuild
T

38 lines
973 B
Bash
Raw Normal View History

2026-01-21 19:45:35 -03:00
# Copyright 2020-2026 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
2026-03-09 00:12:27 +01:00
PYTHON_COMPAT=( python3_{12..14} )
2023-12-16 23:19:18 +01:00
inherit distutils-r1 pypi
DESCRIPTION="A lightweight cross-platform wrapper around a webview component"
2026-01-21 19:45:35 -03:00
HOMEPAGE="https://pywebview.flowrl.com/ https://pypi.org/project/pywebview/ https://github.com/r0x0r/pywebview"
2023-12-16 23:19:18 +01:00
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
2026-01-21 19:45:35 -03:00
IUSE="+gtk qt6 ssl"
REQUIRED_USE="|| ( gtk qt6 )"
2023-12-16 23:19:18 +01:00
RDEPEND="
dev-python/bottle[${PYTHON_USEDEP}]
dev-python/proxy_tools[${PYTHON_USEDEP}]
2026-01-21 19:45:35 -03:00
dev-python/typing-extensions[${PYTHON_USEDEP}]
2023-12-16 23:19:18 +01:00
gtk? (
2026-01-21 19:45:35 -03:00
dev-python/pygobject:3[${PYTHON_USEDEP}]
2023-12-16 23:19:18 +01:00
net-libs/webkit-gtk
)
qt6? (
2026-01-21 19:45:35 -03:00
dev-python/pyqt6[${PYTHON_USEDEP}]
dev-python/pyqt6-webengine[${PYTHON_USEDEP}]
dev-python/qtpy[${PYTHON_USEDEP}]
2023-12-16 23:19:18 +01:00
)
2026-01-21 19:45:35 -03:00
ssl? ( dev-python/cryptography[${PYTHON_USEDEP}] )
2023-12-16 23:19:18 +01:00
"
distutils_enable_tests pytest
RESTRICT="test" # FIXME: tests fail without message