commit: ad9fc7a7d48f4d860a3f034efb120de87ea607bc Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> AuthorDate: Tue Oct 29 21:51:26 2024 +0000 Commit: David Roman <davidroman96 <AT> gmail <DOT> com> CommitDate: Tue Oct 29 21:51:26 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ad9fc7a7
dev-python/daiquiri: enable py3.13 Closes: https://bugs.gentoo.org/937359 Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in> dev-python/daiquiri/daiquiri-3.2.3.ebuild | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/dev-python/daiquiri/daiquiri-3.2.3.ebuild b/dev-python/daiquiri/daiquiri-3.2.3.ebuild index c2df3bdf6..8ec7e8a5f 100644 --- a/dev-python/daiquiri/daiquiri-3.2.3.ebuild +++ b/dev-python/daiquiri/daiquiri-3.2.3.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 optfeature pypi @@ -24,6 +24,19 @@ distutils_enable_tests pytest distutils_enable_sphinx doc/source +python_test() { + if [[ ${EPYTHON} =~ python3.1[23] ]]; then + # Broken by Gentoo patches for python-json-logger + local EPYTEST_DESELECT=( + daiquiri/tests/test_daiquiri.py::TestDaiquiri::test_setup_json_formatter + daiquiri/tests/test_daiquiri.py::TestDaiquiri::test_setup_json_formatter_with_extras + daiquiri/tests/test_output.py::TestOutput::test_datadog + ) + fi + + distutils-r1_python_test +} + pkg_postinst() { optfeature "journald support" dev-python/python-systemd }
