src_prepare-overlay/dev-python/matrix-nio/matrix-nio-0.19.0.ebuild
Alfred Wingate 1773ac6da8 dev-python/matrix-nio: add 0.19.0
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2022-07-09 17:07:02 +00:00

60 lines
1.9 KiB
Bash

# Copyright 2020-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=poetry
PYTHON_COMPAT=( python3_{8..10})
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="test"
RESTRICT="!test? ( test )"
RDEPEND="
>=dev-libs/olm-3.1.3[python(-),${PYTHON_USEDEP}]
>=dev-python/aiohttp-3.7.4[${PYTHON_USEDEP}]
>=dev-python/aiohttp-socks-0.7.0[${PYTHON_USEDEP}]
>=dev-python/aiofiles-0.6.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.12.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/pytest-benchmark-3.2.3[${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}]
)
"
distutils_enable_tests pytest
distutils_enable_sphinx doc dev-python/sphinx_rtd_theme dev-python/m2r2
EPYTEST_DESELECT=(
"tests/async_client_test.py::TestClass::test_connect_wrapper"
)