From fc463502bf24ca7127d308c04a9dc156c23768b6 Mon Sep 17 00:00:00 2001 From: Julien Roy Date: Tue, 14 May 2024 19:00:23 -0400 Subject: [PATCH 1/2] media-sound/mopidy: enable py3.12 Closes: https://bugs.gentoo.org/931462 Signed-off-by: Julien Roy --- media-sound/mopidy/mopidy-3.4.2.ebuild | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/media-sound/mopidy/mopidy-3.4.2.ebuild b/media-sound/mopidy/mopidy-3.4.2.ebuild index b2db08df02..e958d820a7 100644 --- a/media-sound/mopidy/mopidy-3.4.2.ebuild +++ b/media-sound/mopidy/mopidy-3.4.2.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_11 ) +PYTHON_COMPAT=( python3_{11..12} ) inherit distutils-r1 @@ -34,7 +34,15 @@ DEPEND=" distutils_enable_tests pytest -python_test() { - # Ignore broken tests (due to network-sandbox) - pytest -v --ignore tests/stream/test_playback.py || die -} +EPYTEST_IGNORE=( + # Upstream uses a mix of pytest and unittest + # Since most tests are pytest, let's ignore unittest tests + tests/http/test_server.py + tests/http/test_handlers.py +) + +EPYTEST_DESELECT=( + # Broken test due to network-sandbox + tests/stream/test_playback.py + tests/test_help.py::HelpTest::test_help_has_mopidy_options +) From 95ec3e038d49dfa84f3ea7d24dae6bffcca92841 Mon Sep 17 00:00:00 2001 From: Julien Roy Date: Tue, 14 May 2024 19:04:24 -0400 Subject: [PATCH 2/2] net-im/gajim-plugins: enable py3.12 Closes: https://bugs.gentoo.org/931469 Signed-off-by: Julien Roy --- net-im/gajim-plugins/gajim-plugins-9999.ebuild | 12 ++++-------- net-im/gajim-plugins/metadata.xml | 1 - 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/net-im/gajim-plugins/gajim-plugins-9999.ebuild b/net-im/gajim-plugins/gajim-plugins-9999.ebuild index 84807e8572..768e89c353 100644 --- a/net-im/gajim-plugins/gajim-plugins-9999.ebuild +++ b/net-im/gajim-plugins/gajim-plugins-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit git-r3 python-single-r1 @@ -16,19 +16,15 @@ S="${WORKDIR}/${P%_p2}" LICENSE="GPL-3" SLOT="0" MY_PLUGINS="acronyms_expander anti_spam clients_icons length_notifier - message_box_size now_listen omemo openpgp pgp plugins_translations + message_box_size now_listen openpgp pgp plugins_translations quick_replies triggers" IUSE="$(printf '+%s ' ${MY_PLUGINS[@]})" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" RDEPEND=" ${PYTHON_DEPS} $(python_gen_cond_dep ' net-im/gajim[${PYTHON_SINGLE_USEDEP}] - omemo? ( - net-im/gajim[omemo] - dev-python/python-axolotl[${PYTHON_USEDEP}] - dev-python/qrcode[${PYTHON_USEDEP}] - dev-python/cryptography[${PYTHON_USEDEP}] ) pgp? ( >=dev-python/python-gnupg-0.4.0[${PYTHON_USEDEP}] ) diff --git a/net-im/gajim-plugins/metadata.xml b/net-im/gajim-plugins/metadata.xml index 22868721b1..fc35977aa0 100644 --- a/net-im/gajim-plugins/metadata.xml +++ b/net-im/gajim-plugins/metadata.xml @@ -11,7 +11,6 @@ Plugin: Notifies you when message length reaches a limit Plugin: Allows you to adjust the height of the new message input field Plugin: Copy tune info to conversation input box - Plugin: OMEMO Multi-End Message and Object Encryption for 1:1 chats, groupchats, and file transfers Plugin: Encrypt your messages with OpenPGP (XEP-0373) Plugin: Encrypt your messages with PGP (XEP-0027) Plugin: Translation files for Gajim Plugins