dev-python/qtawesome: Bump to 1.2.2

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2022-12-28 08:37:53 +01:00
parent 565eb8fcef
commit 5ef7cdfbc1
2 changed files with 48 additions and 0 deletions

View File

@@ -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

View File

@@ -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}"
}