Install this version:
emerge -a =dev-python/sounddevice-0.5.5
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/sounddevice-0.5.5
Or alternatively:
emerge --autounmask-write -a =dev-python/sounddevice-0.5.5
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.5.5 | 8 | ~amd64 | 0 |
# Copyright 1999-2026 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
DESCRIPTION="Play and record sound with Python — CFFI bindings for PortAudio"
HOMEPAGE="
https://python-sounddevice.readthedocs.io/
https://github.com/spatialaudio/python-sounddevice
https://pypi.org/project/sounddevice/
"
SRC_URI="https://github.com/spatialaudio/python-${PN}/archive/refs/tags/${PV}.tar.gz
-> ${P}.gh.tar.gz"
S="${WORKDIR}/python-${PN}-${PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="numpy"
# CFFI runtime dlopen — system libportaudio is loaded at module import,
# not linked at build time. No C compilation step in this ebuild.
RDEPEND="
dev-python/cffi[${PYTHON_USEDEP}]
media-libs/portaudio
numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
"
DEPEND="${RDEPEND}"
BDEPEND="
dev-python/cffi[${PYTHON_USEDEP}]
dev-python/setuptools-scm[${PYTHON_USEDEP}]
"
Manage flags for this package:
euse -i <flag> -p dev-python/sounddevice |
euse -E <flag> -p dev-python/sounddevice |
euse -D <flag> -p dev-python/sounddevice
dev-python/cffi[] media-libs/portaudio numpy? ( dev-python/numpy[] )
dev-python/cffi[] media-libs/portaudio numpy? ( dev-python/numpy[] )
dev-python/cffi[] dev-python/setuptools-scm[]
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | sounddevice-0.5.5.gh.tar.gz | 145094 bytes | https://github.com/spatialaudio/python-sounddevice/archive/refs/tags/0.5.5.tar.gz |