From a06c47011120ee885d0ea7adb1a080bb16f03b3c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 16 Dec 2023 20:53:21 +0000 Subject: gentoo auto-resync : 16:12:2023 - 20:53:21 --- dev-python/Manifest.gz | Bin 268385 -> 268367 bytes dev-python/QtPy/Manifest | 6 - dev-python/QtPy/QtPy-2.3.1-r1.ebuild | 215 -------------------- dev-python/QtPy/QtPy-2.3.1.ebuild | 204 ------------------- dev-python/QtPy/QtPy-2.4.0-r1.ebuild | 216 --------------------- dev-python/QtPy/QtPy-2.4.0.ebuild | 216 --------------------- dev-python/dep-logic/Manifest | 2 + dev-python/dep-logic/dep-logic-0.0.4.ebuild | 25 +++ dev-python/expandvars/Manifest | 2 + dev-python/expandvars/expandvars-0.12.0.ebuild | 21 ++ dev-python/hypothesis/Manifest | 2 + dev-python/hypothesis/hypothesis-6.92.1.ebuild | 90 +++++++++ dev-python/immutabledict/Manifest | 2 + .../immutabledict/immutabledict-4.1.0.ebuild | 21 ++ dev-python/matplotlib/Manifest | 2 +- dev-python/matplotlib/matplotlib-3.8.2-r1.ebuild | 4 +- dev-python/psycopg/Manifest | 2 +- dev-python/psycopg/psycopg-3.1.13.ebuild | 2 +- dev-python/pymongo/Manifest | 4 +- dev-python/pymongo/pymongo-4.6.0.ebuild | 154 --------------- dev-python/pymongo/pymongo-4.6.1.ebuild | 2 +- dev-python/pyopenssl/Manifest | 4 +- dev-python/pyopenssl/pyopenssl-23.2.0.ebuild | 66 ------- dev-python/pyopenssl/pyopenssl-23.3.0.ebuild | 2 +- dev-python/rpds-py/Manifest | 2 +- dev-python/rpds-py/rpds-py-0.13.2.ebuild | 2 +- dev-python/setuptools-gettext/Manifest | 2 + .../setuptools-gettext-0.1.8.ebuild | 37 ++++ dev-python/sphinxygen/Manifest | 4 +- dev-python/sphinxygen/sphinxygen-1.0.4-r1.ebuild | 27 +++ dev-python/sphinxygen/sphinxygen-1.0.4.ebuild | 21 -- dev-python/tables/Manifest | 2 +- dev-python/tables/tables-3.9.2.ebuild | 2 +- dev-python/tornado/Manifest | 2 +- dev-python/tornado/tornado-6.4.ebuild | 2 +- 35 files changed, 248 insertions(+), 1119 deletions(-) delete mode 100644 dev-python/QtPy/QtPy-2.3.1-r1.ebuild delete mode 100644 dev-python/QtPy/QtPy-2.3.1.ebuild delete mode 100644 dev-python/QtPy/QtPy-2.4.0-r1.ebuild delete mode 100644 dev-python/QtPy/QtPy-2.4.0.ebuild create mode 100644 dev-python/dep-logic/dep-logic-0.0.4.ebuild create mode 100644 dev-python/expandvars/expandvars-0.12.0.ebuild create mode 100644 dev-python/hypothesis/hypothesis-6.92.1.ebuild create mode 100644 dev-python/immutabledict/immutabledict-4.1.0.ebuild delete mode 100644 dev-python/pymongo/pymongo-4.6.0.ebuild delete mode 100644 dev-python/pyopenssl/pyopenssl-23.2.0.ebuild create mode 100644 dev-python/setuptools-gettext/setuptools-gettext-0.1.8.ebuild create mode 100644 dev-python/sphinxygen/sphinxygen-1.0.4-r1.ebuild delete mode 100644 dev-python/sphinxygen/sphinxygen-1.0.4.ebuild (limited to 'dev-python') diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz index 1135473480ff..8df1b2091124 100644 Binary files a/dev-python/Manifest.gz and b/dev-python/Manifest.gz differ diff --git a/dev-python/QtPy/Manifest b/dev-python/QtPy/Manifest index 306dd9d9e4b3..d22c7c68a7bd 100644 --- a/dev-python/QtPy/Manifest +++ b/dev-python/QtPy/Manifest @@ -1,9 +1,3 @@ -DIST QtPy-2.3.1.tar.gz 56260 BLAKE2B 1b8d76879cc1f07b3633e6b25887ac4621ee3a8e9ebbcaa1f1f8c4f3fbcdae37bd5d659717bf89227d4ed6b5126554b329813aaee0b6be333c0cdc931cfb8d43 SHA512 9c738ec07e18852b67c30962fbc0ca48479eccff2a9f2ee9f4817c4ead5a8068d54aced58d632977163f180a584a9b7b2b68ea25e0577b92a262fef8eb576041 -DIST QtPy-2.4.0.tar.gz 65007 BLAKE2B d2770608d807959aaa8b0201304be1f3f112f039f8febddf62bc7cd09a04ed53dd7fd89ee782fd3bd11c5f84c8d2a8c529242c2df01d34c27d87ac1f8873017f SHA512 54be0c9b15055f9c078ff8eebd88910d718833f3d9572567076b1fc0c22d3d5c12dc2a2d7fbedb9bc8636d575775e83cb08a554a0ee45a859297501a5711b716 DIST QtPy-2.4.1.tar.gz 65492 BLAKE2B 3816e3836c171f75fc1877984b533602c8929a791b09a1f53b14687eae7a1067e47fcae3a198d798417521a1a81829168d3af94178b28d8a3bd2c28e7d9f7865 SHA512 cb7c65cfec5aba9bdc4942b95108ac0300eac5ca8f0c984e8ea789b77fded3a1817f591d43bc45e9aa4feb3cb3da64c0d42ae67f12121a807cf7c247e7612e7d -EBUILD QtPy-2.3.1-r1.ebuild 8485 BLAKE2B 8662e6cf1c1d2ac93f1a4a81de5b88034c219c135ba9e55ff7d5e35987a31ae8aec36d0ee41f3b2d51f45d65d571d033f98ad5c7d804379b17e5af76162bad56 SHA512 d5630a8402160f8237af8e7f26a0616c8a2989302701533d11e78d1381206a817b915b40707a52e38a2f56b22a5a9c8739d0c2cf2550eaa4189996733833c9b5 -EBUILD QtPy-2.3.1.ebuild 8211 BLAKE2B e186fb581ec0b2b7ffa656a14f34c87ec22e9ae8917f83c1a9b21a7b00161304d8bca7cbf0ce2f21dc6b9094e5ddc8ee6da5473461731c2d7cd62fdc6c8e248b SHA512 37c56232753c60ab4e6abdb04c416100b8ec080d7776f77ba2d8e20b75078bfdcb4e4b71c9e9b5ae064f0dbee9087719048fa42de8b26392f9ebc42d0b502764 -EBUILD QtPy-2.4.0-r1.ebuild 8786 BLAKE2B 9bfb6688706cf2948c2550431ea58e956a1ddc2ece8b9e9a4a6442da09f6b9356e52c70a909e9e79d5f0a7807fc5477dec8d7bc0927ecb12839a6a8d4f01bec7 SHA512 f3ec624e038f74213e6eb11d796cc430545576d76ddd4a3da5079e5fa6bae252a69dcc224f8fd4bf030a6e0e1d6082a6f766c72666f2ce0d793e89f90bb295c6 -EBUILD QtPy-2.4.0.ebuild 8553 BLAKE2B 99ae8bfe9780147cc2b33aa0253148350b73986f67cbcef21fb8aae94a110cec9ccff68a63e2e9aec649365071a6c7b7611b1d8e5da426ce6a1b8786fbde6bd3 SHA512 09f8f23290fb49607407d460d0751f6d912098ca511cec10310af32068ec8b305e2784deb4f9b2558aa7fbc2323783c657ec028b863368e05b43697fb2d44c4a EBUILD QtPy-2.4.1-r1.ebuild 8612 BLAKE2B ea3f7a191ca572d1913727fd28418ef602d511f1794e7635b5f7ac1265ba6a8de3d2c96fe140934cd3298510b2522cc23ad7fb4b5f0b066511888d7f0cbec2e9 SHA512 cdee72e154499dfa1c0dddaca577ef9f8c188eb36b529b394aad20afb1cb671cf75610338bc38a7e3c957fda3913df13d034d5d403052a0c08bc631c7b73b9d0 MISC metadata.xml 2864 BLAKE2B f1ed249b3864a0c66d02e0aeaf48dfa8ae18ee452a75a1932ab621d86902f602c511bb113fd385ad9d6b57d6d7a07b350f1ba25ab07cc0f646281d9d41e03134 SHA512 bf065ae2c73b735ad7f501e5a525718d506495a7ce4b415e79f67b52c166082f53272a1295fc325d8a98f050bc01d2a5bba1e85ef7e1e8dfcc738b837f93bfbc diff --git a/dev-python/QtPy/QtPy-2.3.1-r1.ebuild b/dev-python/QtPy/QtPy-2.3.1-r1.ebuild deleted file mode 100644 index ed9a436932ef..000000000000 --- a/dev-python/QtPy/QtPy-2.3.1-r1.ebuild +++ /dev/null @@ -1,215 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 virtualx pypi - -DESCRIPTION="Abstraction layer on top of PyQt and PySide with additional custom QWidgets" -HOMEPAGE=" - https://github.com/spyder-ide/qtpy/ - https://pypi.org/project/QtPy/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" - -_IUSE_QT_MODULES=" - designer +gui help multimedia +network opengl positioning - printsupport qml quick serialport +sql svg testlib - webchannel webengine websockets +widgets +xml -" -IUSE="+pyqt5 pyqt6 pyside2 pyside6 ${_IUSE_QT_MODULES}" -unset _IUSE_QT_MODULES - -REQUIRED_USE=" - || ( pyqt5 pyqt6 pyside2 pyside6 ) - python_targets_python3_12? ( !pyside2 !pyside6 ) -" - -# These flags are currently *not* common to the PySide2/6 and PyQt5/6 ebuilds -# Disable them for now, please check periodically if this is still up to date. -# bluetooth? ( pyqt5 only ) -# dbus? ( pyqt5 only ) -# -# 3d? ( pyside2 only ) -# charts? ( pyside2 only ) -# concurrent? ( pyside2 only ) -# datavis? ( pyside2 only ) -# scxml? ( pyside2 only ) -# -# location? ( pyside2 and pyqt5 only ) -# sensors? ( pyside2 and pyqt5 only ) -# speech? ( pyside2 and pyqt5 only ) -# x11extras? ( pyside2 and pyqt5 only ) -# xmlpatterns? ( pyside2 and pyqt5 only ) - -# WARNING: the obvious solution of using || for PyQt5/pyside2 is not going -# to work. The package only checks whether PyQt5/pyside2 is installed, it does -# not verify whether they have the necessary modules (i.e. satisfy the USE dep). -# -# Webengine is a special case, because PyQt5 provides this in a separate package -# while PySide2 ships it in the same package. -# -# declarative/qml/quick is a special case, because PyQt5 bundles the bindings -# for qml and quick in one flag: declarative PySide2 does not. -# -# The PyQt5 ebuild currently enables xml support unconditionally, the flag is -# added anyway with a (+) to make it future proof if the ebuild were to change -# this behaviour in the future. -# -# The PySide2 ebuild currently enables opengl and serialport support -# unconditionally, the flag is added anyway with a (+) to make it future proof -# if the ebuild were to change this behaviour in the future. -RDEPEND=" - dev-python/packaging[${PYTHON_USEDEP}] - pyqt5? ( - dev-python/PyQt5[${PYTHON_USEDEP}] - dev-python/PyQt5[designer?,gui?,help?,multimedia?,network?,opengl?] - dev-python/PyQt5[positioning?,printsupport?,serialport?,sql?,svg?] - dev-python/PyQt5[testlib?,webchannel?,websockets?,widgets?,xml(+)?] - qml? ( dev-python/PyQt5[declarative] ) - quick? ( dev-python/PyQt5[declarative] ) - webengine? ( dev-python/PyQtWebEngine[${PYTHON_USEDEP}] ) - ) - pyqt6? ( - dev-python/PyQt6[${PYTHON_USEDEP}] - dev-python/PyQt6[designer?,gui?,help?,multimedia?,network?,opengl?] - dev-python/PyQt6[positioning?,printsupport?,qml?,quick?,serialport?,sql?] - dev-python/PyQt6[svg?,testlib?,webchannel?,websockets?,widgets?,xml?] - webengine? ( dev-python/PyQt6-WebEngine[${PYTHON_USEDEP},widgets?,quick?] ) - - ) - pyside2? ( - $(python_gen_cond_dep ' - dev-python/pyside2[${PYTHON_USEDEP}] - dev-python/pyside2[designer?,gui?,help?,multimedia?,network?,opengl(+)?] - dev-python/pyside2[positioning?,printsupport?,qml?,quick?,serialport(+)?] - dev-python/pyside2[sql?,svg?,testlib?,webchannel?,webengine?,websockets?] - dev-python/pyside2[widgets?,xml?] - ' python3_{10..11}) - ) - pyside6? ( - $(python_gen_cond_dep ' - dev-python/pyside6[${PYTHON_USEDEP}] - dev-python/pyside6[designer?,gui?,help?,multimedia?,network?,opengl?] - dev-python/pyside6[positioning?,printsupport?,qml?,quick?,serialport?] - dev-python/pyside6[sql?,svg?,testlib?,webchannel?,webengine?,websockets?] - dev-python/pyside6[widgets?,xml?] - ' python3_{10..11}) - ) -" - -# The QtPy testsuite skips tests for bindings that are not installed, so here we -# ensure that everything is available and all tests are run. Note that not -# all flags are available in PyQt5/PySide2, so some tests are still skipped. -BDEPEND=" - test? ( - pyqt5? ( - dev-python/PyQt5[${PYTHON_USEDEP}] - dev-python/PyQt5[bluetooth,dbus,declarative,designer,gui,help,location] - dev-python/PyQt5[multimedia,network,opengl,positioning,printsupport] - dev-python/PyQt5[sensors,serialport,speech(-),sql,svg,testlib,webchannel] - dev-python/PyQt5[websockets,widgets,x11extras,xml(+),xmlpatterns] - dev-python/PyQtWebEngine[${PYTHON_USEDEP}] - ) - pyqt6? ( - dev-python/PyQt6[${PYTHON_USEDEP}] - dev-python/PyQt6[dbus,designer,gui,help,multimedia,network,opengl] - dev-python/PyQt6[positioning,printsupport,qml,quick,quick3d,serialport] - dev-python/PyQt6[sql,ssl,svg,testlib,webchannel,websockets,widgets,xml] - dev-python/PyQt6-WebEngine[${PYTHON_USEDEP},widgets,quick] - ) - pyside2? ( - $(python_gen_cond_dep ' - dev-python/pyside2[${PYTHON_USEDEP}] - dev-python/pyside2[3d,charts,concurrent,datavis,designer,gui,help] - dev-python/pyside2[location,multimedia,network,opengl(+),positioning] - dev-python/pyside2[printsupport,qml,quick,scxml] - dev-python/pyside2[sensors,serialport(+),speech,sql,svg,testlib] - dev-python/pyside2[webchannel,webengine,websockets,widgets,x11extras] - dev-python/pyside2[xml,xmlpatterns] - ' python3_{10..11}) - ) - pyside6? ( - $(python_gen_cond_dep ' - dev-python/pyside6[${PYTHON_USEDEP}] - dev-python/pyside6[concurrent,dbus,designer,gui,help,multimedia] - dev-python/pyside6[network,opengl,positioning,printsupport,qml] - dev-python/pyside6[quick,quick3d,serialport,sql,svg,testlib] - dev-python/pyside6[webchannel,webengine,websockets,widgets,xml] - ' python3_{10..11}) - ) - ) -" - -distutils_enable_tests pytest - -src_prepare() { - distutils-r1_src_prepare - sed -i -e 's:--cov=qtpy --cov-report=term-missing::' pytest.ini || die - # Disable Qt for Python implementations that are not selected - if ! use pyqt5; then - sed -i -e "s/from PyQt5.QtCore import/raise ImportError #/" qtpy/__init__.py || die - fi - if ! use pyqt6; then - sed -i -e "s/from PyQt6.QtCore import/raise ImportError #/" qtpy/__init__.py || die - fi - if ! use pyside2; then - sed -i -e "s/from PySide2 import/raise ImportError #/" qtpy/__init__.py || die - sed -i -e "s/from PySide2.QtCore import/raise ImportError #/" qtpy/__init__.py || die - fi - if ! use pyside6; then - sed -i -e "s/from PySide6 import/raise ImportError #/" qtpy/__init__.py || die - sed -i -e "s/from PySide6.QtCore import/raise ImportError #/" qtpy/__init__.py || die - fi -} - -python_test() { - # Test for each enabled Qt4Python target. - # Deselect the other targets, their test fails if we specify QT_API - # or if we have disabled their corresponding inherit in __init__.py above - if use pyqt5; then - einfo "Testing with ${EPYTHON} and QT_API=PyQt5" - QT_API="pyqt5" virtx epytest \ - --deselect qtpy/tests/test_main.py::test_qt_api_environ[PySide2] \ - --deselect qtpy/tests/test_main.py::test_qt_api_environ[PyQt6] \ - --deselect qtpy/tests/test_main.py::test_qt_api_environ[PySide6] - fi - if use pyqt6; then - einfo "Testing with ${EPYTHON} and QT_API=PyQt6" - QT_API="pyqt6" virtx epytest \ - --deselect qtpy/tests/test_main.py::test_qt_api_environ[PySide2] \ - --deselect qtpy/tests/test_main.py::test_qt_api_environ[PyQt5] \ - --deselect qtpy/tests/test_main.py::test_qt_api_environ[PySide6] \ - --deselect qtpy/tests/test_qtsensors.py::test_qtsensors - # Qt6Sensors not yet packaged and enabled in PyQt6 ebuild - fi - if use pyside2; then - einfo "Testing with ${EPYTHON} and QT_API=PySide2" - QT_API="pyside2" virtx epytest \ - --deselect qtpy/tests/test_main.py::test_qt_api_environ[PyQt5] \ - --deselect qtpy/tests/test_main.py::test_qt_api_environ[PyQt6] \ - --deselect qtpy/tests/test_main.py::test_qt_api_environ[PySide6] - fi - if use pyside6; then - einfo "Testing with ${EPYTHON} and QT_API=PySide6" - QT_API="pyside6" virtx epytest \ - --deselect qtpy/tests/test_main.py::test_qt_api_environ[PySide2] \ - --deselect qtpy/tests/test_main.py::test_qt_api_environ[PyQt5] \ - --deselect qtpy/tests/test_main.py::test_qt_api_environ[PyQt6] \ - --deselect qtpy/tests/test_qtsensors.py::test_qtsensors - # Qt6Sensors not yet packaged and enabled in PySide6 ebuild - fi -} - -pkg_postinst() { - elog "When multiple Qt4Python targets are enabled QtPy will default to" - elog "the first enabled target in this order: PyQt5 PySide2 PyQt6 PySide6." - elog "This can be overridden with the QT_API environment variable." -} diff --git a/dev-python/QtPy/QtPy-2.3.1.ebuild b/dev-python/QtPy/QtPy-2.3.1.ebuild deleted file mode 100644 index f048e6fa3d2c..000000000000 --- a/dev-python/QtPy/QtPy-2.3.1.ebuild +++ /dev/null @@ -1,204 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{10..11} ) - -inherit distutils-r1 virtualx pypi - -DESCRIPTION="Abstraction layer on top of PyQt and PySide with additional custom QWidgets" -HOMEPAGE=" - https://github.com/spyder-ide/qtpy/ - https://pypi.org/project/QtPy/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv x86" - -_IUSE_QT_MODULES=" - designer +gui help multimedia +network opengl positioning - printsupport qml quick serialport +sql svg testlib - webchannel webengine websockets +widgets +xml -" -IUSE="+pyqt5 pyqt6 pyside2 pyside6 ${_IUSE_QT_MODULES}" -unset _IUSE_QT_MODULES - -REQUIRED_USE="|| ( pyqt5 pyqt6 pyside2 pyside6 )" - -# These flags are currently *not* common to the PySide2/6 and PyQt5/6 ebuilds -# Disable them for now, please check periodically if this is still up to date. -# bluetooth? ( pyqt5 only ) -# dbus? ( pyqt5 only ) -# -# 3d? ( pyside2 only ) -# charts? ( pyside2 only ) -# concurrent? ( pyside2 only ) -# datavis? ( pyside2 only ) -# scxml? ( pyside2 only ) -# -# location? ( pyside2 and pyqt5 only ) -# sensors? ( pyside2 and pyqt5 only ) -# speech? ( pyside2 and pyqt5 only ) -# x11extras? ( pyside2 and pyqt5 only ) -# xmlpatterns? ( pyside2 and pyqt5 only ) - -# WARNING: the obvious solution of using || for PyQt5/pyside2 is not going -# to work. The package only checks whether PyQt5/pyside2 is installed, it does -# not verify whether they have the necessary modules (i.e. satisfy the USE dep). -# -# Webengine is a special case, because PyQt5 provides this in a separate package -# while PySide2 ships it in the same package. -# -# declarative/qml/quick is a special case, because PyQt5 bundles the bindings -# for qml and quick in one flag: declarative PySide2 does not. -# -# The PyQt5 ebuild currently enables xml support unconditionally, the flag is -# added anyway with a (+) to make it future proof if the ebuild were to change -# this behaviour in the future. -# -# The PySide2 ebuild currently enables opengl and serialport support -# unconditionally, the flag is added anyway with a (+) to make it future proof -# if the ebuild were to change this behaviour in the future. -RDEPEND=" - dev-python/packaging[${PYTHON_USEDEP}] - pyqt5? ( - dev-python/PyQt5[${PYTHON_USEDEP}] - dev-python/PyQt5[designer?,gui?,help?,multimedia?,network?,opengl?] - dev-python/PyQt5[positioning?,printsupport?,serialport?,sql?,svg?] - dev-python/PyQt5[testlib?,webchannel?,websockets?,widgets?,xml(+)?] - qml? ( dev-python/PyQt5[declarative] ) - quick? ( dev-python/PyQt5[declarative] ) - webengine? ( dev-python/PyQtWebEngine[${PYTHON_USEDEP}] ) - ) - pyqt6? ( - dev-python/PyQt6[${PYTHON_USEDEP}] - dev-python/PyQt6[designer?,gui?,help?,multimedia?,network?,opengl?] - dev-python/PyQt6[positioning?,printsupport?,qml?,quick?,serialport?,sql?] - dev-python/PyQt6[svg?,testlib?,webchannel?,websockets?,widgets?,xml?] - webengine? ( dev-python/PyQt6-WebEngine[${PYTHON_USEDEP},widgets?,quick?] ) - - ) - pyside2? ( - dev-python/pyside2[${PYTHON_USEDEP}] - dev-python/pyside2[designer?,gui?,help?,multimedia?,network?,opengl(+)?] - dev-python/pyside2[positioning?,printsupport?,qml?,quick?,serialport(+)?] - dev-python/pyside2[sql?,svg?,testlib?,webchannel?,webengine?,websockets?] - dev-python/pyside2[widgets?,xml?] - ) - pyside6? ( - dev-python/pyside6[${PYTHON_USEDEP}] - dev-python/pyside6[designer?,gui?,help?,multimedia?,network?,opengl?] - dev-python/pyside6[positioning?,printsupport?,qml?,quick?,serialport?] - dev-python/pyside6[sql?,svg?,testlib?,webchannel?,webengine?,websockets?] - dev-python/pyside6[widgets?,xml?] - ) -" - -# The QtPy testsuite skips tests for bindings that are not installed, so here we -# ensure that everything is available and all tests are run. Note that not -# all flags are available in PyQt5/PySide2, so some tests are still skipped. -BDEPEND=" - test? ( - pyqt5? ( - dev-python/PyQt5[${PYTHON_USEDEP}] - dev-python/PyQt5[bluetooth,dbus,declarative,designer,gui,help,location] - dev-python/PyQt5[multimedia,network,opengl,positioning,printsupport] - dev-python/PyQt5[sensors,serialport,speech(-),sql,svg,testlib,webchannel] - dev-python/PyQt5[websockets,widgets,x11extras,xml(+),xmlpatterns] - dev-python/PyQtWebEngine[${PYTHON_USEDEP}] - ) - pyqt6? ( - dev-python/PyQt6[${PYTHON_USEDEP}] - dev-python/PyQt6[dbus,designer,gui,help,multimedia,network,opengl] - dev-python/PyQt6[positioning,printsupport,qml,quick,quick3d,serialport] - dev-python/PyQt6[sql,ssl,svg,testlib,webchannel,websockets,widgets,xml] - dev-python/PyQt6-WebEngine[${PYTHON_USEDEP},widgets,quick] - ) - pyside2? ( - dev-python/pyside2[${PYTHON_USEDEP}] - dev-python/pyside2[3d,charts,concurrent,datavis,designer,gui,help] - dev-python/pyside2[location,multimedia,network,opengl(+),positioning] - dev-python/pyside2[printsupport,qml,quick,scxml] - dev-python/pyside2[sensors,serialport(+),speech,sql,svg,testlib] - dev-python/pyside2[webchannel,webengine,websockets,widgets,x11extras] - dev-python/pyside2[xml,xmlpatterns] - ) - pyside6? ( - dev-python/pyside6[${PYTHON_USEDEP}] - dev-python/pyside6[concurrent,dbus,designer,gui,help,multimedia] - dev-python/pyside6[network,opengl,positioning,printsupport,qml] - dev-python/pyside6[quick,quick3d,serialport,sql,svg,testlib] - dev-python/pyside6[webchannel,webengine,websockets,widgets,xml] - ) - ) -" - -distutils_enable_tests pytest - -src_prepare() { - distutils-r1_src_prepare - sed -i -e 's:--cov=qtpy --cov-report=term-missing::' pytest.ini || die - # Disable Qt for Python implementations that are not selected - if ! use pyqt5; then - sed -i -e "s/from PyQt5.QtCore import/raise ImportError #/" qtpy/__init__.py || die - fi - if ! use pyqt6; then - sed -i -e "s/from PyQt6.QtCore import/raise ImportError #/" qtpy/__init__.py || die - fi - if ! use pyside2; then - sed -i -e "s/from PySide2 import/raise ImportError #/" qtpy/__init__.py || die - sed -i -e "s/from PySide2.QtCore import/raise ImportError #/" qtpy/__init__.py || die - fi - if ! use pyside6; then - sed -i -e "s/from PySide6 import/raise ImportError #/" qtpy/__init__.py || die - sed -i -e "s/from PySide6.QtCore import/raise ImportError #/" qtpy/__init__.py || die - fi -} - -python_test() { - # Test for each enabled Qt4Python target. - # Deselect the other targets, their test fails if we specify QT_API - # or if we have disabled their corresponding inherit in __init__.py above - if use pyqt5; then - einfo "Testing with ${EPYTHON} and QT_API=PyQt5" - QT_API="pyqt5" virtx epytest \ - --deselect qtpy/tests/test_main.py::test_qt_api_environ[PySide2] \ - --deselect qtpy/tests/test_main.py::test_qt_api_environ[PyQt6] \ - --deselect qtpy/tests/test_main.py::test_qt_api_environ[PySide6] - fi - if use pyqt6; then - einfo "Testing with ${EPYTHON} and QT_API=PyQt6" - QT_API="pyqt6" virtx epytest \ - --deselect qtpy/tests/test_main.py::test_qt_api_environ[PySide2] \ - --deselect qtpy/tests/test_main.py::test_qt_api_environ[PyQt5] \ - --deselect qtpy/tests/test_main.py::test_qt_api_environ[PySide6] \ - --deselect qtpy/tests/test_qtsensors.py::test_qtsensors - # Qt6Sensors not yet packaged and enabled in PyQt6 ebuild - fi - if use pyside2; then - einfo "Testing with ${EPYTHON} and QT_API=PySide2" - QT_API="pyside2" virtx epytest \ - --deselect qtpy/tests/test_main.py::test_qt_api_environ[PyQt5] \ - --deselect qtpy/tests/test_main.py::test_qt_api_environ[PyQt6] \ - --deselect qtpy/tests/test_main.py::test_qt_api_environ[PySide6] - fi - if use pyside6; then - einfo "Testing with ${EPYTHON} and QT_API=PySide6" - QT_API="pyside6" virtx epytest \ - --deselect qtpy/tests/test_main.py::test_qt_api_environ[PySide2] \ - --deselect qtpy/tests/test_main.py::test_qt_api_environ[PyQt5] \ - --deselect qtpy/tests/test_main.py::test_qt_api_environ[PyQt6] \ - --deselect qtpy/tests/test_qtsensors.py::test_qtsensors - # Qt6Sensors not yet packaged and enabled in PySide6 ebuild - fi -} - -pkg_postinst() { - elog "When multiple Qt4Python targets are enabled QtPy will default to" - elog "the first enabled target in this order: PyQt5 PySide2 PyQt6 PySide6." - elog "This can be overridden with the QT_API environment variable." -} diff --git a/dev-python/QtPy/QtPy-2.4.0-r1.ebuild b/dev-python/QtPy/QtPy-2.4.0-r1.ebuild deleted file mode 100644 index 9b05e3e8e982..000000000000 --- a/dev-python/QtPy/QtPy-2.4.0-r1.ebuild +++ /dev/null @@ -1,216 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 virtualx pypi - -DESCRIPTION="Abstraction layer on top of PyQt and PySide with additional custom QWidgets" -HOMEPAGE=" - https://github.com/spyder-ide/qtpy/ - https://pypi.org/project/QtPy/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86" - -_IUSE_QT_MODULES=" - designer +gui help multimedia +network opengl positioning - printsupport qml quick sensors serialport speech +sql svg testlib - webchannel webengine websockets +widgets +xml -" -IUSE="+pyqt5 pyqt6 pyside2 pyside6 ${_IUSE_QT_MODULES}" -unset _IUSE_QT_MODULES - -REQUIRED_USE=" - || ( pyqt5 pyqt6 pyside2 pyside6 ) - python_targets_python3_12? ( !pyside2 ) -" - -# These flags are currently *not* common to the PySide2/6 and PyQt5/6 ebuilds -# Disable them for now, please check periodically if this is still up to date. -# bluetooth? ( pyqt5/6 and pyside6 only ) -# dbus? ( pyqt5/6 and pyside6 only ) -# -# 3d? ( pyside2/6 only ) -# charts? ( pyside2 only ) -# concurrent? ( pyside2 only ) -# datavis? ( pyside2 only ) -# scxml? ( pyside2/6 only ) -# -# x11extras? ( pyside2 and pyqt5 only ) -# xmlpatterns? ( pyside2 and pyqt5 only ) -# -# location? ( pyside2/6 and pyqt5 only) -# nfc? ( pyqt6 and pyside6 only) -# spatialaudio? ( pyqt6 and pyside6 only) -# pdfium? ( pyqt6 and pyside6 only) - -# WARNING: the obvious solution of using || for PyQt5/pyside2 is not going -# to work. The package only checks whether PyQt5/pyside2 is installed, it does -# not verify whether they have the necessary modules (i.e. satisfy the USE dep). -# -# Webengine is a special case, because PyQt5 provides this in a separate package -# while PySide2 ships it in the same package. -# -# declarative/qml/quick is a special case, because PyQt5 bundles the bindings -# for qml and quick in one flag: declarative PySide2 does not. -# -# The PyQt5 ebuild currently enables xml support unconditionally, the flag is -# added anyway with a (+) to make it future proof if the ebuild were to change -# this behaviour in the future. -# -# The PySide2 ebuild currently enables opengl and serialport support -# unconditionally, the flag is added anyway with a (+) to make it future proof -# if the ebuild were to change this behaviour in the future. -RDEPEND=" - dev-python/packaging[${PYTHON_USEDEP}] - pyqt5? ( - dev-python/PyQt5[${PYTHON_USEDEP}] - dev-python/PyQt5[designer?,gui?,help?,multimedia?,network?,opengl?] - dev-python/PyQt5[positioning?,printsupport?,sensors?,serialport?,speech?,sql?,svg?] - dev-python/PyQt5[testlib?,webchannel?,websockets?,widgets?,xml(+)?] - qml? ( dev-python/PyQt5[declarative] ) - quick? ( dev-python/PyQt5[declarative] ) - webengine? ( dev-python/PyQtWebEngine[${PYTHON_USEDEP}] ) - ) - pyqt6? ( - dev-python/PyQt6[${PYTHON_USEDEP}] - dev-python/PyQt6[designer?,gui?,help?,multimedia?,network?,opengl?] - dev-python/PyQt6[positioning?,printsupport?,qml?,quick?,sensors?,serialport?,sql?] - dev-python/PyQt6[speech?,svg?,testlib?,webchannel?,websockets?,widgets?,xml?] - webengine? ( dev-python/PyQt6-WebEngine[${PYTHON_USEDEP},widgets?,quick?] ) - - ) - pyside2? ( - $(python_gen_cond_dep ' - dev-python/pyside2[${PYTHON_USEDEP}] - dev-python/pyside2[designer?,gui?,help?,multimedia?,network?,opengl(+)?] - dev-python/pyside2[positioning?,printsupport?,qml?,quick?,sensors?,serialport(+)?] - dev-python/pyside2[speech?,sql?,svg?,testlib?,webchannel?,webengine?,websockets?] - dev-python/pyside2[widgets?,xml?] - ' python3_{10..11}) - ) - pyside6? ( - dev-python/pyside6[${PYTHON_USEDEP}] - dev-python/pyside6[designer?,gui?,help?,multimedia?,network?,opengl?] - dev-python/pyside6[positioning?,printsupport?,qml?,quick?,sensors(-)?,serialport?] - dev-python/pyside6[speech(-)?,sql?,svg?,testlib?,webchannel?,webengine?,websockets?] - dev-python/pyside6[widgets?,xml?] - ) -" - -# The QtPy testsuite skips tests for bindings that are not installed, so here we -# ensure that everything is available and all tests are run. Note that not -# all flags are available in PyQt5/PySide2, so some tests are still skipped. -BDEPEND=" - test? ( - dev-python/pytest-qt[${PYTHON_USEDEP}] - pyqt5? ( - dev-python/PyQt5[${PYTHON_USEDEP}] - dev-python/PyQt5[bluetooth,dbus,declarative,designer,gui,help,location] - dev-python/PyQt5[multimedia,network,opengl,positioning,printsupport] - dev-python/PyQt5[sensors,serialport,speech(-),sql,svg,testlib,webchannel] - dev-python/PyQt5[websockets,widgets,x11extras,xml(+),xmlpatterns] - dev-python/PyQtWebEngine[${PYTHON_USEDEP}] - ) - pyqt6? ( - dev-python/PyQt6[${PYTHON_USEDEP}] - dev-python/PyQt6[dbus,designer,gui,help,multimedia,network,nfc,opengl] - dev-python/PyQt6[pdfium(-),positioning,printsupport,qml,quick,quick3d,serialport] - dev-python/PyQt6[sensors(-),spatialaudio(-),speech(-),sql,ssl,svg,testlib,webchannel] - dev-python/PyQt6[websockets,widgets,xml] - dev-python/PyQt6-WebEngine[${PYTHON_USEDEP},widgets,quick] - ) - pyside2? ( - $(python_gen_cond_dep ' - dev-python/pyside2[${PYTHON_USEDEP}] - dev-python/pyside2[3d,charts,concurrent,datavis,designer,gui,help] - dev-python/pyside2[location,multimedia,network,opengl(+)] - dev-python/pyside2[positioning,printsupport,qml,quick,scxml] - dev-python/pyside2[sensors,serialport(+),speech,sql,svg,testlib] - dev-python/pyside2[webchannel,webengine,websockets,widgets,x11extras] - dev-python/pyside2[xml,xmlpatterns] - ' python3_{10..11}) - ) - pyside6? ( - dev-python/pyside6[${PYTHON_USEDEP}] - dev-python/pyside6[3d(-),bluetooth(-),concurrent,dbus,designer,gui,help] - dev-python/pyside6[location(-),multimedia,network,nfc(-),opengl,positioning,pdfium(-)] - dev-python/pyside6[printsupport,qml,quick,quick3d,scxml(-),sensors(-)] - dev-python/pyside6[serialport,spatialaudio(-),speech(-),sql,svg,testlib,webchannel] - dev-python/pyside6[webengine,websockets,widgets,xml] - ) - ) -" - -distutils_enable_tests pytest - -src_prepare() { - distutils-r1_src_prepare - sed -i -e 's:--cov=qtpy --cov-report=term-missing::' pytest.ini || die - # Disable Qt for Python implementations that are not selected - if ! use pyqt5; then - sed -i -e '/from PyQt5.QtCore import/,/)/c\ \ \ \ \ \ \ \ raise ImportError #/' qtpy/__init__.py || die - fi - if ! use pyqt6; then - sed -i -e '/from PyQt6.QtCore import/,/)/c\ \ \ \ \ \ \ \ raise ImportError #/' qtpy/__init__.py || die - fi - if ! use pyside2; then - sed -i -e "s/from PySide2 import/raise ImportError #/" qtpy/__init__.py || die - sed -i -e "s/from PySide2.QtCore import/raise ImportError #/" qtpy/__init__.py || die - fi - if ! use pyside6; then - sed -i -e "s/from PySide6 import/raise ImportError #/" qtpy/__init__.py || die - sed -i -e "s/from PySide6.QtCore import/raise ImportError #/" qtpy/__init__.py || die - fi -} - -python_test() { - # Test for each enabled Qt4Python target. - # Deselect the other targets, their test fails if we specify QT_API - # or if we have disabled their corresponding inherit in __init__.py above - if use pyqt5; then - einfo "Testing with ${EPYTHON} and QT_API=PyQt5" - QT_API="pyqt5" virtx epytest \ - --deselect qtpy/tests/test_main.py::test_qt_api_environ[PySide2] \ - --deselect qtpy/tests/test_main.py::test_qt_api_environ[PyQt6] \ - --deselect qtpy/tests/test_main.py::test_qt_api_environ[PySide6] - fi - if use pyqt6; then - einfo "Testing with ${EPYTHON} and QT_API=PyQt6" - QT_API="pyqt6" virtx epytest \ - --deselect qtpy/tests/test_main.py::test_qt_api_environ[PySide2] \ - --deselect qtpy/tests/test_main.py::test_qt_api_environ[PyQt5] \ - --deselect qtpy/tests/test_main.py::test_qt_api_environ[PySide6] \ - --deselect qtpy/tests/test_qtsensors.py::test_qtsensors - # Qt6Sensors not yet packaged and enabled in PyQt6 ebuild - fi - if use pyside2; then - einfo "Testing with ${EPYTHON} and QT_API=PySide2" - QT_API="pyside2" virtx epytest \ - --deselect qtpy/tests/test_main.py::test_qt_api_environ[PyQt5] \ - --deselect qtpy/tests/test_main.py::test_qt_api_environ[PyQt6] \ - --deselect qtpy/tests/test_main.py::test_qt_api_environ[PySide6] - fi - if use pyside6; then - einfo "Testing with ${EPYTHON} and QT_API=PySide6" - QT_API="pyside6" virtx epytest \ - --deselect qtpy/tests/test_main.py::test_qt_api_environ[PySide2] \ - --deselect qtpy/tests/test_main.py::test_qt_api_environ[PyQt5] \ - --deselect qtpy/tests/test_main.py::test_qt_api_environ[PyQt6] \ - --deselect qtpy/tests/test_qtsensors.py::test_qtsensors - # Qt6Sensors not yet packaged and enabled in PySide6 ebuild - fi -} - -pkg_postinst() { - elog "When multiple Qt4Python targets are enabled QtPy will default to" - elog "the first enabled target in this order: PyQt5 PySide2 PyQt6 PySide6." - elog "This can be overridden with the QT_API environment variable." -} diff --git a/dev-python/QtPy/QtPy-2.4.0.ebuild b/dev-python/QtPy/QtPy-2.4.0.ebuild deleted file mode 100644 index aecca39704a1..000000000000 --- a/dev-python/QtPy/QtPy-2.4.0.ebuild +++ /dev/null @@ -1,216 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 virtualx pypi - -DESCRIPTION="Abstraction layer on top of PyQt and PySide with additional custom QWidgets" -HOMEPAGE=" - https://github.com/spyder-ide/qtpy/ - https://pypi.org/project/QtPy/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~loong ~riscv x86" - -_IUSE_QT_MODULES=" - designer +gui help multimedia +network opengl positioning - printsupport qml quick serialport +sql svg testlib - webchannel webengine websockets +widgets +xml -" -IUSE="+pyqt5 pyqt6 pyside2 pyside6 ${_IUSE_QT_MODULES}" -unset _IUSE_QT_MODULES - -REQUIRED_USE=" - || ( pyqt5 pyqt6 pyside2 pyside6 ) - python_targets_python3_12? ( !pyside2 !pyside6 ) -" - -# These flags are currently *not* common to the PySide2/6 and PyQt5/6 ebuilds -# Disable them for now, please check periodically if this is still up to date. -# bluetooth? ( pyqt5 only ) -# dbus? ( pyqt5 only ) -# -# 3d? ( pyside2 only ) -# charts? ( pyside2 only ) -# concurrent? ( pyside2 only ) -# datavis? ( pyside2 only ) -# scxml? ( pyside2 only ) -# -# location? ( pyside2 and pyqt5 only ) -# sensors? ( pyside2 and pyqt5 only ) -# speech? ( pyside2 and pyqt5 only ) -# x11extras? ( pyside2 and pyqt5 only ) -# xmlpatterns? ( pyside2 and pyqt5 only ) - -# WARNING: the obvious solution of using || for PyQt5/pyside2 is not going -# to work. The package only checks whether PyQt5/pyside2 is installed, it does -# not verify whether they have the necessary modules (i.e. satisfy the USE dep). -# -# Webengine is a special case, because PyQt5 provides this in a separate package -# while PySide2 ships it in the same package. -# -# declarative/qml/quick is a special case, because PyQt5 bundles the bindings -# for qml and quick in one flag: declarative PySide2 does not. -# -# The PyQt5 ebuild currently enables xml support unconditionally, the flag is -# added anyway with a (+) to make it future proof if the ebuild were to change -# this behaviour in the future. -# -# The PySide2 ebuild currently enables opengl and serialport support -# unconditionally, the flag is added anyway with a (+) to make it future proof -# if the ebuild were to change this behaviour in the future. -RDEPEND=" - dev-python/packaging[${PYTHON_USEDEP}] - pyqt5? ( - dev-python/PyQt5[${PYTHON_USEDEP}] - dev-python/PyQt5[designer?,gui?,help?,multimedia?,network?,opengl?] - dev-python/PyQt5[positioning?,printsupport?,serialport?,sql?,svg?] - dev-python/PyQt5[testlib?,webchannel?,websockets?,widgets?,xml(+)?] - qml? ( dev-python/PyQt5[declarative] ) - quick? ( dev-python/PyQt5[declarative] ) - webengine? ( dev-python/PyQtWebEngine[${PYTHON_USEDEP}] ) - ) - pyqt6? ( - dev-python/PyQt6[${PYTHON_USEDEP}] - dev-python/PyQt6[designer?,gui?,help?,multimedia?,network?,opengl?] - dev-python/PyQt6[positioning?,printsupport?,qml?,quick?,serialport?,sql?] - dev-python/PyQt6[svg?,testlib?,webchannel?,websockets?,widgets?,xml?] - webengine? ( dev-python/PyQt6-WebEngine[${PYTHON_USEDEP},widgets?,quick?] ) - - ) - pyside2? ( - $(python_gen_cond_dep ' - dev-python/pyside2[${PYTHON_USEDEP}] - dev-python/pyside2[designer?,gui?,help?,multimedia?,network?,opengl(+)?] - dev-python/pyside2[positioning?,printsupport?,qml?,quick?,serialport(+)?] - dev-python/pyside2[sql?,svg?,testlib?,webchannel?,webengine?,websockets?] - dev-python/pyside2[widgets?,xml?] - ' python3_{10..11}) - ) - pyside6? ( - $(python_gen_cond_dep ' - dev-python/pyside6[${PYTHON_USEDEP}] - dev-python/pyside6[designer?,gui?,help?,multimedia?,network?,opengl?] - dev-python/pyside6[positioning?,printsupport?,qml?,quick?,serialport?] - dev-python/pyside6[sql?,svg?,testlib?,webchannel?,webengine?,websockets?] - dev-python/pyside6[widgets?,xml?] - ' python3_{10..11}) - ) -" - -# The QtPy testsuite skips tests for bindings that are not installed, so here we -# ensure that everything is available and all tests are run. Note that not -# all flags are available in PyQt5/PySide2, so some tests are still skipped. -BDEPEND=" - test? ( - dev-python/pytest-qt[${PYTHON_USEDEP}] - pyqt5? ( - dev-python/PyQt5[${PYTHON_USEDEP}] - dev-python/PyQt5[bluetooth,dbus,declarative,designer,gui,help,location] - dev-python/PyQt5[multimedia,network,opengl,positioning,printsupport] - dev-python/PyQt5[sensors,serialport,speech(-),sql,svg,testlib,webchannel] - dev-python/PyQt5[websockets,widgets,x11extras,xml(+),xmlpatterns] - dev-python/PyQtWebEngine[${PYTHON_USEDEP}] - ) - pyqt6? ( - dev-python/PyQt6[${PYTHON_USEDEP}] - dev-python/PyQt6[dbus,designer,gui,help,multimedia,network,opengl] - dev-python/PyQt6[positioning,printsupport,qml,quick,quick3d,serialport] - dev-python/PyQt6[sql,ssl,svg,testlib,webchannel,websockets,widgets,xml] - dev-python/PyQt6-WebEngine[${PYTHON_USEDEP},widgets,quick] - ) - pyside2? ( - $(python_gen_cond_dep ' - dev-python/pyside2[${PYTHON_USEDEP}] - dev-python/pyside2[3d,charts,concurrent,datavis,designer,gui,help] - dev-python/pyside2[location,multimedia,network,opengl(+),positioning] - dev-python/pyside2[printsupport,qml,quick,scxml] - dev-python/pyside2[sensors,serialport(+),speech,sql,svg,testlib] - dev-python/pyside2[webchannel,webengine,websockets,widgets,x11extras] - dev-python/pyside2[xml,xmlpatterns] - ' python3_{10..11}) - ) - pyside6? ( - $(python_gen_cond_dep ' - dev-python/pyside6[${PYTHON_USEDEP}] - dev-python/pyside6[concurrent,dbus,designer,gui,help,multimedia] - dev-python/pyside6[network,opengl,positioning,printsupport,qml] - dev-python/pyside6[quick,quick3d,serialport,sql,svg,testlib] - dev-python/pyside6[webchannel,webengine,websockets,widgets,xml] - ' python3_{10..11}) - ) - ) -" - -distutils_enable_tests pytest - -src_prepare() { - distutils-r1_src_prepare - sed -i -e 's:--cov=qtpy --cov-report=term-missing::' pytest.ini || die - # Disable Qt for Python implementations that are not selected - if ! use pyqt5; then - sed -i -e '/from PyQt5.QtCore import/,/)/c\ \ \ \ \ \ \ \ raise ImportError #/' qtpy/__init__.py || die - fi - if ! use pyqt6; then - sed -i -e '/from PyQt6.QtCore import/,/)/c\ \ \ \ \ \ \ \ raise ImportError #/' qtpy/__init__.py || die - fi - if ! use pyside2; then - sed -i -e "s/from PySide2 import/raise ImportError #/" qtpy/__init__.py || die - sed -i -e "s/from PySide2.QtCore import/raise ImportError #/" qtpy/__init__.py || die - fi - if ! use pyside6; then - sed -i -e "s/from PySide6 import/raise ImportError #/" qtpy/__init__.py || die - sed -i -e "s/from PySide6.QtCore import/raise ImportError #/" qtpy/__init__.py || die - fi -} - -python_test() { - # Test for each enabled Qt4Python target. - # Deselect the other targets, their test fails if we specify QT_API - # or if we have disabled their corresponding inherit in __init__.py above - if use pyqt5; then - einfo "Testing with ${EPYTHON} and QT_API=PyQt5" - QT_API="pyqt5" virtx epytest \ - --deselect qtpy/tests/test_main.py::test_qt_api_environ[PySide2] \ - --deselect qtpy/tests/test_main.py::test_qt_api_environ[PyQt6] \ - --deselect qtpy/tests/test_main.py::test_qt_api_environ[PySide6] - fi - if use pyqt6; then - einfo "Testing with ${EPYTHON} and QT_API=PyQt6" - QT_API="pyqt6" virtx epytest \ - --deselect qtpy/tests/test_main.py::test_qt_api_environ[PySide2] \ - --deselect qtpy/tests/test_main.py::test_qt_api_environ[PyQt5] \ - --deselect qtpy/tests/test_main.py::test_qt_api_environ[PySide6] \ - --deselect qtpy/tests/test_qtsensors.py::test_qtsensors - # Qt6Sensors not yet packaged and enabled in PyQt6 ebuild - fi - if use pyside2; then - einfo "Testing with ${EPYTHON} and QT_API=PySide2" - QT_API="pyside2" virtx epytest \ - --deselect qtpy/tests/test_main.py::test_qt_api_environ[PyQt5] \ - --deselect qtpy/tests/test_main.py::test_qt_api_environ[PyQt6] \ - --deselect qtpy/tests/test_main.py::test_qt_api_environ[PySide6] - fi - if use pyside6; then - einfo "Testing with ${EPYTHON} and QT_API=PySide6" - QT_API="pyside6" virtx epytest \ - --deselect qtpy/tests/test_main.py::test_qt_api_environ[PySide2] \ - --deselect qtpy/tests/test_main.py::test_qt_api_environ[PyQt5] \ - --deselect qtpy/tests/test_main.py::test_qt_api_environ[PyQt6] \ - --deselect qtpy/tests/test_qtsensors.py::test_qtsensors - # Qt6Sensors not yet packaged and enabled in PySide6 ebuild - fi -} - -pkg_postinst() { - elog "When multiple Qt4Python targets are enabled QtPy will default to" - elog "the first enabled target in this order: PyQt5 PySide2 PyQt6 PySide6." - elog "This can be overridden with the QT_API environment variable." -} diff --git a/dev-python/dep-logic/Manifest b/dev-python/dep-logic/Manifest index 90b3a6d535ef..db0c1ceb6370 100644 --- a/dev-python/dep-logic/Manifest +++ b/dev-python/dep-logic/Manifest @@ -1,3 +1,5 @@ DIST dep_logic-0.0.3.tar.gz 27138 BLAKE2B 647473a3a14236e1103994936012f6a19602d1c33bb0a0dd595859fdcdba319b45f60adc244633fb01a805deda5250a03ff96f09651b68e98eb525b96cb02e4f SHA512 d69811e15412824c43a14cb58ae4ae38ae213ee927adb2ca01980c5ca90aab55d82096e53eab0b3a337b229943001c2df6c03c1817296f9b2cb4b21d28d23e4c +DIST dep_logic-0.0.4.tar.gz 27197 BLAKE2B e7047c767a0c29f05975c53da0bd0ef1232abef7f34cf6430a877251a56af7fff7e3a11c28781d74d32436ef0d5ce6647356f9ebc35b2fb925333ed4d973830f SHA512 fc2d300f1a71a751cb2d983cd25251b4cfe4cf2f61397625cadaf8d528d4ca4a393714cce3fc970665c278f6711aedba936c07050d458f4111280a4031ad9edb EBUILD dep-logic-0.0.3.ebuild 525 BLAKE2B 79a55e91e880cc411a7b2ead091f0baf0659dcc4e7419cc161c89759b5bc26909bdb7a187a6ccbbfeae68c936075b4239ad83067411ec9402b2ee27ada0b8376 SHA512 5702d2bfc4f6cafa03ec28804614f4ab98e8f41565cf0c66d678e8f394ff7b999438072426b9c6d0e04a020aa9328dd032ae053d773a1f973495ea0c9d9c714d +EBUILD dep-logic-0.0.4.ebuild 525 BLAKE2B 79a55e91e880cc411a7b2ead091f0baf0659dcc4e7419cc161c89759b5bc26909bdb7a187a6ccbbfeae68c936075b4239ad83067411ec9402b2ee27ada0b8376 SHA512 5702d2bfc4f6cafa03ec28804614f4ab98e8f41565cf0c66d678e8f394ff7b999438072426b9c6d0e04a020aa9328dd032ae053d773a1f973495ea0c9d9c714d MISC metadata.xml 376 BLAKE2B 9236c3ed79dc4016955d7316d573580fd61cdab5ccf2f0dd88004bb9c4fedbb4eb1a002b79e8bb2fb02792185484849d0e4f798d0a99ac3167de720e9bb6f8f6 SHA512 10b70dd0399365a6b19dc4f7a2d469bb9cd12ce03d3ce35e03b75457706d140edbb2cf6402a6793a58a64c8c91a6cd392e5113bdb86cbaf96df9df06a570132c diff --git a/dev-python/dep-logic/dep-logic-0.0.4.ebuild b/dev-python/dep-logic/dep-logic-0.0.4.ebuild new file mode 100644 index 000000000000..f3fd56588489 --- /dev/null +++ b/dev-python/dep-logic/dep-logic-0.0.4.ebuild @@ -0,0 +1,25 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pdm-backend +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python dependency specifications supporting logical operations" +HOMEPAGE=" + https://github.com/pdm-project/dep-logic/ + https://pypi.org/project/dep-logic/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + >=dev-python/packaging-22[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/expandvars/Manifest b/dev-python/expandvars/Manifest index a1fa1d4bbb89..54610e924a4d 100644 --- a/dev-python/expandvars/Manifest +++ b/dev-python/expandvars/Manifest @@ -1,3 +1,5 @@ DIST expandvars-0.11.0.gh.tar.gz 10663 BLAKE2B cfbcb8bedc61cc8b1e88d4774784518e15846f7ea5ddbf58bd016ea2043dd5b1c9e55af117f6482e05e9ae4ba07e01d0fb471a72719f38191f1a29a9f66387a9 SHA512 e8de6544f2d369728e35c8b862662f348f46673f836f8b14dbdcfdc3dbcb7efda80deb55f8bcd597037ac974752e2463d429ddda3b8502fe19c402c253babf7f +DIST expandvars-0.12.0.tar.gz 10909 BLAKE2B 8d58396f237a0a157f4d57fe9cc79058cdb0b7c514eec405769f67f82b1cf0bd91a98a680e4e730c51d65b0fc57b529f33ef10b96159b6027e4c81cbdeb77fc6 SHA512 b6eeb4693800737aef6367f4fb6080963882c59de2276f187565a764f6b800c747c1d98a1dc2e5107a62ccab420e3528064a1b67ccff8494f8ca2ebf96f05cc6 EBUILD expandvars-0.11.0.ebuild 855 BLAKE2B 070cc968148fe54bfc825169a5b24a05a00f0ae4363c47854d55d549537647a74f0c3f1e34f5b78e94747db5a30f20537231dcd6c8a6994448a8a13d09745c6e SHA512 267cfba2f20c59a901c7a7cb2a22b2002a91ca212441e43439f9472b849ff32ab4bd11e36d502e6473f76e5980bc417479f00010f69f018a6854fd8d423c8723 +EBUILD expandvars-0.12.0.ebuild 500 BLAKE2B bf20d437998618ae9466d0d099588670b382267572d5f5326a16bb6950f007dcfef33d99503cca1a34f513b63e094c8817eae01e29aae2c8ca1cf8513c19d59d SHA512 5b82e2da12dba8563f07eeb95e487b4fc51b28465ab2dd1f2469f3e15865f9a47560548c49fcab407b6350c20600266348005a34e5e5ff3f3d641a0c8aa93903 MISC metadata.xml 378 BLAKE2B ea984772fa8cd80ee947c6a950e90357d88fee179f2c389ac904b73aaeff153537f662f3f21604772c341e89b6d8ad772cf0e2ac253cd0a2a0038ab93d056dd4 SHA512 6fc7c7d666e6dc0d342525d9cef241a8cbd3f3f3725570dd3819628e1967c6a9a536a6df93266a55cafafd2e5cf0b1588fdc2fc1c9238919fb155f7b833cb212 diff --git a/dev-python/expandvars/expandvars-0.12.0.ebuild b/dev-python/expandvars/expandvars-0.12.0.ebuild new file mode 100644 index 000000000000..84158d0f7898 --- /dev/null +++ b/dev-python/expandvars/expandvars-0.12.0.ebuild @@ -0,0 +1,21 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Expand system variables Unix style" +HOMEPAGE=" + https://github.com/sayanarijit/expandvars/ + https://pypi.org/project/expandvars/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +distutils_enable_tests pytest diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 7d7f8b53974e..bfeef2486c56 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -2,8 +2,10 @@ DIST hypothesis-6.90.0.gh.tar.gz 9395761 BLAKE2B fb910f8f885355d6045f1f218dedf35 DIST hypothesis-6.91.0.gh.tar.gz 9396774 BLAKE2B c2db54aa0cb95725c2ef38854ee04d756551746ea2b9eb5b79728dec274ffed08b9e8357616ce7057f4e988d3194017ea35849bfb88a35ce8d9574dd6710c582 SHA512 e6280e14e600305a0d9007c086fb55a2c5f441e40274d920d627d7cf12f07b0fe65d1e64c42ad712d662cf0f5aa41bfbb00b6ae3a716e88dacb7c72c3067601c DIST hypothesis-6.91.1.gh.tar.gz 9398188 BLAKE2B 3a068ec668f84cf84ebd274505938d861ef7b6f50a9bb33403c26c53b783ee6fe6afba214ca5d9c31e933909dd657d367c09dd74dac257348316e308ed761ccb SHA512 4004fe0dcef1dc679ee512f901f1115426fdbd8d0f2b1fc539c331157d1840bb16c415c7bcf0cbfae3e1dcf6f9741eb8e2ec725810f5d65e20e75f0ea07369b8 DIST hypothesis-6.92.0.gh.tar.gz 9407699 BLAKE2B 7943aa958e135a954d4534b8992557a4ffd51941529cad6a8bb10b4ccd2e5c136159deaf11f822d96ecf60df536cff8b92756d902cd93de26df74ae10f73e14f SHA512 1fad215bd7ab69896d300ed39fd99a8a7145e6e21799429627b0d587939bfbe01d02fb7e1154a8b31f0b164ba9323b55b6ea36a268be20f1ef282d6b6f0d457a +DIST hypothesis-6.92.1.gh.tar.gz 9408706 BLAKE2B b41bba23e5aa8715ff095edddcae02430db99b3294c85cd74c3f553a203bf3f484f4820494519f7100a261bc646abf6bc1d8a45dafb97d4bf709115f480f2b91 SHA512 fd5e52a258ba46682ae198457d857cfc82230be6faaefa2160a764e56ac1d8abb32dc0eaed3606877ca7fd7d184232c5e218d8f2eab54e5b9db0fd6ad30c8930 EBUILD hypothesis-6.90.0.ebuild 2461 BLAKE2B f6e298ca639c631ff0749d70e82aa5f9a8a62a1cde53883ffae44b660c537cc9e14375ead8b424df849c4da590e6e6accfea39efc7fb414795301d760f0837a1 SHA512 6251d4aa72af0307c1d057dd72ec1a1924fe546237a7dc9625a75222f6331ba79500ebcc312d21870ec97dd297c30286f20b9f39059a43efdffa4a91eded701a EBUILD hypothesis-6.91.0.ebuild 2469 BLAKE2B d5d037935ee91a0d086f7651ebffedcf8eaa8f89106927d41dc008859ae22e945809012a2a3863f7f01ae4aea5c49bee36c68f39d17d26d7586049000418119b SHA512 a1ffd2ee8539b1dcb1e71ba521e2003136f40fecb8a1548dbfc89a4eeb9c8be9a6c52597b25c292f28e1a85b3f234bb9f9a7d91b2793a0fdb39feb5b6adcda8b EBUILD hypothesis-6.91.1.ebuild 2469 BLAKE2B 79c1aad30d28529c6c63f3279f7d86bee6a9a327c5ed447597b15456dee3f8de8af7bba45a376616e3460602ffb349206019731de6c44f3248fe568a1457a2dc SHA512 e4f204ef4113ffb64222031ccd954b450ddae44fd049c633e51082d030785f53928447c47ae7a167b3bc091f263caab90054e40cffe01d070a7b98060b973324 EBUILD hypothesis-6.92.0.ebuild 2469 BLAKE2B 79c1aad30d28529c6c63f3279f7d86bee6a9a327c5ed447597b15456dee3f8de8af7bba45a376616e3460602ffb349206019731de6c44f3248fe568a1457a2dc SHA512 e4f204ef4113ffb64222031ccd954b450ddae44fd049c633e51082d030785f53928447c47ae7a167b3bc091f263caab90054e40cffe01d070a7b98060b973324 +EBUILD hypothesis-6.92.1.ebuild 2469 BLAKE2B 79c1aad30d28529c6c63f3279f7d86bee6a9a327c5ed447597b15456dee3f8de8af7bba45a376616e3460602ffb349206019731de6c44f3248fe568a1457a2dc SHA512 e4f204ef4113ffb64222031ccd954b450ddae44fd049c633e51082d030785f53928447c47ae7a167b3bc091f263caab90054e40cffe01d070a7b98060b973324 MISC metadata.xml 492 BLAKE2B c9e9bbd59af55d1f47e5b7a86933c02b47f832122d03eaca56bd3ec9476cf260d91d4fd2da5068845d4525b7cc9f702b515e8d6a0dffa7923f5898cfd44e12a1 SHA512 166b33d6ac887f52d54fb9d556102038c00650a597d2de1c3aad3f8b5e136e9b6b7db31f05f3379435e4c5f943156d5839d78fc95461af411037a3162ea6705e diff --git a/dev-python/hypothesis/hypothesis-6.92.1.ebuild b/dev-python/hypothesis/hypothesis-6.92.1.ebuild new file mode 100644 index 000000000000..832123b43c6e --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.92.1.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +CLI_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( "${CLI_COMPAT[@]}" pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 multiprocessing optfeature + +TAG=hypothesis-python-${PV} +MY_P=hypothesis-${TAG} +DESCRIPTION="A library for property based testing" +HOMEPAGE=" + https://github.com/HypothesisWorks/hypothesis/ + https://pypi.org/project/hypothesis/ +" +SRC_URI=" + https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}/hypothesis-python" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="cli" + +RDEPEND=" + >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] + ' 3.9 3.10) + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' "${CLI_COMPAT[@]}") + ) +" +BDEPEND=" + test? ( + dev-python/pexpect[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + !!/dev/null - #include - int test[sizeof(time_t) >= 8 ? 1 : -1]; - EOF - - if [[ ${?} -eq 0 ]]; then - einfo "time_t is at least 64-bit long" - else - einfo "time_t is smaller than 64 bits, will skip broken tests" - EPYTEST_DESELECT+=( - tests/test_crypto.py::TestX509StoreContext::test_verify_with_time - ) - fi - - distutils-r1_src_test -} diff --git a/dev-python/pyopenssl/pyopenssl-23.3.0.ebuild b/dev-python/pyopenssl/pyopenssl-23.3.0.ebuild index 6955fe625dac..d4a5dc8b397d 100644 --- a/dev-python/pyopenssl/pyopenssl-23.3.0.ebuild +++ b/dev-python/pyopenssl/pyopenssl-23.3.0.ebuild @@ -21,7 +21,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ~ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND="