commit: 67365ce1560d06e67e76d0d1ae5e1434249dd1a9 Author: tastytea <gentoo <AT> tastytea <DOT> de> AuthorDate: Tue May 23 12:45:07 2023 +0000 Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de> CommitDate: Tue May 23 12:45:07 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=67365ce1
dev-python/pywebview: add 4.1 Signed-off-by: tastytea <gentoo <AT> tastytea.de> dev-python/pywebview/Manifest | 1 + dev-python/pywebview/pywebview-4.1.ebuild | 37 +++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/dev-python/pywebview/Manifest b/dev-python/pywebview/Manifest index 3c663a01b..f4b5de7e2 100644 --- a/dev-python/pywebview/Manifest +++ b/dev-python/pywebview/Manifest @@ -1 +1,2 @@ DIST pywebview-3.7.2.tar.gz 440069 BLAKE2B 72a7b53ee72570f3ef0dc2c490f484dca02581490213708b6c45bb487b990d41ca64d477853454549c6cad3543f6381109a2fc54182bb14a720872b1fa240ed9 SHA512 943ce75a29f19b04890e8ae8f3327968b35ba347c8abab9079cfac5e9f93edfa0fbc3999d77a68bb7885d5a7236dc12c75b3a23e1cfbf2fc9fe794089a936db9 +DIST pywebview-4.1.tar.gz 30069532 BLAKE2B ca11bb04c4146204d379414fc6de0cd1e583c36feb126c859d8c8bb0e896bf5eb8de946943729e41d0c564c704d140baf765de2807aec0311348e97624c00f3a SHA512 5cca2912adda83043c86f4b1386c70583fa547424b10c19dc2bfc713407cd9001515844b820e2050962fe84373febfaab495f646c56ab1d48207b47f2c535208 diff --git a/dev-python/pywebview/pywebview-4.1.ebuild b/dev-python/pywebview/pywebview-4.1.ebuild new file mode 100644 index 000000000..3df2e37aa --- /dev/null +++ b/dev-python/pywebview/pywebview-4.1.ebuild @@ -0,0 +1,37 @@ +# 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 + +DESCRIPTION="A lightweight cross-platform wrapper around a webview component" +HOMEPAGE="https://github.com/r0x0r/pywebview" +SRC_URI="https://github.com/r0x0r/pywebview/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="gtk qt5" +REQUIRED_USE="|| ( gtk qt5 )" + +RDEPEND=" + dev-python/bottle + dev-python/cryptography + dev-python/proxy_tools + gtk? ( + dev-python/pygobject[cairo,${PYTHON_USEDEP}] + net-libs/webkit-gtk + ) + qt5? ( + dev-python/pyside2[${PYTHON_USEDEP},webengine] + dev-python/QtPy[${PYTHON_USEDEP},webengine] + ) +" + +distutils_enable_tests pytest + +RESTRICT="test" # FIXME: tests fail without message