mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-09 20:30:33 -04:00
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c58e2344a965ca75077542de66f17a02089876f6 Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
37 lines
769 B
Bash
37 lines
769 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..13} )
|
|
|
|
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/pyside[${PYTHON_USEDEP},webengine]
|
|
dev-python/qtpy[${PYTHON_USEDEP},webengine]
|
|
)
|
|
"
|
|
|
|
distutils_enable_tests pytest
|
|
|
|
RESTRICT="test" # FIXME: tests fail without message
|