dev-python/opuslib - 3.0.1 (ha-bleeding-edge)

Search

Package Information

Description:
Python bindings to the libopus, IETF low-delay audio codec
Homepage:
https://github.com/onbeep/opuslib https://pypi.org/project/opuslib/
License:
BSD

Ebuild Details

Version EAPI Keywords Slot
3.0.1 8 amd64 arm arm64 x86 0
View Raw Ebuild
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi
DESCRIPTION="Python bindings to the libopus, IETF low-delay audio codec"
HOMEPAGE="https://github.com/onbeep/opuslib https://pypi.org/project/opuslib/"

LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"

DOCS="README.md"

RDEPEND=">=dev-python/coverage-4.4.1[${PYTHON_USEDEP}]
	>=dev-python/nose-1.3.7[${PYTHON_USEDEP}]"
BDEPEND="
	test? (
		dev-python/pytest[${PYTHON_USEDEP}]
	)"

python_test() {
	py.test -v -v || die
}

distutils_enable_tests pytest

USE Flags

Dependencies

RDEPEND

>=dev-python/coverage-4.4.1[${PYTHON_USEDEP}]
	>=dev-python/nose-1.3.7[${PYTHON_USEDEP}]

BDEPEND

	test? (
		dev-python/pytest[${PYTHON_USEDEP}]
	)