dev-python/matrix-nio: add 0.25.2

Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
Alfred Wingate 2024-10-05 08:01:37 +03:00
parent 9968a7fe44
commit 3011678a62
No known key found for this signature in database
GPG Key ID: A12750536B5E7010
2 changed files with 64 additions and 0 deletions

View File

@ -1,2 +1,3 @@
DIST matrix-nio-0.25.1.gh.tar.gz 260723 BLAKE2B 7064892c8e8e3ef37a7cfa90c57af54a212ae0212f9721a479f82530741b9290b6222b77141bead635ae602cd408f1a56183ad03aa20b3aca56358f2e92c7972 SHA512 72c7d7602aa5a37631a7a1273034e4db4c3b4671259e9bc1fccdcbd4719bfa4372bb70e279331fdc02664149f637f93ad8adf10655d41c41dc691f4d6dc876bf DIST matrix-nio-0.25.1.gh.tar.gz 260723 BLAKE2B 7064892c8e8e3ef37a7cfa90c57af54a212ae0212f9721a479f82530741b9290b6222b77141bead635ae602cd408f1a56183ad03aa20b3aca56358f2e92c7972 SHA512 72c7d7602aa5a37631a7a1273034e4db4c3b4671259e9bc1fccdcbd4719bfa4372bb70e279331fdc02664149f637f93ad8adf10655d41c41dc691f4d6dc876bf
DIST matrix-nio-0.25.2.gh.tar.gz 261074 BLAKE2B d4d750564955a7138573ea207dc95902324538aaa3e708459c739c2f523dd88222210f6777298acc26bd719fdc5f461cb552a8992911f8ba3173aea0a700b1d9 SHA512 a85991b29113814b955bfd5ffde4f211f428d5dde8649f79fec9344b1efd7f1fdb362b00d1e93c07bb3f668eb10ce8f39665528c099db4bca47d2f70e460d474
DIST matrix-nio-0.25.2_rc1.gh.tar.gz 261013 BLAKE2B f330de5afebff430b29da958c000f5ae4f12137d1d70c4c94cc189e6fad13fb2fe951b96264e857746f8b6effb48702d459163fddf5533ec7dd11f6ae8142825 SHA512 731d233aaccb94f649d1829cde62d2a7721ff775251be48919f9ae914d16f545cc1eba37f5c02ff75f053df92288f8531ea6411f24c370b94ed6e0feb7350bbc DIST matrix-nio-0.25.2_rc1.gh.tar.gz 261013 BLAKE2B f330de5afebff430b29da958c000f5ae4f12137d1d70c4c94cc189e6fad13fb2fe951b96264e857746f8b6effb48702d459163fddf5533ec7dd11f6ae8142825 SHA512 731d233aaccb94f649d1829cde62d2a7721ff775251be48919f9ae914d16f545cc1eba37f5c02ff75f053df92288f8531ea6411f24c370b94ed6e0feb7350bbc

View File

@ -0,0 +1,63 @@
# Copyright 2020-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1
MY_PV="${PV/_/}"
DESCRIPTION="A Python Matrix client library, designed according to sans I/O principles"
HOMEPAGE="https://github.com/matrix-nio/matrix-nio"
SRC_URI="https://github.com/matrix-nio/matrix-nio/archive/${MY_PV}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/${PN}-${MY_PV}"
LICENSE="ISC"
SLOT="0"
KEYWORDS="~amd64"
PROPERTIES="test_network"
RESTRICT="test !test? ( test )"
RDEPEND="
>=dev-python/python-olm-3.2.15[${PYTHON_USEDEP}]
>=dev-python/aiohttp-3.10.0[${PYTHON_USEDEP}]
>=dev-python/aiohttp-socks-0.8.4[${PYTHON_USEDEP}]
>=dev-python/aiofiles-24.1.0[${PYTHON_USEDEP}]
>=dev-python/atomicwrites-1.4.0[${PYTHON_USEDEP}]
>=dev-python/cachetools-5.3.0[${PYTHON_USEDEP}]
>=dev-python/h11-0.14.0[${PYTHON_USEDEP}]
>=dev-python/h2-4.0.0[${PYTHON_USEDEP}]
>=dev-python/jsonschema-4.14.0[${PYTHON_USEDEP}]
>=dev-python/peewee-3.2.0[${PYTHON_USEDEP}]
>=dev-python/pycryptodome-3.10.1[${PYTHON_USEDEP}]
>=dev-python/unpaddedbase64-2.1.0[${PYTHON_USEDEP}]
"
DEPEND="
test? (
>=dev-python/aioresponses-0.7.4[${PYTHON_USEDEP}]
>=dev-python/Faker-8.0.0[${PYTHON_USEDEP}]
>=dev-python/pytest-aiohttp-0.3.0[${PYTHON_USEDEP}]
>=dev-python/pytest-asyncio-0.24.0[${PYTHON_USEDEP}]
>=dev-python/hpack-4.0.0[${PYTHON_USEDEP}]
>=dev-python/hyperframe-6.0.0[${PYTHON_USEDEP}]
>=dev-python/hypothesis-6.8.9[${PYTHON_USEDEP}]
>=dev-python/mypy-0.812[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
distutils_enable_sphinx doc dev-python/sphinx-autodoc-typehints dev-python/sphinx-rtd-theme dev-python/sphinx-mdinclude
EPYTEST_DESELECT=(
# breaks network sandbox
"tests/async_client_test.py::TestClass::test_connect_wrapper"
# requires pytest-benchmark, not much value in pass/no pass tests
"tests/key_export_test.py::TestClass::test_decrypt_rounds"
"tests/key_export_test.py::TestClass::test_encrypt_rounds"
# flaky
"tests/async_client_test.py::TestClass::test_transfer_monitor_callbacks"
)