diff --git a/dev-python/matrix-nio/Manifest b/dev-python/matrix-nio/Manifest index db47d69..dc18209 100644 --- a/dev-python/matrix-nio/Manifest +++ b/dev-python/matrix-nio/Manifest @@ -1 +1,2 @@ DIST matrix-nio-0.19.0.tar.gz 246334 BLAKE2B 14f35f64c3edaae4a09f0a6dd4c1693fee27c3a98b78ba912f2a45d5bfe6ee161e91491721415c0dffce84bf3eae97dbec78f39ecf502f83238ccb2452b7c196 SHA512 395b305c69507b852d06319d00a68417494a69a1217f194a04a3866d81185fdc480e957570b22e2eff900e6874cf1c86b598dd474948902a96537fa0ef174877 +DIST matrix-nio-0.20.2.gh.tar.gz 245057 BLAKE2B 06d77616e6a3aae9fac647e0134238a8675457f645b9fe7d645394ee6e36e3f8d6ea7fe2b4e54076accf52aa6689aad5158eb5dfb843a136397f42fbda6f12cd SHA512 5b0c4077104480ef2e0b090b0f9a3e60f10f98d1f83ecdf42475b175f26f33cc72e43755f8abfc643844e998c275b398125ee921a8313378e398096f45177617 diff --git a/dev-python/matrix-nio/matrix-nio-0.20.2.ebuild b/dev-python/matrix-nio/matrix-nio-0.20.2.ebuild new file mode 100644 index 0000000..8fcf111 --- /dev/null +++ b/dev-python/matrix-nio/matrix-nio-0.20.2.ebuild @@ -0,0 +1,60 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{10..11}) + +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-libs/olm-3.1.3[python(-),${PYTHON_USEDEP}] + >=dev-python/aiohttp-3.8.3[${PYTHON_USEDEP}] + >=dev-python/aiohttp-socks-0.7.0[${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/future-0.18.2[${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/logbook-1.5.3[${PYTHON_USEDEP}] + >=dev-python/peewee-3.14.4[${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.2[${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 +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" +)