Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/streamlink/
Date: Sun, 19 Jan 2020 18:17:03
Message-Id: 1579457795.519327cbac418839617cbdb5a7126d5af5eb6cad.leio@gentoo
1 commit: 519327cbac418839617cbdb5a7126d5af5eb6cad
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 19 09:52:57 2020 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 19 18:16:35 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=519327cb
7
8 net-misc/streamlink-9999: updates from release versions
9
10 Fixes to ebuild were done only to releases before - apply them to
11 live ebuild too finally.
12
13 Closes: https://bugs.gentoo.org/682382
14 Package-Manager: Portage-2.3.79, Repoman-2.3.12
15 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
16
17 net-misc/streamlink/streamlink-9999.ebuild | 30 +++++++++++++++++++++---------
18 1 file changed, 21 insertions(+), 9 deletions(-)
19
20 diff --git a/net-misc/streamlink/streamlink-9999.ebuild b/net-misc/streamlink/streamlink-9999.ebuild
21 index 3fbdec990c5..7e262bddb1a 100644
22 --- a/net-misc/streamlink/streamlink-9999.ebuild
23 +++ b/net-misc/streamlink/streamlink-9999.ebuild
24 @@ -5,6 +5,7 @@ EAPI=6
25
26 PYTHON_COMPAT=( python{2_7,3_6} )
27 PYTHON_REQ_USE='xml(+),threads(+)'
28 +DISTUTILS_SINGLE_IMPL=1
29
30 inherit distutils-r1 git-r3
31
32 @@ -18,25 +19,36 @@ SLOT="0"
33 IUSE="doc test"
34 RESTRICT="!test? ( test )"
35
36 -RDEPEND="dev-python/pycryptodome[${PYTHON_USEDEP}]
37 - dev-python/requests[${PYTHON_USEDEP}]
38 +# >=urllib3-1.23 only needed for python2, but requests pulls some version anyways, so we might as well guarantee at least that ver for py3 too
39 +RDEPEND="
40 virtual/python-futures[${PYTHON_USEDEP}]
41 virtual/python-singledispatch[${PYTHON_USEDEP}]
42 - dev-python/backports-shutil_which[$(python_gen_usedep 'python2*')]
43 + >dev-python/requests-2.21.0[${PYTHON_USEDEP}]
44 + >=dev-python/urllib3-1.23[${PYTHON_USEDEP}]
45 + dev-python/isodate[${PYTHON_USEDEP}]
46 + dev-python/websocket-client[${PYTHON_USEDEP}]
47 + $(python_gen_cond_dep 'dev-python/backports-shutil_which[${PYTHON_USEDEP}]' 'python2*')
48 $(python_gen_cond_dep 'dev-python/backports-shutil_get_terminal_size[${PYTHON_USEDEP}]' 'python2*')
49 dev-python/pycountry[${PYTHON_USEDEP}]
50 - dev-python/websocket-client[${PYTHON_USEDEP}]
51 - media-video/rtmpdump
52 - virtual/ffmpeg"
53 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
54 + >=dev-python/pycryptodome-3.4.3[${PYTHON_USEDEP}]
55 +"
56 +DEPEND="${RDEPEND}
57 + dev-python/setuptools[${PYTHON_USEDEP}]
58 doc? (
59 dev-python/sphinx[${PYTHON_USEDEP}]
60 dev-python/docutils[${PYTHON_USEDEP}]
61 + dev-python/recommonmark[${PYTHON_USEDEP}]
62 )
63 test? (
64 - $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' 'python2*')
65 - ${RDEPEND}
66 + dev-python/mock[${PYTHON_USEDEP}]
67 + dev-python/requests-mock[${PYTHON_USEDEP}]
68 + dev-python/pytest[${PYTHON_USEDEP}]
69 + dev-python/freezegun[${PYTHON_USEDEP}]
70 )"
71 +RDEPEND="${RDEPEND}
72 + media-video/rtmpdump
73 + virtual/ffmpeg
74 +"
75
76 python_configure_all() {
77 # Avoid iso-639, iso3166 dependencies since we use pycountry.