Install this version:
emerge -a =dev-python/uiprotect-10.4.1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/uiprotect-10.4.1
Or alternatively:
emerge --autounmask-write -a =dev-python/uiprotect-10.4.1
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{12..14} )
DISTUTILS_USE_PEP517=poetry
inherit distutils-r1 pypi
DESCRIPTION="Python API for Unifi Protect (Unofficial)"
HOMEPAGE="https://github.com/uilibs/uiprotect https://pypi.org/project/uiprotect/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND="dev-python/rich[${PYTHON_USEDEP}]
>=dev-python/aiofiles-24[${PYTHON_USEDEP}]
>=dev-python/aiohttp-3.10.0[${PYTHON_USEDEP}]
>=dev-python/av-16[${PYTHON_USEDEP}]
>=dev-python/convertertools-0.5.0[${PYTHON_USEDEP}]
>=dev-python/dateparser-1.1.0[${PYTHON_USEDEP}]
>=dev-python/orjson-3.9.15[${PYTHON_USEDEP}]
>=dev-python/pillow-12.2.0[${PYTHON_USEDEP}]
>=dev-python/platformdirs-4.9.6[${PYTHON_USEDEP}]
>=dev-python/propcache-0.0.0[${PYTHON_USEDEP}]
>=dev-python/pydantic-2.13.0[${PYTHON_USEDEP}]
>=dev-python/pydantic-extra-types-2.10.1[${PYTHON_USEDEP}]
>=dev-python/pyjwt-2.6[${PYTHON_USEDEP}]
>=dev-python/typer-0.12.3[${PYTHON_USEDEP}]
>=dev-python/yarl-1.9[${PYTHON_USEDEP}]"
BDEPEND="
>=dev-python/packaging-23[${PYTHON_USEDEP}]
test? (
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
dev-python/pytest-timeout[${PYTHON_USEDEP}]
dev-python/pytest-xdist[${PYTHON_USEDEP}]
)"
distutils_enable_tests pytest
Manage flags for this package:
euse -i <flag> -p dev-python/uiprotect |
euse -E <flag> -p dev-python/uiprotect |
euse -D <flag> -p dev-python/uiprotect
dev-python/rich[] >=dev-python/aiofiles-24[] >=dev-python/aiohttp-3.10.0[] >=dev-python/av-16[] >=dev-python/convertertools-0.5.0[] >=dev-python/dateparser-1.1.0[] >=dev-python/orjson-3.9.15[] >=dev-python/pillow-12.2.0[] >=dev-python/platformdirs-4.9.6[] >=dev-python/propcache-0.0.0[] >=dev-python/pydantic-2.13.0[] >=dev-python/pydantic-extra-types-2.10.1[] >=dev-python/pyjwt-2.6[] >=dev-python/typer-0.12.3[] >=dev-python/yarl-1.9[]
>=dev-python/packaging-23[] test? ( dev-python/pytest-asyncio[] dev-python/pytest-timeout[] dev-python/pytest-xdist[] )