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 5C877158062 for ; Fri, 10 Mar 2023 04:47:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 169C4E0882; Fri, 10 Mar 2023 04:47:47 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F3765E0877 for ; Fri, 10 Mar 2023 04:47:46 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C10163406DD for ; Fri, 10 Mar 2023 04:47:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 096178D6 for ; Fri, 10 Mar 2023 04:47:44 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1678422158.3a28bf2797c30ef29a8f3fce75fec0bfa382fd17.mgorny@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.3.ebuild X-VCS-Directories: dev-python/qtawesome/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 3a28bf2797c30ef29a8f3fce75fec0bfa382fd17 X-VCS-Branch: master Date: Fri, 10 Mar 2023 04:47:44 +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: 410e5900-9598-4364-a67d-93b50a5fd6ae X-Archives-Hash: c46d8aea705f295fdb9781a423a62493 commit: 3a28bf2797c30ef29a8f3fce75fec0bfa382fd17 Author: Michał Górny gentoo org> AuthorDate: Fri Mar 10 04:22:38 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Mar 10 04:22:38 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a28bf27 dev-python/qtawesome: Bump to 1.2.3 Signed-off-by: Michał Górny gentoo.org> dev-python/qtawesome/Manifest | 1 + dev-python/qtawesome/qtawesome-1.2.3.ebuild | 44 +++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/dev-python/qtawesome/Manifest b/dev-python/qtawesome/Manifest index ecf3e2df5682..8f1c25eedafe 100644 --- a/dev-python/qtawesome/Manifest +++ b/dev-python/qtawesome/Manifest @@ -1 +1,2 @@ DIST QtAwesome-1.2.2.tar.gz 2281303 BLAKE2B 8766f06feb4cbcab213d537e2c6b5fcaa952d2e06cfa2c4ecdbcdd1b2e900b715632ac7280a5b65e8085643267d048a519805ad2d9da57ee1be1b4c311951ff7 SHA512 9117798041b9593f3db9c8e379f2fa38e1d6d73a4d6b370f73a4ca0bcd69af78989ab0e9a9e2aa9ec20e2637ed1123237f6e8da2be383c09d51921d52052498f +DIST QtAwesome-1.2.3.tar.gz 2281470 BLAKE2B 3aa015708b6cc26b01fdb17cd1a283ce6aaf05eb8e6e6c316f02a6475738565fb350d64d298c7c2983604f61f40c3b51f3b5e2c134ecae6142519fa78593daf9 SHA512 8c265511922016e6e304443d5771ce19abae62afc8a7115452bde83ca033cb63da2fbe3a91073ff0394ded9a5959a965a0e2a17cae9ed8be0e7c93309a952337 diff --git a/dev-python/qtawesome/qtawesome-1.2.3.ebuild b/dev-python/qtawesome/qtawesome-1.2.3.ebuild new file mode 100644 index 000000000000..ef05bcf99451 --- /dev/null +++ b/dev-python/qtawesome/qtawesome-1.2.3.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +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" +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}" +}