From 3b4c7e627726016d50653b6dd2e06020a1915eac Mon Sep 17 00:00:00 2001 From: Crucible Date: Sat, 17 Oct 2026 03:06:03 -0500 Subject: Publish srcux candidate 0000000724-20261017-030226 --- dev-python/superqt/Manifest | 2 + dev-python/superqt/superqt-0.9.0.ebuild | 74 +++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) create mode 100644 dev-python/superqt/superqt-0.9.0.ebuild (limited to 'dev-python/superqt') diff --git a/dev-python/superqt/Manifest b/dev-python/superqt/Manifest index 6476eafc0efb..51da8538a6e1 100644 --- a/dev-python/superqt/Manifest +++ b/dev-python/superqt/Manifest @@ -1,2 +1,4 @@ DIST superqt-0.8.2.tar.gz 110190 BLAKE2B 0dd0b44bd964d95a0dcdd2179e3ca83670cce904b67e1a656dfcdf1bbea40cc8243152409f562b9002c1e163a1bb71377ee1932fcaf69f7bc75a7654b056593a SHA512 8bcf19a48c90131c702c489bf8d7bfb68fb37607bf0e9fb2fade8834ef4ce604512861c265e5cbd1c7157235d98c46d960ba4431a76bf51918002fe83cf2fe79 DIST superqt-0.8.2.tar.gz.provenance 9583 BLAKE2B 509d8a87a3b8a09b72a6768dc01de01aba177f933706a87867596d06ec85ee0eb261ce1fe5ab5c50e6ab064434dfdc7530419127b05b8b9f66079329c134d170 SHA512 c1bb553c7c7d94154e74fa14aad05964047426f8b588eb5b69b2e4166ae522c9efd54c91a5ad683d3ac4a6f767b44bd1622767d9e495a7a5d8d0195b4a2b08ef +DIST superqt-0.9.0.tar.gz 111490 BLAKE2B c659e5ea5b1c15e453b60c1d59f048d0543840e5d13629ced477cc72cd9dfb1c46d9baeffac13dc57356185bcbaa0e529aef37d09d41d2d41be1756a5953cd20 SHA512 312851ba980209ea63e555fb84f44a6df32df63ec40872f8ba7beddc1c45d3b8023afd7601e50c8bfb376e02c9c4d52fc331dde6b57a72ec9c14c378022cfd43 +DIST superqt-0.9.0.tar.gz.provenance 9732 BLAKE2B 402fefbb4a8777fbc09871a0851497e284f5f72a3bd83077ce2732ef4cc740201d389dfc5a55ed73de29ba19d15f858b218aa8c70e7d98b2f0931ec176d08b0a SHA512 ac5ab1e3ef457a6ad70a89e181fe9fe229bc957eaf294b2c21d7e6e4fa7406eb29f537a2cfc53e3e5680e94c54b04f1fd4eaa82d938b6ffce25b0e97f4e8cf2b diff --git a/dev-python/superqt/superqt-0.9.0.ebuild b/dev-python/superqt/superqt-0.9.0.ebuild new file mode 100644 index 000000000000..334f9a7c94ae --- /dev/null +++ b/dev-python/superqt/superqt-0.9.0.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYPI_VERIFY_REPO=https://github.com/pyapp-kit/superqt +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi virtualx + +DESCRIPTION="Missing widgets and components for PyQt/PySide" +HOMEPAGE=" + https://github.com/pyapp-kit/superqt/ + https://pypi.org/project/superqt/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + >=dev-python/pygments-2.4.0[${PYTHON_USEDEP}] + >=dev-python/qtpy-2.4.0[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.12.0[${PYTHON_USEDEP}] +" + +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/numpy[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-qt ) +: ${EPYTEST_TIMEOUT:=30} +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_test() { + local ALL_QT_APIS=() + local api + + for api in pyqt6 pyside6; do + has_version "dev-python/qtpy[${api},${PYTHON_USEDEP}]" || continue + ALL_QT_APIS+=( "${api}" ) + done + [[ -z ${ALL_QT_APIS[@]} ]] && die "No Qt6 implementation found?!" + + virtx distutils-r1_src_test +} + +python_test() { + local EPYTEST_IGNORE=( + # pint and pyconify not packaged + tests/test_quantity.py + tests/test_iconify.py + ) + local EPYTEST_DESELECT=() + + for api in "${ALL_QT_APIS[@]}"; do + case ${api} in + pyqt6) + EPYTEST_DESELECT=( + # crashing on assertions + tests/test_color_combo.py::test_q_color_combobox + ) + ;; + esac + + einfo "Testing with ${api}" + epytest -o "qt_api=${api}" + done +} -- cgit v1.3