From dd72034c64483eb0a1951cf9ec843b865d228ad5 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Thu, 18 Jan 2024 10:42:27 +0200 Subject: [PATCH] dev-python/matrix-nio: add 0.24.0 Signed-off-by: Alfred Wingate --- dev-python/matrix-nio/Manifest | 1 + .../matrix-nio/matrix-nio-0.24.0.ebuild | 59 +++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 dev-python/matrix-nio/matrix-nio-0.24.0.ebuild diff --git a/dev-python/matrix-nio/Manifest b/dev-python/matrix-nio/Manifest index 23bb145..1fabe15 100644 --- a/dev-python/matrix-nio/Manifest +++ b/dev-python/matrix-nio/Manifest @@ -1,2 +1,3 @@ DIST matrix-nio-0.22.1.gh.tar.gz 251898 BLAKE2B a91020e85f2be5b0d5fc7722291bcb9e783bd3b6cc5b3e659e9efe7fd0e66ce03bd2a711d18e54eb5b34cb56385ef5e61a704113948a1266f107b011495754e8 SHA512 d5582ffba89ce3e8548b9b27accfae41ec83f8d86935d4cab7847560ad61533cf62a24407f5b46d8b466782c537bcd27c296188bbb05d4a8359ebfea5d2668ab DIST matrix-nio-0.23.0.gh.tar.gz 252986 BLAKE2B 7ca3d0e74a26d5f61439d63c44878c1df9858ade3fc0467188e1bc4a2cde25da70482613f8197e8e4017a2ceba5876d823d0f62975ed816e24ba1099bfe5b999 SHA512 7fe373342db348fa82e56221700b9c7086f67edaa998833a24ee50d8fe989b406b8d6a5361846cbcd62d3c67df2a01652239f1eeacc90edbe287543d93ec2a3b +DIST matrix-nio-0.24.0.gh.tar.gz 253259 BLAKE2B f4ff411701701d44082e452428e0866eb579ecdf833586d5524c77e3a3f0335c8af2af4f0ebd5a8f943986eb41b6e611293d9e2916da33d034ed6cc455df38b5 SHA512 b48b712b3fa75a251ff1f1689bf08feb5df993ec6f8112774a1c413d45e686f90ab6d7e5aa972acbd8a65af070716317aa361607c38e62282b640e7d514dbc08 diff --git a/dev-python/matrix-nio/matrix-nio-0.24.0.ebuild b/dev-python/matrix-nio/matrix-nio-0.24.0.ebuild new file mode 100644 index 0000000..7bf6d47 --- /dev/null +++ b/dev-python/matrix-nio/matrix-nio-0.24.0.ebuild @@ -0,0 +1,59 @@ +# Copyright 2020-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="A Python Matrix client library, designed according to sans I/O principles" +HOMEPAGE="https://github.com/poljar/matrix-nio" +SRC_URI="https://github.com/poljar/matrix-nio/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/python-olm-3.2.15[${PYTHON_USEDEP}] + >=dev-python/aiohttp-3.9.0[${PYTHON_USEDEP}] + >=dev-python/aiohttp-socks-0.8.4[${PYTHON_USEDEP}] + >=dev-python/aiofiles-23.1.0[${PYTHON_USEDEP}] + >=dev-python/atomicwrites-1.4.0[${PYTHON_USEDEP}] + >=dev-python/cachetools-4.2.1[${PYTHON_USEDEP}] + >=dev-python/h11-0.14.0[${PYTHON_USEDEP}] + >=dev-python/h2-4.0.0[${PYTHON_USEDEP}] + >=dev-python/jsonschema-4.4.0[${PYTHON_USEDEP}] + >=dev-python/peewee-3.17.0[${PYTHON_USEDEP}] + >=dev-python/pycryptodome-3.10.1[${PYTHON_USEDEP}] + >=dev-python/unpaddedbase64-2.1.0[${PYTHON_USEDEP}] +" +DEPEND=" + test? ( + ${RDEPEND} + >=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/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 +# m2r2 mistune woes +#distutils_enable_sphinx doc dev-python/sphinx-rtd-theme dev-python/m2r2 + +EPYTEST_DESELECT=( + # 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" +)