Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/qdarkstyle/
Date: Wed, 01 Jun 2022 09:21:03
Message-Id: 1654075245.62eaeab7aa249317db3568c10a28a25df88023ec.andrewammerlaan@gentoo
1 commit: 62eaeab7aa249317db3568c10a28a25df88023ec
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 1 08:56:14 2022 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 1 09:20:45 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62eaeab7
7
8 dev-python/qdarkstyle: add 3.1
9
10 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
11
12 dev-python/qdarkstyle/Manifest | 1 +
13 dev-python/qdarkstyle/qdarkstyle-3.1.ebuild | 34 +++++++++++++++++++++++++++++
14 2 files changed, 35 insertions(+)
15
16 diff --git a/dev-python/qdarkstyle/Manifest b/dev-python/qdarkstyle/Manifest
17 index 423d9dc1df12..abae82f8b4ee 100644
18 --- a/dev-python/qdarkstyle/Manifest
19 +++ b/dev-python/qdarkstyle/Manifest
20 @@ -1 +1,2 @@
21 DIST QDarkStyle-3.0.3.tar.gz 431182 BLAKE2B 3c9406aca5d01c3682123e044d2e5417b300b724c6366a411a00211b482582b26c687128f6c32e7a95a29fb70c3a322fd525483c48120e5671ddff713e4e0035 SHA512 2c44a4469971b127f7fb8c9a5bce452c98653aaf29dcdb7e0df2da7557d6730d64ebf6a649f8516fb13a2d4e77d0fdadc293457d94406d8e7491be3fd52a9313
22 +DIST QDarkStyle-3.1.tar.gz 698602 BLAKE2B 8c96b2dd5532c9db0c1d813fe0cf049b7cf55ef6469d2ebb21b5ea85fe6ecd23e8a247c45f45cfa674f8012a4a03ea377df8cb7efac8f13c079e2512091ecdc7 SHA512 275fe333bcf2502f8f1ef61eca3f82d8909e760e8f88a1605157c5043cb1e4cad97bbb8ddb0464ef2125c1b70f318bfa8f0106d2721d6b9862c162b5f716aa4b
23
24 diff --git a/dev-python/qdarkstyle/qdarkstyle-3.1.ebuild b/dev-python/qdarkstyle/qdarkstyle-3.1.ebuild
25 new file mode 100644
26 index 000000000000..71c665275163
27 --- /dev/null
28 +++ b/dev-python/qdarkstyle/qdarkstyle-3.1.ebuild
29 @@ -0,0 +1,34 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +PYTHON_COMPAT=( python3_{8..10} )
36 +DISTUTILS_USE_PEP517=setuptools
37 +inherit distutils-r1 optfeature
38 +
39 +MY_PN="QDarkStyle"
40 +
41 +DESCRIPTION="A dark style sheet for QtWidgets application"
42 +HOMEPAGE="https://github.com/ColinDuquesnoy/QDarkStyleSheet"
43 +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
44 +S="${WORKDIR}/${MY_PN}-${PV}"
45 +
46 +LICENSE="MIT"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~x86"
49 +
50 +RDEPEND=">=dev-python/QtPy-1.9[gui,${PYTHON_USEDEP}]"
51 +
52 +DEPEND="test? (
53 + dev-python/qtsass[${PYTHON_USEDEP}]
54 + dev-python/watchdog[${PYTHON_USEDEP}]
55 + >=dev-python/QtPy-1.9[gui,testlib,${PYTHON_USEDEP}]
56 +)"
57 +
58 +distutils_enable_tests pytest
59 +
60 +pkg_postinst() {
61 + optfeature "Retrieve detailed system information and report bugs upstream" dev-python/helpdev
62 + optfeature "qdarkstyle.utils" dev-python/qtsass dev-python/watchdog
63 +}