mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 21:13:27 -04:00
net-im/mautrix-telegram: enable py3.13
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user