summaryrefslogtreecommitdiff
path: root/dev-python/superqt
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/superqt')
-rw-r--r--dev-python/superqt/Manifest4
-rw-r--r--dev-python/superqt/metadata.xml2
-rw-r--r--dev-python/superqt/superqt-0.7.8.ebuild51
-rw-r--r--dev-python/superqt/superqt-0.8.1.ebuild2
-rw-r--r--dev-python/superqt/superqt-0.8.2.ebuild74
5 files changed, 78 insertions, 55 deletions
diff --git a/dev-python/superqt/Manifest b/dev-python/superqt/Manifest
index 5460cb4dae3f..bcdd1f32f26d 100644
--- a/dev-python/superqt/Manifest
+++ b/dev-python/superqt/Manifest
@@ -1,4 +1,4 @@
-DIST superqt-0.7.8.tar.gz 108367 BLAKE2B b25f6386271bd9a6676146d5418b1271a4a09dec796e66f41486a36cfc6ed212c6545a1dcd1e79c767624fb150a181e399abcadcb95413696136f34e74d155e9 SHA512 54b2490c1c8fa0d79145a829b7a69bb556bfb68a544f58f4344e271b99d7990010379c5a36b007d5c969d43162c348d288f2c849be9499145e069ca8a88473bc
-DIST superqt-0.7.8.tar.gz.provenance 9432 BLAKE2B e9926e54e0f78489fc981d2414cbfd75a49809c7e83f1c0c5f441cf13fd93500ef4dd7b139818db0d2b35933b0f5ea43f48813c9cce2ad6e7ecfb3a18ce52307 SHA512 40f7f53bc872bf32eeccad845d06e7d08792af2495543f5ef19f06d03aeeca6153abafbd824055c73f00e18698270e2efb723bdfc420abfeb40b955f50c770f7
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
index e0aed2ab00f7..b51dff1ff802 100644
--- a/dev-python/superqt/metadata.xml
+++ b/dev-python/superqt/metadata.xml
@@ -10,6 +10,6 @@
<name>Python</name>
</maintainer>
- <origin>gentoo-staging</origin>
+ <origin>liguros-repo</origin>
<stabilize-allarches/>
</pkgmetadata> \ No newline at end of file
diff --git a/dev-python/superqt/superqt-0.7.8.ebuild b/dev-python/superqt/superqt-0.7.8.ebuild
deleted file mode 100644
index 2c51d8c23cf9..000000000000
--- a/dev-python/superqt/superqt-0.7.8.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# 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_{10..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}]
- dev-python/pytest-qt[${PYTHON_USEDEP}]
- )
-"
-
-EPYTEST_IGNORE=(
- # pint and pyconify not packaged
- tests/test_quantity.py
- tests/test_iconify.py
-)
-
-EPYTEST_DESELECT=(
- # fails in the sandbox, but works outside of it
- tests/test_eliding_label.py::test_wrapped_eliding_label
-)
-
-distutils_enable_tests pytest
-
-python_test() {
- virtx distutils-r1_python_test
-}
diff --git a/dev-python/superqt/superqt-0.8.1.ebuild b/dev-python/superqt/superqt-0.8.1.ebuild
index 0d3da004972c..17105ed9f29b 100644
--- a/dev-python/superqt/superqt-0.8.1.ebuild
+++ b/dev-python/superqt/superqt-0.8.1.ebuild
@@ -5,7 +5,7 @@ EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYPI_VERIFY_REPO=https://github.com/pyapp-kit/superqt
-PYTHON_COMPAT=( python3_{10..14} )
+PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1 pypi virtualx
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..40ccc84d7033
--- /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_{12..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
+}