# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python3_{11..13} ) DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 pypi DESCRIPTION="A client library for Apple TV and AirPlay devices" HOMEPAGE="https://github.com/postlund/pyatv/ https://pyatv.dev https://pypi.org/project/pyatv/" LICENSE="MIT" SLOT="0" KEYWORDS="amd64 arm arm64 x86" IUSE="test" RESTRICT="!test? ( test )" DOCS="README.md" RDEPEND=">=dev-python/aiohttp-3.8.3[${PYTHON_USEDEP}] $(python_gen_cond_dep 'dev-python/async-timeout[${PYTHON_USEDEP}]' python3_10) >=dev-python/chacha20poly1305-reuseable-0.0.3[${PYTHON_USEDEP}] >=dev-python/cryptography-36.0.2[${PYTHON_USEDEP}] >=dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}] >=dev-python/mediafile-0.8.1[${PYTHON_USEDEP}] >=dev-python/miniaudio-1.45[${PYTHON_USEDEP}] >=dev-python/protobuf-python-4.23.4[${PYTHON_USEDEP}] >=dev-python/pydantic-1.10.10[${PYTHON_USEDEP}] >=dev-python/requests-2.23.0[${PYTHON_USEDEP}] >=dev-python/srptools-0.2.0[${PYTHON_USEDEP}] >=dev-python/tabulate-0.9.0[${PYTHON_USEDEP}] >=dev-python/zeroconf-0.72.0[${PYTHON_USEDEP}]" BDEPEND=" dev-python/pytest-runner[${PYTHON_USEDEP}] test? ( dev-python/pytest[${PYTHON_USEDEP}] dev-python/pytest-xdist[${PYTHON_USEDEP}] )" python_test() { py.test -v -v || die } distutils_enable_tests pytest