summaryrefslogtreecommitdiff
path: root/dev-python/qtawesome
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-12-28 14:12:52 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-12-28 14:12:52 +0000
commitebadb1bcdd3c4fdd2e1a569a04d2cd8c5049b64d (patch)
tree261a9ff495381f4023c98dfb4ecd5cb195b5f346 /dev-python/qtawesome
parent2666e9c75caf914c25a25329523c982df8512930 (diff)
gentoo auto-resync : 28:12:2022 - 14:12:52
Diffstat (limited to 'dev-python/qtawesome')
-rw-r--r--dev-python/qtawesome/Manifest2
-rw-r--r--dev-python/qtawesome/qtawesome-1.2.2.ebuild47
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-python/qtawesome/Manifest b/dev-python/qtawesome/Manifest
index 18b51296a3af..261f236abedc 100644
--- a/dev-python/qtawesome/Manifest
+++ b/dev-python/qtawesome/Manifest
@@ -1,3 +1,5 @@
DIST QtAwesome-1.2.1.tar.gz 2280937 BLAKE2B 4d54e8d9fabd833ca4a430ed9573da4feb6aeaae9090fbdf7874d68214de0c0548be18b2f5d2c643add754c748f6af97eaa821aa3d341ed6dd563b8769c1a5c7 SHA512 dd4ef533c5a7bc5fc7eba549c166653efb2352e12412d5678e30cc8865fe44684ca6e070ca61801910c3eefd5673325cb87555e0fb30007b5fd0b53d04dc1c44
+DIST QtAwesome-1.2.2.tar.gz 2281303 BLAKE2B 8766f06feb4cbcab213d537e2c6b5fcaa952d2e06cfa2c4ecdbcdd1b2e900b715632ac7280a5b65e8085643267d048a519805ad2d9da57ee1be1b4c311951ff7 SHA512 9117798041b9593f3db9c8e379f2fa38e1d6d73a4d6b370f73a4ca0bcd69af78989ab0e9a9e2aa9ec20e2637ed1123237f6e8da2be383c09d51921d52052498f
EBUILD qtawesome-1.2.1.ebuild 973 BLAKE2B 9cdd5a8c6390a1eb2abd2049062cf4ccd69adbba5e007f1da6232893fb89664136a17b5556556da440b59cb9018f6bbfecf4a4918ae416d1290ab0c81b69bdb4 SHA512 a99de6d3e70b75b9f20b1bf1cabd66588b84074bdc00f098355b4e386355b586ceafa7036029c64babbebe8f9040945037db04ae950706bdf3a470c52f56f4b0
+EBUILD qtawesome-1.2.2.ebuild 984 BLAKE2B 2f225b3e06f9861170e72f573d736660d35ff94b3d678e1a3e8f419d2e88015037becdb7f0fa10e80a6a7c1297c10319923377462db02e8474f59f0dcccce8d8 SHA512 d0e511b8caef8f6c3f2a2398c1edfe75fe6f65ba620d363ee17d5081f9771fb61f428e8ba0a46476a3e14563391c84122b078bf1f4d4b7187fecc93be18d0cdf
MISC metadata.xml 810 BLAKE2B 7d9237109b80816eea90f955a2a7f4f989589b4b16aef6151017a68dc4808b5b13e524d0356f88ff57f05c40be268729f016ae3f9bd059eda6d06ba75ee03ef5 SHA512 9b15bd5c9e0486fc64d49c6a7a1ef2fafc4c7e9e25ac57ca5811e435cc49c24421ca695c7dbaaee7b317c4a90fd5e9f929c3f79d7e57ce8cac85c6267e103dab
diff --git a/dev-python/qtawesome/qtawesome-1.2.2.ebuild b/dev-python/qtawesome/qtawesome-1.2.2.ebuild
new file mode 100644
index 000000000000..1621d287507d
--- /dev/null
+++ b/dev-python/qtawesome/qtawesome-1.2.2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+DISTUTILS_USE_PEP517=setuptools
+
+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"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ media-fonts/fontawesome
+ dev-python/QtPy[pyqt5(+),gui,${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/pytest-qt[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs/source
+
+src_test() {
+ virtx distutils-r1_src_test
+}
+
+python_test() {
+ # Tests fail with pyside2, so depend on QtPy[pyqt5] and explicitly run
+ # the tests with pyqt5
+ PYTEST_QT_API="pyqt5" epytest || die "Tests failed with ${EPYTHON}"
+}