add support for python 3.9
PySide2 is missing py3.9 support at the moment. As a temporary workaround you can use version 1.9.0-r2, which hard depends on PyQt5 and cannot be used with PySide2.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83cdaf684ee505b580cbcb7da7b7ef29fcc98674 commit 83cdaf684ee505b580cbcb7da7b7ef29fcc98674 Author: Andrew Ammerlaan <andrewammerlaan@gentoo.org> AuthorDate: 2021-05-29 08:36:55 +0000 Commit: Andrew Ammerlaan <andrewammerlaan@gentoo.org> CommitDate: 2021-06-01 17:07:08 +0000 dev-python/QtPy: drop netwrokauth and webkit flag, add py3.{9,10} - PySide2 is not compatible with python3.10, to add python3.10 to this package anyway we need to force disable pyside2 if we want to use python_targets_python3_10. - To accomadate this we have to rewrite the test suite to support running if one of the two implementations is disabled. Otherwise tests would fail with USE="pyqt5 -pyside2 python_targets_python3_10: due to ImportErrors that we explicitly introduced in the prepare phase with USE="-pyside2" Closes: https://bugs.gentoo.org/780330 Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org> .../{QtPy-1.9.0-r2.ebuild => QtPy-1.9.0-r3.ebuild} | 7 ++- .../{QtPy-1.9.0-r4.ebuild => QtPy-1.9.0-r5.ebuild} | 73 ++++++++++++++-------- dev-python/QtPy/files/QtPy-1.9.0-python3_9.patch | 13 ++++ 3 files changed, 65 insertions(+), 28 deletions(-)