# Copyright 2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python3_{8,9,10,11,12} ) DISTUTILS_USE_PEP517="poetry" inherit distutils-r1 MY_PV="${PV/_rc/rc}" DESCRIPTION="A Python Matrix client library, designed according to sans I/O principles." HOMEPAGE="https://github.com/matrix-nio/matrix-nio" SRC_URI="https://github.com/matrix-nio/matrix-nio/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" S="${WORKDIR}/${PN}-${MY_PV}" LICENSE="ISC" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="encryption" REQUIRED_USE="test? ( encryption )" DEPEND="" RDEPEND="${DEPEND} >=dev-python/aiohttp-3.9.0 =dev-python/aiofiles-23.1.0 =dev-python/h11-0.14.0 =dev-python/h2-4.0.0 =dev-python/jsonschema-4.14.0 =dev-python/unpaddedbase64-2.1.0 =dev-python/pycryptodome-3.10.1 =dev-python/aiohttp-socks-0.8.4 =dev-python/python-olm-3.2.16 =dev-python/peewee-3.14.4 =dev-python/cachetools-5.3.3 =dev-python/atomicwrites-1.4.0