commit:     519327cbac418839617cbdb5a7126d5af5eb6cad
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 19 09:52:57 2020 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Sun Jan 19 18:16:35 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=519327cb

net-misc/streamlink-9999: updates from release versions

Fixes to ebuild were done only to releases before - apply them to
live ebuild too finally.

Closes: https://bugs.gentoo.org/682382
Package-Manager: Portage-2.3.79, Repoman-2.3.12
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>

 net-misc/streamlink/streamlink-9999.ebuild | 30 +++++++++++++++++++++---------
 1 file changed, 21 insertions(+), 9 deletions(-)

diff --git a/net-misc/streamlink/streamlink-9999.ebuild 
b/net-misc/streamlink/streamlink-9999.ebuild
index 3fbdec990c5..7e262bddb1a 100644
--- a/net-misc/streamlink/streamlink-9999.ebuild
+++ b/net-misc/streamlink/streamlink-9999.ebuild
@@ -5,6 +5,7 @@ EAPI=6
 
 PYTHON_COMPAT=( python{2_7,3_6} )
 PYTHON_REQ_USE='xml(+),threads(+)'
+DISTUTILS_SINGLE_IMPL=1
 
 inherit distutils-r1 git-r3
 
@@ -18,25 +19,36 @@ SLOT="0"
 IUSE="doc test"
 RESTRICT="!test? ( test )"
 
-RDEPEND="dev-python/pycryptodome[${PYTHON_USEDEP}]
-       dev-python/requests[${PYTHON_USEDEP}]
+# >=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
+RDEPEND="
        virtual/python-futures[${PYTHON_USEDEP}]
        virtual/python-singledispatch[${PYTHON_USEDEP}]
-       dev-python/backports-shutil_which[$(python_gen_usedep 'python2*')]
+       >dev-python/requests-2.21.0[${PYTHON_USEDEP}]
+       >=dev-python/urllib3-1.23[${PYTHON_USEDEP}]
+       dev-python/isodate[${PYTHON_USEDEP}]
+       dev-python/websocket-client[${PYTHON_USEDEP}]
+       $(python_gen_cond_dep 
'dev-python/backports-shutil_which[${PYTHON_USEDEP}]' 'python2*')
        $(python_gen_cond_dep 
'dev-python/backports-shutil_get_terminal_size[${PYTHON_USEDEP}]' 'python2*')
        dev-python/pycountry[${PYTHON_USEDEP}]
-       dev-python/websocket-client[${PYTHON_USEDEP}]
-       media-video/rtmpdump
-       virtual/ffmpeg"
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+       >=dev-python/pycryptodome-3.4.3[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}
+       dev-python/setuptools[${PYTHON_USEDEP}]
        doc? (
                dev-python/sphinx[${PYTHON_USEDEP}]
                dev-python/docutils[${PYTHON_USEDEP}]
+               dev-python/recommonmark[${PYTHON_USEDEP}]
        )
        test? (
-               $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' 
'python2*')
-               ${RDEPEND}
+               dev-python/mock[${PYTHON_USEDEP}]
+               dev-python/requests-mock[${PYTHON_USEDEP}]
+               dev-python/pytest[${PYTHON_USEDEP}]
+               dev-python/freezegun[${PYTHON_USEDEP}]
        )"
+RDEPEND="${RDEPEND}
+       media-video/rtmpdump
+       virtual/ffmpeg
+"
 
 python_configure_all() {
        # Avoid iso-639, iso3166 dependencies since we use pycountry.

Reply via email to