dev-python/qtawesome: add 1.3.1

Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
This commit is contained in:
Andrew Ammerlaan
2024-03-29 12:11:04 +01:00
parent 0692ee17f5
commit 1c857cab08
2 changed files with 51 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST QtAwesome-1.3.0.tar.gz 2375398 BLAKE2B ed4f33b7f1fe7c54b4794247032a65638f4b1527ac460274486c673d767332c5aab64bc27924738914147e674e17c23e0e23e728fa32af8925fce7f58b417d17 SHA512 536918a63a22555b52abd66302f020f91df8ee75e8e806b258780944e143275245a73a4f215e2626eaf1d844552426fc1b45eff4e5de05a268b8b9179492cd7e
DIST QtAwesome-1.3.1.tar.gz 2372190 BLAKE2B d7a0a0d5ac1ff8e60e14ce407a2220ef9bc5463304274df7d04a00178b3021dd4f5e35c028a4038f53adf04c85eabd8e33b10c59d57804733265ee17d5875563 SHA512 6b50a4fce231331ec05497905f4fb1e7d91d5bbc9dfd963f3b2dd649d3d28f20436d1c3aed574457ff4afaf277d0e53b371ead7e0ddfb208ab8a4b5ddd4bc2f1

View File

@@ -0,0 +1,50 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi virtualx
DESCRIPTION="Enables iconic fonts such as Font Awesome in PyQt"
HOMEPAGE="
https://github.com/spyder-ide/qtawesome/
https://pypi.org/project/QtAwesome/
"
SRC_URI="$(pypi_sdist_url --no-normalize QtAwesome)"
S="${WORKDIR}/QtAwesome-${PV}"
LICENSE="MIT"
# bundled fonts
# -------------
# Font Awesome, Elusive Icons: OFL-1.1
# Phosphor: MIT
# Material Design Icons, Remix Icon: Apache-2.0
# Codicons: CC-BY-4.0
LICENSE+=" Apache-2.0 CC-BY-4.0 MIT OFL-1.1"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
RDEPEND="
media-fonts/fontawesome
dev-python/QtPy[gui,${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/pytest-qt[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
distutils_enable_sphinx docs/source \
dev-python/sphinx-rtd-theme
src_test() {
virtx distutils-r1_src_test
}
python_test() {
nonfatal epytest || die -n "Tests failed with ${EPYTHON}"
}