Install this version:
emerge -a =dev-python/pulsectl-23.5.2
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/pulsectl-23.5.2
Or alternatively:
emerge --autounmask-write -a =dev-python/pulsectl-23.5.2
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1 pypi
DESCRIPTION="Python high-level interface and ctypes-based bindings for PulseAudio (libpulse)"
HOMEPAGE="
https://github.com/mk-fg/python-pulse-control/
https://pypi.org/project/pulsectl/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
RDEPEND="
media-libs/libpulse
"
BDEPEND="
test? (
media-sound/pulseaudio-daemon
)
"
distutils_enable_tests unittest
media-libs/libpulse
test? ( media-sound/pulseaudio-daemon )