summaryrefslogtreecommitdiff
path: root/dev-python/qdarkstyle
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/qdarkstyle')
-rw-r--r--dev-python/qdarkstyle/Manifest3
-rw-r--r--dev-python/qdarkstyle/metadata.xml13
-rw-r--r--dev-python/qdarkstyle/qdarkstyle-2.7.ebuild43
3 files changed, 59 insertions, 0 deletions
diff --git a/dev-python/qdarkstyle/Manifest b/dev-python/qdarkstyle/Manifest
new file mode 100644
index 000000000000..0a08b22644dd
--- /dev/null
+++ b/dev-python/qdarkstyle/Manifest
@@ -0,0 +1,3 @@
+DIST qdarkstyle-2.7.tar.gz 9156490 BLAKE2B 6c1c21c728725f391802b30acb6365dbd073328158fb3a60b4e2b5bb846337149c166ab447b1e84a404b01b4bc41e1292fff974b2a9756c6c42f4b40754c9a0b SHA512 6185cb85009d62a74021c3267039c6309757909903d67a1b67315877b84d4ffbc468f49cbe54ca4c7319710ea74652a3013e574698d2037cc4f2d83c9fb2b28e
+EBUILD qdarkstyle-2.7.ebuild 1010 BLAKE2B 9ce7130563f84ef439fc2cc7ee8fc4543df2b413f9d5ce62e906ae930b7695127d953e87cc113712e8655fbd294cf822471dd2c132a7101805b9ccd73da3436d SHA512 4cbc3b6f3405d406a822e5c7e0b28c42447cfe01502bf94b14080929ff8b06c4efa998e25e80e2b22eae6d39723b2b4eee9a99f277c5994a0389e1efc5e2fa1d
+MISC metadata.xml 376 BLAKE2B 66f5bc55ef2f40919601f4ed1fddd0bac47a7e42cf87f4a5fe085a90420d6d3ff21fb156319cb6c241b1241f7dfb261612ba0aa20d54dfbeb9801cbad34aeee2 SHA512 9741d92e63a63121645ec2c8f08a37850524b299cfdad5b4e70def0a8a50f35dde5c9417f4d4c067edee641b2050a128c7a792ed6d59137809e1b1a77fb469c9
diff --git a/dev-python/qdarkstyle/metadata.xml b/dev-python/qdarkstyle/metadata.xml
new file mode 100644
index 000000000000..20ab94177c12
--- /dev/null
+++ b/dev-python/qdarkstyle/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+ <maintainer type="person">
+ <email>andrewammerlaan@riseup.net</email>
+ <name>Andrew Ammerlaan</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-python/qdarkstyle/qdarkstyle-2.7.ebuild b/dev-python/qdarkstyle/qdarkstyle-2.7.ebuild
new file mode 100644
index 000000000000..ef8b2be9d963
--- /dev/null
+++ b/dev-python/qdarkstyle/qdarkstyle-2.7.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7} )
+
+inherit eutils distutils-r1
+
+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/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="examples test doc"
+
+RDEPEND=">=dev-python/helpdev-0.6.2[${PYTHON_USEDEP}]
+ doc? ( dev-python/m2r[${PYTHON_USEDEP}] )
+ examples? ( >=dev-python/QtPy-1.7[${PYTHON_USEDEP}] )"
+
+DEPEND="test? ( dev-python/QtPy[${PYTHON_USEDEP}] )"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx doc dev-python/sphinx_rtd_theme
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+python_install_all() {
+ if use examples; then
+ insinto /usr/share/${PN}
+ doins -r example
+ fi
+ distutils-r1_python_install_all
+}
+
+pkg_postinst() {
+ optfeature "qdarkstyle.utils" dev-python/qtsass
+}