From 7095e848f37255d0afca3bc0973391ad680cc332 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Tue, 15 Jun 2021 04:00:17 +0300 Subject: [PATCH] dev-python/matrix-nio: bump to 0.18.2 Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Alfred Wingate --- dev-python/matrix-nio/Manifest | 1 + .../matrix-nio/matrix-nio-0.18.2.ebuild | 65 +++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 dev-python/matrix-nio/matrix-nio-0.18.2.ebuild diff --git a/dev-python/matrix-nio/Manifest b/dev-python/matrix-nio/Manifest index 45be6cd..1ce91e2 100644 --- a/dev-python/matrix-nio/Manifest +++ b/dev-python/matrix-nio/Manifest @@ -1,2 +1,3 @@ DIST matrix-nio-0.17.0.tar.gz 240551 BLAKE2B 245faaf8604d14962b167ceddeb2cff03089c26216e3b8e695fb9e821cbbfe1c7d468d2f9a2e0a3d7a5f522c4f5b5d98c8fb661884a8e1fc48f7e6e7a848e9fa SHA512 eee5f6f97eab81ef28d8aaaf580a8f91ed56ae13b3795f89eaf90ead7fb62b2ce7c71cc768aac01dd9baacc44b36dff00cacaf9d51ef62f009c05d3ae3f3241e DIST matrix-nio-0.18.1.tar.gz 240808 BLAKE2B e4048eb7271ecb0208d766987c8151ad52bf4105dd84aafd12264bdb24165684bdbd5c1740cf595953847aa1280abd2c1c13ed9d96680ec3ea445005a611130e SHA512 46974d52f02cba71df25ee38c41d7bc458b6f8a1cd089cd6e15cb3ea0cfe2e47387ef5c415f2a18a2d01dac8e4d4b378e7aad9f5162371b6f0f40172929962d4 +DIST matrix-nio-0.18.2.tar.gz 240893 BLAKE2B 5f366810828fbe06d5d7523f7c6b2d3b2cb7b20cb32577a88609491efda212acafc573dbd2d92bbb1fd4a8784d6dd2c6a82eafa90d23c5b0fdce15822c720be2 SHA512 b53cbc4cfe84340d8bf0bdecf2ea10926f0aaf3a79b3c2dd4adefd15d4ee5328154efe84782f2ed11ca5ddc57b3b3ad61e969519e6e96394c38561335a00cb06 diff --git a/dev-python/matrix-nio/matrix-nio-0.18.2.ebuild b/dev-python/matrix-nio/matrix-nio-0.18.2.ebuild new file mode 100644 index 0000000..7cd7ad7 --- /dev/null +++ b/dev-python/matrix-nio/matrix-nio-0.18.2.ebuild @@ -0,0 +1,65 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..9}) +DISTUTILS_USE_SETUPTOOLS="pyproject.toml" + +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}.tar.gz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64" +IUSE="e2e test" + +RDEPEND=" + >=dev-python/future-0.18.2[${PYTHON_USEDEP}] + >=dev-python/aiohttp-3.7.4[${PYTHON_USEDEP}] + >=dev-python/aiohttp-socks-0.6.0[${PYTHON_USEDEP}] + >=dev-python/aiofiles-0.6.0[${PYTHON_USEDEP}] + >=dev-python/h11-0.12.0[${PYTHON_USEDEP}] + >=dev-python/hyper-h2-4.0.0[${PYTHON_USEDEP}] + >=dev-python/logbook-1.5.3[${PYTHON_USEDEP}] + >=dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}] + >=dev-python/unpaddedbase64-2.1.0[${PYTHON_USEDEP}] + >=dev-python/pycryptodome-3.10.1[${PYTHON_USEDEP}] + e2e? ( + >=dev-libs/olm-3.1.3[python(-),${PYTHON_USEDEP}] + >=dev-python/peewee-3.14.4[${PYTHON_USEDEP}] + >=dev-python/cachetools-4.2.1[${PYTHON_USEDEP}] + >=dev-python/atomicwrites-1.4.0[${PYTHON_USEDEP}] + ) +" +DEPEND=" + test? ( + ${RDEPEND} + dev-python/aioresponses[${PYTHON_USEDEP}] + dev-python/atomicwrites[${PYTHON_USEDEP}] + dev-python/cachetools[${PYTHON_USEDEP}] + dev-python/Faker[${PYTHON_USEDEP}] + dev-python/peewee[${PYTHON_USEDEP}] + dev-python/pytest-aiohttp[${PYTHON_USEDEP}] + dev-python/pytest-flake8[${PYTHON_USEDEP}] + dev-python/pytest-isort[${PYTHON_USEDEP}] + dev-python/pytest-cov[${PYTHON_USEDEP}] + dev-python/pytest-benchmark[${PYTHON_USEDEP}] + dev-python/hpack[${PYTHON_USEDEP}] + dev-python/hyperframe[${PYTHON_USEDEP}] + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/mypy[${PYTHON_USEDEP}] + dev-python/mypy_extensions[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx doc dev-python/sphinx_rtd_theme dev-python/m2r2 + +python_test() { + # Former requires internet access, latter fails randomly + epytest --deselect tests/async_client_test.py::TestClass::test_connect_wrapper[pyloop] --deselect tests/async_client_test.py::TestClass::test_transfer_monitor_callbacks +}