From b5fa190c7a43fad478902f7e1ed06f645a1a44bb Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Sat, 21 Sep 2024 16:18:25 +0300 Subject: [PATCH] dev-python/matrix-nio: add 0.25.2_rc1 Signed-off-by: Alfred Wingate --- dev-python/matrix-nio/Manifest | 1 + .../matrix-nio/matrix-nio-0.25.2_rc1.ebuild | 62 +++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 dev-python/matrix-nio/matrix-nio-0.25.2_rc1.ebuild diff --git a/dev-python/matrix-nio/Manifest b/dev-python/matrix-nio/Manifest index b2b2e88..9b1f45c 100644 --- a/dev-python/matrix-nio/Manifest +++ b/dev-python/matrix-nio/Manifest @@ -2,3 +2,4 @@ DIST matrix-nio-0.24.0.gh.tar.gz 253259 BLAKE2B f4ff411701701d44082e452428e0866e DIST matrix-nio-0.25.0.gh.tar.gz 260414 BLAKE2B eb2878360a7715eaa83c6224cf5ed712ac8b8c87965e07dddbd930c9c6d9725ad4458ba81a633ebba2fe998439e47fd54ab728771694b8ae711a15c61510f220 SHA512 4fef8ab6071905b275833ea95c461af5978384b4f68c28e75e7e859146532619e42942c2cee4eeed6a521d4d810b0550e263b62e6ce13efd864791eb67fa2355 DIST matrix-nio-0.25.0_rc3.gh.tar.gz 259694 BLAKE2B f60e0c9970c5119499a3ebaf729dc901414110e93fe3e660b544a90bbba041087ea7d4fb80caaf08679e8ee09e623d28d35a160dd87cf747d54951dca059503a SHA512 61969f1f89b55445ec92e22616bae23a89805f66154022545dbfc4ea5ed2a960b2a04e401aafadb3a243c0abdd7a7025dbc655afdd05400de94b0db932e1e6e2 DIST matrix-nio-0.25.1.gh.tar.gz 260723 BLAKE2B 7064892c8e8e3ef37a7cfa90c57af54a212ae0212f9721a479f82530741b9290b6222b77141bead635ae602cd408f1a56183ad03aa20b3aca56358f2e92c7972 SHA512 72c7d7602aa5a37631a7a1273034e4db4c3b4671259e9bc1fccdcbd4719bfa4372bb70e279331fdc02664149f637f93ad8adf10655d41c41dc691f4d6dc876bf +DIST matrix-nio-0.25.2_rc1.gh.tar.gz 261013 BLAKE2B f330de5afebff430b29da958c000f5ae4f12137d1d70c4c94cc189e6fad13fb2fe951b96264e857746f8b6effb48702d459163fddf5533ec7dd11f6ae8142825 SHA512 731d233aaccb94f649d1829cde62d2a7721ff775251be48919f9ae914d16f545cc1eba37f5c02ff75f053df92288f8531ea6411f24c370b94ed6e0feb7350bbc diff --git a/dev-python/matrix-nio/matrix-nio-0.25.2_rc1.ebuild b/dev-python/matrix-nio/matrix-nio-0.25.2_rc1.ebuild new file mode 100644 index 0000000..05772bb --- /dev/null +++ b/dev-python/matrix-nio/matrix-nio-0.25.2_rc1.ebuild @@ -0,0 +1,62 @@ +# 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" + +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" +)