guru/dev-python/webrtcvad/webrtcvad-2.0.10-r1.ebuild
Lucio Sauer 5f9d2af263
dev-python/*: fix variable order
I manually went through some entries for `pkgcheck scan -c
VariableOrderCheck`.

Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
Signed-off-by: Julien Roy <julien@jroy.ca>
2024-05-13 18:18:19 -04:00

31 lines
769 B
Bash

# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1
DESCRIPTION="Python interface to the Google WebRTC Voice Activity Detector (VAD)"
HOMEPAGE="https://github.com/wiseman/py-webrtcvad"
SRC_URI="https://github.com/wiseman/py-${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
https://gentoo.kropotkin.rocks/distfiles/${P}-patches.tar.xz"
S="${WORKDIR}/py-${P}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
# Depends on a package removed from ::gentoo (bug #915162)
RESTRICT="test"
PATCHES=(
"${WORKDIR}/${PN}-update-webrtc.patch"
"${WORKDIR}/${PN}-fix-mem-leak.patch"
"${WORKDIR}/${PN}-fix-oob.patch"
)