summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/qtawesome')
-rw-r--r--dev-python/qtawesome/Manifest1
-rw-r--r--dev-python/qtawesome/qtawesome-1.0.0.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-python/qtawesome/Manifest b/dev-python/qtawesome/Manifest
index dfa5285d4229..153be9f9c535 100644
--- a/dev-python/qtawesome/Manifest
+++ b/dev-python/qtawesome/Manifest
@@ -1 +1,2 @@
DIST QtAwesome-0.7.2.tar.gz 847272 BLAKE2B 559b41a1ccb1563c0537703ec285bb24639ab9dfe72515dae9462271666dbe49b7d04b5d5dbc3f24bb6475803c987f7ac7bd6bbf828b79b07897f0b6e60edd70 SHA512 edc3a4794befd6f87ea144477d18d48e8ea7c1e349cee3fde04ac25c3f372126448adb7d820176927394ca89a8714154f354625e58746725c30eb0a95d7b0359
+DIST QtAwesome-1.0.0.tar.gz 878528 BLAKE2B aab6fb29268e9a2eca3a5d77d1bf83cd8e901b667a4e83dbfc0c7259bd376d45bc425b7eb1cd7586da22fc410103e1269a1b210c61ffd4e3f938d1c523d2fd51 SHA512 ae494e55cdd9315a31d8582e07fdbc29021658380f7d8fff57be8b08e4f65390ed1f55fa39bb206a0c9a5cbbc4017f9cd5cb10aa5471161413382fa1dd6f91cd
diff --git a/dev-python/qtawesome/qtawesome-1.0.0.ebuild b/dev-python/qtawesome/qtawesome-1.0.0.ebuild
new file mode 100644
index 000000000000..3efa4911a2ea
--- /dev/null
+++ b/dev-python/qtawesome/qtawesome-1.0.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+inherit distutils-r1 virtualx
+
+MY_PN="QtAwesome"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Enables iconic fonts such as Font Awesome in PyQt"
+HOMEPAGE="https://github.com/spyder-ide/qtawesome/ https://pypi.org/project/QtAwesome/"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ media-fonts/fontawesome
+ dev-python/QtPy[${PYTHON_USEDEP},gui]
+"
+
+DEPEND="test? ( dev-python/pytest-qt[${PYTHON_USEDEP}] )"
+
+S="${WORKDIR}/${MY_P}"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs/source
+
+python_test() {
+ virtx pytest -vv
+}