From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DCC89158020 for ; Thu, 20 Oct 2022 10:38:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 350B1E08A2; Thu, 20 Oct 2022 10:38:40 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 201E2E08A2 for ; Thu, 20 Oct 2022 10:38:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 65A54341000 for ; Thu, 20 Oct 2022 10:38:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E39B7609 for ; Thu, 20 Oct 2022 10:38:37 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1666262311.0e78027f474a1ae1bac60737a8ceea6f6b39317d.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/qtawesome/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/qtawesome/Manifest dev-python/qtawesome/qtawesome-1.2.0.ebuild X-VCS-Directories: dev-python/qtawesome/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 0e78027f474a1ae1bac60737a8ceea6f6b39317d X-VCS-Branch: master Date: Thu, 20 Oct 2022 10:38:37 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f21587e8-e53d-4530-939b-60eba2b7cef3 X-Archives-Hash: e5a81e6a63d44a43b7855eb7635bec43 commit: 0e78027f474a1ae1bac60737a8ceea6f6b39317d Author: Andrew Ammerlaan gentoo org> AuthorDate: Thu Oct 20 10:36:52 2022 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Thu Oct 20 10:38:31 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e78027f dev-python/qtawesome: add 1.2.0 Signed-off-by: Andrew Ammerlaan gentoo.org> dev-python/qtawesome/Manifest | 1 + dev-python/qtawesome/qtawesome-1.2.0.ebuild | 39 +++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/dev-python/qtawesome/Manifest b/dev-python/qtawesome/Manifest index 30f3a7bc68f5..41674dc4ffda 100644 --- a/dev-python/qtawesome/Manifest +++ b/dev-python/qtawesome/Manifest @@ -1 +1,2 @@ DIST QtAwesome-1.1.1.tar.gz 2277767 BLAKE2B ca8668e0b6633087b7e09ffcec19809c8b7e12af2caa0beac896940cdbf3a113206f6952916fbe81c53899a56f8222e613df9c028f59907a2553174551ef9fcf SHA512 3cf04b822464c14f52f23499e64515f50f743aba40a8d22224d22315342cef760da476dc9b2ae42e901ac8ef8440e105a6bf6175efc6749250e0fbbbc255e08f +DIST QtAwesome-1.2.0.tar.gz 2280428 BLAKE2B 15053a87ca4cf2c25b1633de67f54838b144db05f5165023c121fc84017cc4db6e24238d8518ee2494c0b21752b9b82007ef96f04e6d072b1f51ed84c12bcada SHA512 11307af5592da83fd357e33e5f679821cd16d070f0e751619c28ea29a5511dec7a1d62e81713c91660125899624d5700097d597c85e718f3738b4d47b6477b32 diff --git a/dev-python/qtawesome/qtawesome-1.2.0.ebuild b/dev-python/qtawesome/qtawesome-1.2.0.ebuild new file mode 100644 index 000000000000..4b24498382b2 --- /dev/null +++ b/dev-python/qtawesome/qtawesome-1.2.0.ebuild @@ -0,0 +1,39 @@ +# 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}" +}