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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D4F2A15807B for ; Tue, 29 Oct 2024 06:51:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 20F7DE0824; Tue, 29 Oct 2024 06:51:43 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 04F7CE0824 for ; Tue, 29 Oct 2024 06:51:43 +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 1F877343125 for ; Tue, 29 Oct 2024 06:51:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0B69B1A0F for ; Tue, 29 Oct 2024 06:51:39 +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: <1730184687.72008586c9f44124f43a5aadb43365a324f4b9bf.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/qtconsole/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/qtconsole/Manifest dev-python/qtconsole/qtconsole-5.6.1.ebuild X-VCS-Directories: dev-python/qtconsole/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 72008586c9f44124f43a5aadb43365a324f4b9bf X-VCS-Branch: master Date: Tue, 29 Oct 2024 06:51:39 +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: e10c15cd-ac64-4329-a831-f2aed3041426 X-Archives-Hash: 42f9e741fab1ad400b5bbc0c7872a5d1 commit: 72008586c9f44124f43a5aadb43365a324f4b9bf Author: Michał Górny gentoo org> AuthorDate: Tue Oct 29 05:22:52 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Oct 29 06:51:27 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72008586 dev-python/qtconsole: Bump to 5.6.1 Signed-off-by: Michał Górny gentoo.org> dev-python/qtconsole/Manifest | 1 + dev-python/qtconsole/qtconsole-5.6.1.ebuild | 65 +++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/dev-python/qtconsole/Manifest b/dev-python/qtconsole/Manifest index 7139ee89bd60..7d93093a03d0 100644 --- a/dev-python/qtconsole/Manifest +++ b/dev-python/qtconsole/Manifest @@ -1,2 +1,3 @@ DIST qtconsole-5.5.2.tar.gz 439219 BLAKE2B f354d3e6132142a3da52a1cb6b290d0a07b13920bc9f33f7fb29eb307cc5b653beccc5d28e53f7cbe7483147adb6e34ffc584718a79b814c9ce2c37b57a768fc SHA512 f79e51903fe5a1164a90c0905c308d2bce066bef2c61fed2b5bb7e757a9cf56875cdd14665df9284317497cd73bb544ae09e0b23c63b527bbd4bc90b874009f6 DIST qtconsole-5.6.0.tar.gz 440531 BLAKE2B f8d9e1ec45f310152b2c779df71c048ce6f704f8a9f366b6ed415a3dc8988553f45c4ac63fa08425e22124048e7946a4b40aedbbb15e90306bca5138426d91fe SHA512 ccd8f7b87d218237827bd52afc160cc8c00e9feecf90cde39aff55509831bdc9c4799499c91ed13538ce52a4011ed289f194662eef55b98efe09a2b9a5bd5427 +DIST qtconsole-5.6.1.tar.gz 435808 BLAKE2B 74476bfa85e08dfdd3bb0595531253638957024a2a5c9ec16e5eefa3677cf57756ddacdbf21405e93da1b5101bb4a354970ef86c786db02c52ca92e40877bbc0 SHA512 1bc2cf75019186ad439033ca7e262fb0e3172336b15573fec1da4925830c26f33117229f7552cdd26a3691b0c9facaf0073c640aea8098c3599aed38e7621392 diff --git a/dev-python/qtconsole/qtconsole-5.6.1.ebuild b/dev-python/qtconsole/qtconsole-5.6.1.ebuild new file mode 100644 index 000000000000..c9b6137a741c --- /dev/null +++ b/dev-python/qtconsole/qtconsole-5.6.1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 pypi virtualx + +DESCRIPTION="Qt-based console for Jupyter with support for rich media output" +HOMEPAGE=" + https://jupyter.org/ + https://github.com/jupyter/qtconsole/ + https://pypi.org/project/qtconsole/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86" + +RDEPEND=" + >=dev-python/ipykernel-4.1[${PYTHON_USEDEP}] + dev-python/jupyter-core[${PYTHON_USEDEP}] + >=dev-python/jupyter-client-4.1.1[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + >=dev-python/traitlets-5.2.2_p1[${PYTHON_USEDEP}] + >=dev-python/QtPy-2.4.0[${PYTHON_USEDEP},gui,printsupport,svg] +" +BDEPEND=" + test? ( + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/pytest-qt[${PYTHON_USEDEP}] + dev-python/QtPy[${PYTHON_USEDEP},svg,testlib] + ) +" + +PDEPEND=" + dev-python/ipython[${PYTHON_USEDEP}] +" + +distutils_enable_sphinx docs/source dev-python/sphinx-rtd-theme +distutils_enable_tests pytest + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=( + # TODO; expects exact HTML, so perhaps fragile + qtconsole/tests/test_jupyter_widget.py::TestJupyterWidget::test_other_output + ) + local -x QT_API + for QT_API in pyqt5 pyqt6 pyside2 pyside6; do + if has_version "dev-python/QtPy[${QT_API}]"; then + local -x PYTEST_QT_API=${QT_API} + einfo "Testing with ${QT_API}" + nonfatal epytest || + die "Tests failed with ${EPYTHON} / ${QT_API}" + fi + done +}