diff options
Diffstat (limited to 'dev-python/qtawesome')
-rw-r--r-- | dev-python/qtawesome/Manifest | 2 | ||||
-rw-r--r-- | dev-python/qtawesome/qtawesome-1.1.1.ebuild | 39 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/qtawesome/Manifest b/dev-python/qtawesome/Manifest index e26bfd682e30..87e4dbc39d50 100644 --- a/dev-python/qtawesome/Manifest +++ b/dev-python/qtawesome/Manifest @@ -1,5 +1,7 @@ DIST QtAwesome-1.0.3.tar.gz 878811 BLAKE2B f4392caf940ffecabf4848e892226a0871686d34a2190e35c4b11a0803a006ca0a9bfb09b3de03f7baba6777eec40ede30e35aa702bc83d9eacfd45cdde207aa SHA512 90ff132034ccc21c358b341e21aa848c34dac1c10e41720f57870f6c73fa21d1da944e4ca2ce2ded034c9edd85679181f0bd7a6a949f46a582a4402a620f2849 DIST QtAwesome-1.1.0.tar.gz 2277438 BLAKE2B cda30636fb271da13a5c146cf84971ca10cc0bb527235319fe289730ac859dd4e23c679b963f4c0a65c26f83d2dfaac33fa0907f8ca64bd6d5a346d9ecbde30d SHA512 3fcd4704a57a52f1f46a0a55bc52255d2d600ff407a3c568da3e4bdc53d74153199869b4ea7bfaf349373fa876a950cae028cc7c87bc2d395b0aacbb64309407 +DIST QtAwesome-1.1.1.tar.gz 2277767 BLAKE2B ca8668e0b6633087b7e09ffcec19809c8b7e12af2caa0beac896940cdbf3a113206f6952916fbe81c53899a56f8222e613df9c028f59907a2553174551ef9fcf SHA512 3cf04b822464c14f52f23499e64515f50f743aba40a8d22224d22315342cef760da476dc9b2ae42e901ac8ef8440e105a6bf6175efc6749250e0fbbbc255e08f EBUILD qtawesome-1.0.3.ebuild 948 BLAKE2B 9abdc5951de496a7c82d3d26b2c4869cf3f7ff689838c7d33280d9e72bd8b33e603148d55808c8bb3d38be60ecd877ec6a891cec6451fa6f13a970e0a181572c SHA512 f31308e333163823bffbf867a3d4f956dfd1c4d2d49e3b1dacb542ff56990961674ab3e21094cb3f9406b66933e55738880644e76b231283601cee634129bafe EBUILD qtawesome-1.1.0.ebuild 917 BLAKE2B a693239dffdde5b094622e15df37e277a16940fe6ead8df7e7e7b1a8ea3ec568fc20f87e88dc31fb240bcb833df330514425c0b23af96b94ccb3ef7c40d9d51d SHA512 962e0cf6043c6743ee5e606a4e2898023b49d330a05fbeca1dd18324cddbb5f5e500e728ea9191cf1489399489011bca2e0401437572c1da6a5271510622aa0e +EBUILD qtawesome-1.1.1.ebuild 911 BLAKE2B 166c247966b2254279deaad22dacc87bbd29e0e116d89a669490c42894c2d9e3dc41e77bbfb9485c7e5cdc8973b4f497e931e7860f2b5ee44109405f8b223099 SHA512 b8307871a7c700a7a219b32ee8a2a2db4042b00b400e500b36aa801f69598363702f8fcdc6401cb0695810dbcb99bbb3b87258a680f86d1bad42a4302f6e6140 MISC metadata.xml 810 BLAKE2B 7d9237109b80816eea90f955a2a7f4f989589b4b16aef6151017a68dc4808b5b13e524d0356f88ff57f05c40be268729f016ae3f9bd059eda6d06ba75ee03ef5 SHA512 9b15bd5c9e0486fc64d49c6a7a1ef2fafc4c7e9e25ac57ca5811e435cc49c24421ca695c7dbaaee7b317c4a90fd5e9f929c3f79d7e57ce8cac85c6267e103dab diff --git a/dev-python/qtawesome/qtawesome-1.1.1.ebuild b/dev-python/qtawesome/qtawesome-1.1.1.ebuild new file mode 100644 index 000000000000..a0a8abf1da3f --- /dev/null +++ b/dev-python/qtawesome/qtawesome-1.1.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +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}] +" + +DEPEND="test? ( dev-python/pytest-qt[${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest +distutils_enable_sphinx docs/source + +src_test() { + virtx python_foreach_impl python_test +} + +python_test() { + # Tests fail with pyside2, so depend on QtPy[pyqt5] and explicitly run + # the tests with pyqt5 + PYTEST_QT_API="pyqt5" epytest +} |