dev-python/qdarkstyle: add 3.0.2

Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
Andrew Ammerlaan
2021-04-03 12:15:33 +02:00
committed by Joonas Niilola
parent 15a154d633
commit d892280eb0
3 changed files with 43 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST qdarkstyle-2.8.1.tar.gz 7883937 BLAKE2B fd5a35467c6c47e9eb135d4a119b3f382bfe20b9b0ac2d407fef7113e5ce4d914f3d8e462d26a71b8f1494f42b71a4f8819b0eb2c6579d87ca9dd497d09d39d7 SHA512 10c3f834b1ea50f665c2ce3fde16533c7dfc62c2d055afcc7d2434c09d14fb9a6181b73ce12d3af72897b9d26b41db81cc76e7c7cb6112eef097cd86630b6532
DIST qdarkstyle-3.0.2.tar.gz 8330772 BLAKE2B c64524e2ecc23b714d6f5df6cea007846c6a9b1d5805d12e23c53e27c0411900730c656583bb5446bc343018e4fb1e110994c646e277ee0f3a3a7553df77f3ca SHA512 ef4ffc82fe3b72d89deb5dc98fc7319dbd6dc0bae530bdf612477c44934f587c497f8a9ec9d060fc8fcafdc918447f4dbbab20225f1e5cbf2146bcde83d0ce20

View File

@@ -12,4 +12,5 @@
<upstream>
<remote-id type="pypi">QDarkStyle</remote-id>
</upstream>
<stabilize-allarches/>
</pkgmetadata>

View File

@@ -0,0 +1,41 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DISTUTILS_USE_SETUPTOOLS=rdepend
PYTHON_COMPAT=( python3_{7,8,9} )
inherit distutils-r1 optfeature
MY_PN="QDarkStyleSheet"
DESCRIPTION="A dark style sheet for QtWidgets application"
HOMEPAGE="https://github.com/ColinDuquesnoy/QDarkStyleSheet"
SRC_URI="https://github.com/ColinDuquesnoy/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
# TODO: Figure out how to get this to work
# Please pass a palette class in order to create its qrc file
RESTRICT="test"
RDEPEND=">=dev-python/QtPy-1.7[gui,${PYTHON_USEDEP}]"
DEPEND="test? (
dev-python/qtsass[${PYTHON_USEDEP}]
dev-python/watchdog[${PYTHON_USEDEP}]
>=dev-python/QtPy-1.7[gui,testlib,${PYTHON_USEDEP}]
)"
distutils_enable_tests pytest
distutils_enable_sphinx docs dev-python/sphinx_rtd_theme
S="${WORKDIR}/${MY_PN}-${PV}"
pkg_postinst() {
optfeature "Retrieve detailed system information and report bugs upstream" dev-python/helpdev
optfeature "qdarkstyle.utils" dev-python/qtsass dev-python/watchdog
}