From bfd9c39e4712ebdb442d4ca0673061faed1e70e1 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 4 Jun 2026 05:48:38 -0500 Subject: Revert "Adding metadata" This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704. --- dev-python/superqt/Manifest | 4 ++ dev-python/superqt/metadata.xml | 17 ++++++++ dev-python/superqt/superqt-0.8.1.ebuild | 73 ++++++++++++++++++++++++++++++++ dev-python/superqt/superqt-0.8.2.ebuild | 74 +++++++++++++++++++++++++++++++++ 4 files changed, 168 insertions(+) create mode 100644 dev-python/superqt/Manifest create mode 100644 dev-python/superqt/metadata.xml create mode 100644 dev-python/superqt/superqt-0.8.1.ebuild create mode 100644 dev-python/superqt/superqt-0.8.2.ebuild (limited to 'dev-python/superqt') diff --git a/dev-python/superqt/Manifest b/dev-python/superqt/Manifest new file mode 100644 index 000000000000..bcdd1f32f26d --- /dev/null +++ b/dev-python/superqt/Manifest @@ -0,0 +1,4 @@ +DIST superqt-0.8.1.tar.gz 109177 BLAKE2B f622cd90bf9b50631638c1bffdd5e62a4a49933d544977fcb09a66cecd69b795644da6dda987422da6ec71f20e90848faf08df1b7cd5aa6c65fd7267e68941cd SHA512 b80b1ce285d0941d0db4e0ee3d03f7a6d752db084bb49e221d93430bf97b7d006fdd4691cc02ab79d444a9c2c5ce7557bd3c8a001a279a2ab06ccd832f05a837 +DIST superqt-0.8.1.tar.gz.provenance 9681 BLAKE2B 51af60178fa9e7ed83e9f198a1eb784a4e60414805bec8cbd0fd14c2a258741c5fe3120187f303b0a429c84cec289906e84627b28186765804d16062e58a363c SHA512 df3c7d7383bf00e5fe1ee220bfcfe369aa8f094a8ef39d4e726024e8b3c21ecc5ac124e67f4b65acbef8631644b76d2e7f225600abbed66abb0b8dbef891c08d +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 diff --git a/dev-python/superqt/metadata.xml b/dev-python/superqt/metadata.xml new file mode 100644 index 000000000000..22a8f26a2aa3 --- /dev/null +++ b/dev-python/superqt/metadata.xml @@ -0,0 +1,17 @@ + + + + + superqt + pyapp-kit/superqt + + + + nowa@gentoo.org + Nowa Ammerlaan + + + python@gentoo.org + Python + + diff --git a/dev-python/superqt/superqt-0.8.1.ebuild b/dev-python/superqt/superqt-0.8.1.ebuild new file mode 100644 index 000000000000..d726fc39cbd6 --- /dev/null +++ b/dev-python/superqt/superqt-0.8.1.ebuild @@ -0,0 +1,73 @@ +# 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_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 +} diff --git a/dev-python/superqt/superqt-0.8.2.ebuild b/dev-python/superqt/superqt-0.8.2.ebuild new file mode 100644 index 000000000000..334f9a7c94ae --- /dev/null +++ b/dev-python/superqt/superqt-0.8.2.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