commit: 8ab5edb52b62b16eab49fe5b21249ef55ac371a3 Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> AuthorDate: Wed Nov 8 09:32:12 2023 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> CommitDate: Wed Nov 8 09:35:40 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ab5edb5
dev-python/qdarkstyle: add 3.2 No keywords due to: https://github.com/ColinDuquesnoy/QDarkStyleSheet/issues/337 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> dev-python/qdarkstyle/Manifest | 1 + dev-python/qdarkstyle/qdarkstyle-3.2.ebuild | 44 +++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/dev-python/qdarkstyle/Manifest b/dev-python/qdarkstyle/Manifest index 96a5e8882808..d25371ae78f2 100644 --- a/dev-python/qdarkstyle/Manifest +++ b/dev-python/qdarkstyle/Manifest @@ -1 +1,2 @@ DIST QDarkStyle-3.1.tar.gz 698602 BLAKE2B 8c96b2dd5532c9db0c1d813fe0cf049b7cf55ef6469d2ebb21b5ea85fe6ecd23e8a247c45f45cfa674f8012a4a03ea377df8cb7efac8f13c079e2512091ecdc7 SHA512 275fe333bcf2502f8f1ef61eca3f82d8909e760e8f88a1605157c5043cb1e4cad97bbb8ddb0464ef2125c1b70f318bfa8f0106d2721d6b9862c162b5f716aa4b +DIST QDarkStyle-3.2.tar.gz 697274 BLAKE2B f2626ec9fdbb792f6ffaa7967da0d1175ca8f0ce5b4b279f90434ad6b926156a29a56e637a2dec01ffcba8c5e9a544adc6cf6b4c515084a786de56ae388e0e36 SHA512 d6771a02e4be7dc43b991a887080a7147465488b1f8ae9ed64a75d838ce8de6336e14074d5eabaa8a67a5ea90a30bb911a1f033bdeb999b290243bec449000a0 diff --git a/dev-python/qdarkstyle/qdarkstyle-3.2.ebuild b/dev-python/qdarkstyle/qdarkstyle-3.2.ebuild new file mode 100644 index 000000000000..4866a1e50a19 --- /dev/null +++ b/dev-python/qdarkstyle/qdarkstyle-3.2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYPI_PN="QDarkStyle" +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 optfeature pypi + +DESCRIPTION="A dark style sheet for QtWidgets application" +HOMEPAGE=" + https://github.com/ColinDuquesnoy/QDarkStyleSheet/ + https://pypi.org/project/QDarkStyle/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="" + +RDEPEND=" + >=dev-python/QtPy-2.0.0[gui,${PYTHON_USEDEP}] +" +DEPEND=" + test? ( + dev-python/qtsass[${PYTHON_USEDEP}] + dev-python/watchdog[${PYTHON_USEDEP}] + >=dev-python/QtPy-2.0.0[gui,testlib,${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} + +pkg_postinst() { + optfeature "Retrieve detailed system information and report bugs upstream" dev-python/helpdev + optfeature "qdarkstyle.utils" dev-python/qtsass dev-python/watchdog +}
