commit:     29dff2b2d12a06240bddc630778c5cc80de4d36b
Author:     David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Thu Nov 16 13:49:56 2023 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Thu Nov 16 13:55:06 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=29dff2b2

dev-python/webrtcvad: patch for oob and mem leak + update webrtc

Signed-off-by: David Roman <davidroman96 <AT> gmail.com>

 dev-python/webrtcvad/Manifest                   |  1 +
 dev-python/webrtcvad/webrtcvad-2.0.10-r1.ebuild | 27 +++++++++++++++++++++++++
 2 files changed, 28 insertions(+)

diff --git a/dev-python/webrtcvad/Manifest b/dev-python/webrtcvad/Manifest
index 6c9714040b..f7a5e1f0f4 100644
--- a/dev-python/webrtcvad/Manifest
+++ b/dev-python/webrtcvad/Manifest
@@ -1 +1,2 @@
+DIST webrtcvad-2.0.10-patches.tar.xz 36072 BLAKE2B 
efe6cfccfae8c2706e4c85d47fcf6cf91135ae85dfb59aec9d61457fa3f2856ea2e51c2df9b12dd0fc79d0484f56f56277e7782faf3564931d75e252b3ebbd3c
 SHA512 
0f18dfe92d767cf16c49677a88089f5b3a44b9e2e593d89cbcd145c23a0d049f09eb720ccc5b13a464943e9b68f1a5e741a40ed300a9a28a0eee33277ca19bfb
 DIST webrtcvad-2.0.10.tar.gz 183166 BLAKE2B 
aa36c895c23cb9d4ea9679c3a7231abac7ef5be4adf61f06fc557fff69ab84181cabf737d4c0a7255d518454a94ca3c4c0fc969405777f02ab3c1a7c0403eac2
 SHA512 
ce414e39c3128e22495e8e21e46d09485952168ca763937cebb654dab87ffcfecea8198c74c009a47d8caed2a8ebc22572036fda4be36597d82e6e7057f80ae2

diff --git a/dev-python/webrtcvad/webrtcvad-2.0.10-r1.ebuild 
b/dev-python/webrtcvad/webrtcvad-2.0.10-r1.ebuild
new file mode 100644
index 0000000000..c57a1d8db6
--- /dev/null
+++ b/dev-python/webrtcvad/webrtcvad-2.0.10-r1.ebuild
@@ -0,0 +1,27 @@
+# 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..11} )
+
+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"
+SRC_URI+=" https://gentoo.kropotkin.rocks/distfiles/${P}-patches.tar.xz";
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# Depends on a package removed from ::gento (bug #915162)
+RESTRICT="test"
+
+S="${WORKDIR}/py-${P}"
+
+PATCHES=( "${WORKDIR}/${PN}-update-webrtc.patch" 
"${WORKDIR}/${PN}-fix-mem-leak.patch" "${WORKDIR}/${PN}-fix-oob.patch" )
+

Reply via email to