Gentoo Archives: gentoo-commits

From: Nicola Smaniotto <smaniotto.nicola@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/webrtcvad/
Date: Mon, 26 Jul 2021 18:23:23
Message-Id: 1627323684.a4436269063f9d7bf542bc86d45398d545dd34b7.smaniotto.nicola@gentoo
1 commit: a4436269063f9d7bf542bc86d45398d545dd34b7
2 Author: Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
3 AuthorDate: Mon Jul 26 18:21:24 2021 +0000
4 Commit: Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
5 CommitDate: Mon Jul 26 18:21:24 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a4436269
7
8 dev-python/webrtcvad: add test dep, change SRC_URI
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.2
11 Signed-off-by: Nicola Smaniotto <smaniotto.nicola <AT> gmail.com>
12
13 dev-python/webrtcvad/Manifest | 2 +-
14 dev-python/webrtcvad/webrtcvad-2.0.10.ebuild | 10 +++++++++-
15 2 files changed, 10 insertions(+), 2 deletions(-)
16
17 diff --git a/dev-python/webrtcvad/Manifest b/dev-python/webrtcvad/Manifest
18 index 47255637f..6c9714040 100644
19 --- a/dev-python/webrtcvad/Manifest
20 +++ b/dev-python/webrtcvad/Manifest
21 @@ -1 +1 @@
22 -DIST webrtcvad-2.0.10.tar.gz 66156 BLAKE2B 7897903e66e1693ba780f4f4a821cab971206b6a1d6ff2d87d37164a3759f4cde249943e6defd1d548196bb057b726e2af715ad0594c45400735e4f4da27f014 SHA512 375c2161446dda62df7c8a81540b141663ada44f8b335338d1552dff97286d1f28e045a900a079ea42fb1fe11370252e014b31b140a44c7ae0a10bf8a4ac6333
23 +DIST webrtcvad-2.0.10.tar.gz 183166 BLAKE2B aa36c895c23cb9d4ea9679c3a7231abac7ef5be4adf61f06fc557fff69ab84181cabf737d4c0a7255d518454a94ca3c4c0fc969405777f02ab3c1a7c0403eac2 SHA512 ce414e39c3128e22495e8e21e46d09485952168ca763937cebb654dab87ffcfecea8198c74c009a47d8caed2a8ebc22572036fda4be36597d82e6e7057f80ae2
24
25 diff --git a/dev-python/webrtcvad/webrtcvad-2.0.10.ebuild b/dev-python/webrtcvad/webrtcvad-2.0.10.ebuild
26 index d351a7363..389b09dca 100644
27 --- a/dev-python/webrtcvad/webrtcvad-2.0.10.ebuild
28 +++ b/dev-python/webrtcvad/webrtcvad-2.0.10.ebuild
29 @@ -9,10 +9,18 @@ inherit distutils-r1
30
31 DESCRIPTION="Python interface to the Google WebRTC Voice Activity Detector (VAD)"
32 HOMEPAGE="https://github.com/wiseman/py-webrtcvad"
33 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
34 +SRC_URI="https://github.com/wiseman/py-${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
35
36 LICENSE="MIT"
37 SLOT="0"
38 KEYWORDS="~amd64"
39
40 +S="${WORKDIR}/py-${P}"
41 +
42 distutils_enable_tests nose
43 +
44 +DEPEND="
45 + test? (
46 + dev-python/memory_profiler[${PYTHON_USEDEP}]
47 + )
48 + "