Install this version:
emerge -a =dev-python/darkdetect-0.8.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/darkdetect-0.8.0
Or alternatively:
emerge --autounmask-write -a =dev-python/darkdetect-0.8.0
# Copyright 2021-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{12..14} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi
DESCRIPTION="Detect OS dark mode from Python"
HOMEPAGE="https://github.com/5yutan5/PyQtDarkTheme https://pypi.org/project/PyQtDarkTheme"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"