From 00a810e72e75970f428a0eaa49ddf31bc30301de Mon Sep 17 00:00:00 2001 From: akater Date: Tue, 27 Jul 2021 02:21:58 +0000 Subject: [PATCH] dev-python/matrix-nio: bump to 0.18.5 --- dev-python/matrix-nio/Manifest | 1 + .../matrix-nio/matrix-nio-0.18.5.ebuild | 66 +++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 dev-python/matrix-nio/matrix-nio-0.18.5.ebuild diff --git a/dev-python/matrix-nio/Manifest b/dev-python/matrix-nio/Manifest index 4ddd6b4..116bdff 100644 --- a/dev-python/matrix-nio/Manifest +++ b/dev-python/matrix-nio/Manifest @@ -1,2 +1,3 @@ DIST matrix-nio-0.18.2.tar.gz 240893 BLAKE2B 5f366810828fbe06d5d7523f7c6b2d3b2cb7b20cb32577a88609491efda212acafc573dbd2d92bbb1fd4a8784d6dd2c6a82eafa90d23c5b0fdce15822c720be2 SHA512 b53cbc4cfe84340d8bf0bdecf2ea10926f0aaf3a79b3c2dd4adefd15d4ee5328154efe84782f2ed11ca5ddc57b3b3ad61e969519e6e96394c38561335a00cb06 DIST matrix-nio-0.18.3.tar.gz 240965 BLAKE2B 59dc7b7df7ca7ac21b48c1694a730c149d6a0a04e1bc68b3e75fa9278657e44e09eb2fea3a7eb1f56b7bb1c8e7231d649f6908f05ff05acd0566b01d30d8031a SHA512 ca99d4962fbc2f6d82e5b6ea53fcd82d0ed5a3a1c8a21a7ff211bf8892d2b60f72944ae19a41b102cd6473e04eedb614488f2fa2a2fd130ad70078aea2ba9518 +DIST matrix-nio-0.18.5.tar.gz 241127 BLAKE2B 1b0816b6eb6f0c68e5ecfb10cb48ef43cebd6c16e7076a94bd4f1c104e71a86caca5774c483c942bbf5ea1142c57f7b661fd3030cf238c1ef5d009472f7096de SHA512 c325871abd6c9fad410d7c9938a44e15c62b18c2c00aa0b5e16a769636d23c64dd133fac9bc597db759b647f2cdba3b9eebf52b79c5327831d0fd99d43a1ff2a diff --git a/dev-python/matrix-nio/matrix-nio-0.18.5.ebuild b/dev-python/matrix-nio/matrix-nio-0.18.5.ebuild new file mode 100644 index 0000000..769d986 --- /dev/null +++ b/dev-python/matrix-nio/matrix-nio-0.18.5.ebuild @@ -0,0 +1,66 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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" + +# 30.6.2021: 3.10 blocked by aiohttp{,-socks}, future, logbook, olm, aioresponses, pytest-{aiohttp,benchmark,flake8,isort} +RDEPEND=" + >=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/future-0.18.2[${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-0.7.2[${PYTHON_USEDEP}] + dev-python/atomicwrites[${PYTHON_USEDEP}] + dev-python/cachetools[${PYTHON_USEDEP}] + >=dev-python/Faker-8.0.0[${PYTHON_USEDEP}] + dev-python/peewee[${PYTHON_USEDEP}] + >=dev-python/pytest-aiohttp-0.3.0[${PYTHON_USEDEP}] + >=dev-python/pytest-benchmark-3.2.3[${PYTHON_USEDEP}] + dev-python/pytest-flake8[${PYTHON_USEDEP}] + >=dev-python/pytest-isort-1.3.0[${PYTHON_USEDEP}] + >=dev-python/pytest-cov-2.11.1[${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}] + 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 +}