diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-12-28 08:37:53 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-12-28 09:17:45 +0100 |
commit | 5ef7cdfbc18dc593a714bd3ab28378c66029e44c (patch) | |
tree | 0cc4b479b2dee3407bffe3fba8d448c1057fbc1a /dev-python/qtawesome | |
parent | app-admin/awscli: Bump to 1.27.38 (diff) | |
download | gentoo-5ef7cdfbc18dc593a714bd3ab28378c66029e44c.tar.gz gentoo-5ef7cdfbc18dc593a714bd3ab28378c66029e44c.tar.bz2 gentoo-5ef7cdfbc18dc593a714bd3ab28378c66029e44c.zip |
dev-python/qtawesome: Bump to 1.2.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/qtawesome')
-rw-r--r-- | dev-python/qtawesome/Manifest | 1 | ||||
-rw-r--r-- | dev-python/qtawesome/qtawesome-1.2.2.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/qtawesome/Manifest b/dev-python/qtawesome/Manifest index 85365dad97b0..d72c250c4fd3 100644 --- a/dev-python/qtawesome/Manifest +++ b/dev-python/qtawesome/Manifest @@ -1 +1,2 @@ DIST QtAwesome-1.2.1.tar.gz 2280937 BLAKE2B 4d54e8d9fabd833ca4a430ed9573da4feb6aeaae9090fbdf7874d68214de0c0548be18b2f5d2c643add754c748f6af97eaa821aa3d341ed6dd563b8769c1a5c7 SHA512 dd4ef533c5a7bc5fc7eba549c166653efb2352e12412d5678e30cc8865fe44684ca6e070ca61801910c3eefd5673325cb87555e0fb30007b5fd0b53d04dc1c44 +DIST QtAwesome-1.2.2.tar.gz 2281303 BLAKE2B 8766f06feb4cbcab213d537e2c6b5fcaa952d2e06cfa2c4ecdbcdd1b2e900b715632ac7280a5b65e8085643267d048a519805ad2d9da57ee1be1b4c311951ff7 SHA512 9117798041b9593f3db9c8e379f2fa38e1d6d73a4d6b370f73a4ca0bcd69af78989ab0e9a9e2aa9ec20e2637ed1123237f6e8da2be383c09d51921d52052498f 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}" +} |