net-im/pantalaimon: enable py3.12

Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
Alfred Wingate 2024-07-01 11:17:57 +03:00
parent 39611aeb36
commit eca11547b4
No known key found for this signature in database
GPG Key ID: A12750536B5E7010

View File

@ -1,10 +1,10 @@
# Copyright 2021-2023 Gentoo Authors
# Copyright 2021-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..11} )
PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1
DESCRIPTION="A Matrix proxy daemon that adds E2E encryption capabilities"
@ -38,14 +38,21 @@ RDEPEND="
<dev-python/pydbus-0.7[${PYTHON_USEDEP}]
dev-python/pygobject[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
${RDEPEND}
)
"
distutils_enable_tests pytest
EPYTEST_IGNORE=(
"tests/proxy_test.py"
)
EPYTEST_DESELECT=(
"tests/pan_client_test.py::TestClass::test_start_loop"
)
python_test() {
epytest -o asyncio_mode=auto -p asyncio
}
src_install() {
distutils-r1_src_install