Install this version:
emerge -a =dev-python/uiprotect-12.0.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/uiprotect-12.0.0
Or alternatively:
emerge --autounmask-write -a =dev-python/uiprotect-12.0.0
# Copyright 1999-2026 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/aiofiles-24[${PYTHON_USEDEP}]
>=dev-python/aiohttp-3.14.0[${PYTHON_USEDEP}]
>=dev-python/aiozoneinfo-0.2.3[${PYTHON_USEDEP}]
>=dev-python/av-17.0.1[${PYTHON_USEDEP}]
>=dev-python/convertertools-0.5.0[${PYTHON_USEDEP}]
>=dev-python/orjson-3.11.9[${PYTHON_USEDEP}]
>=dev-python/pillow-12.2.0[${PYTHON_USEDEP}]
>=dev-python/platformdirs-4.9.6[${PYTHON_USEDEP}]
>=dev-python/propcache-0.5.2[${PYTHON_USEDEP}]
>=dev-python/pydantic-2.13.4[${PYTHON_USEDEP}]
>=dev-python/pydantic-extra-types-2.10.1[${PYTHON_USEDEP}]
>=dev-python/pyjwt-2.12.1[${PYTHON_USEDEP}]
>=dev-python/yarl-1.24.2[${PYTHON_USEDEP}]"
BDEPEND="
>=dev-python/packaging-26.2[${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/aiofiles-24[] >=dev-python/aiohttp-3.14.0[] >=dev-python/aiozoneinfo-0.2.3[] >=dev-python/av-17.0.1[] >=dev-python/convertertools-0.5.0[] >=dev-python/orjson-3.11.9[] >=dev-python/pillow-12.2.0[] >=dev-python/platformdirs-4.9.6[] >=dev-python/propcache-0.5.2[] >=dev-python/pydantic-2.13.4[] >=dev-python/pydantic-extra-types-2.10.1[] >=dev-python/pyjwt-2.12.1[] >=dev-python/yarl-1.24.2[]
>=dev-python/packaging-26.2[] test? ( dev-python/pytest-asyncio[] dev-python/pytest-timeout[] dev-python/pytest-xdist[] )