diff options
author | Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> | 2024-11-17 10:07:22 +0500 |
---|---|---|
committer | Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> | 2024-11-17 10:08:02 +0500 |
commit | 2569f07f063615ff033e7eac0d9b75763416620d (patch) | |
tree | ce31b9b187915fbc912a6328e27f5aa02945f863 /net-im | |
parent | sys-auth/hyprpolkitagent: add GCC version check (diff) | |
download | guru-2569f07f063615ff033e7eac0d9b75763416620d.tar.gz guru-2569f07f063615ff033e7eac0d9b75763416620d.tar.bz2 guru-2569f07f063615ff033e7eac0d9b75763416620d.zip |
net-im/mautrix-telegram: enable py3.13
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/mautrix-telegram/mautrix-telegram-0.15.2.ebuild | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/net-im/mautrix-telegram/mautrix-telegram-0.15.2.ebuild b/net-im/mautrix-telegram/mautrix-telegram-0.15.2.ebuild index 12d765dcc..b8724c0e2 100644 --- a/net-im/mautrix-telegram/mautrix-telegram-0.15.2.ebuild +++ b/net-im/mautrix-telegram/mautrix-telegram-0.15.2.ebuild @@ -5,7 +5,7 @@ EAPI=8 PYPI_NO_NORMALIZE=1 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 optfeature pypi systemd @@ -46,6 +46,19 @@ RDEPEND=" sqlite? ( dev-python/aiosqlite[${PYTHON_USEDEP}] ) " +distutils_enable_tests import-check + +python_test() { + local sitedir="${BUILD_DIR}/install$(python_get_sitedir)" + local EPYTEST_IGNORE=( + "${sitedir}/mautrix_telegram/__main__.py" + "${sitedir}/mautrix_telegram/abstract_user.py" + "${sitedir}/mautrix_telegram/scripts/unicodemojipack/__main__.py" + ) + + epytest --import-check "${sitedir}" +} + src_install() { distutils-r1_src_install |