Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/streamlink/
Date: Sun, 05 Mar 2017 14:37:45
Message-Id: 1488724656.d377f979b7ff6cbb1185dc02b18b4770eff56a3f.mgorny@gentoo
1 commit: d377f979b7ff6cbb1185dc02b18b4770eff56a3f
2 Author: soredake <fdsfgs <AT> krutt <DOT> org>
3 AuthorDate: Sun Mar 5 02:16:46 2017 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 5 14:37:36 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d377f979
7
8 net-misc/streamlink: update live ebuild
9
10 net-misc/streamlink/streamlink-9999.ebuild | 24 ++++++++++++++++++------
11 1 file changed, 18 insertions(+), 6 deletions(-)
12
13 diff --git a/net-misc/streamlink/streamlink-9999.ebuild b/net-misc/streamlink/streamlink-9999.ebuild
14 index 29a7bb91187..a39d95ab811 100644
15 --- a/net-misc/streamlink/streamlink-9999.ebuild
16 +++ b/net-misc/streamlink/streamlink-9999.ebuild
17 @@ -1,9 +1,10 @@
18 -# Copyright 1999-2016 Gentoo Foundation
19 +# Copyright 1999-2017 Gentoo Foundation
20 # Distributed under the terms of the GNU General Public License v2
21
22 EAPI=6
23
24 PYTHON_COMPAT=( python{2_7,3_4,3_5} )
25 +PYTHON_REQ_USE='xml(+),threads(+)'
26
27 inherit distutils-r1 git-r3
28
29 @@ -12,18 +13,29 @@ HOMEPAGE="https://streamlink.github.io/"
30 EGIT_REPO_URI="https://github.com/${PN}/${PN}"
31
32 KEYWORDS=""
33 -LICENSE="BSD-2"
34 +LICENSE="BSD-2 MIT"
35 SLOT="0"
36 IUSE="doc test"
37
38 -RDEPEND="dev-python/pycrypto[${PYTHON_USEDEP}]
39 +RDEPEND="dev-python/pycryptodome[${PYTHON_USEDEP}]
40 dev-python/requests[${PYTHON_USEDEP}]
41 virtual/python-futures[${PYTHON_USEDEP}]
42 virtual/python-singledispatch[${PYTHON_USEDEP}]
43 - media-video/rtmpdump"
44 + dev-python/backports-shutil_which[$(python_gen_usedep 'python2*')]
45 + dev-python/backports-shutil_get_terminal_size[$(python_gen_usedep 'python2*')]
46 + dev-python/pycountry[${PYTHON_USEDEP}]
47 + media-video/rtmpdump
48 + virtual/ffmpeg"
49 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
50 - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
51 - test? ( ${RDEPEND} )"
52 + doc? ( dev-python/sphinx[${PYTHON_USEDEP}]
53 + dev-python/docutils[${PYTHON_USEDEP}] )
54 + test? ( dev-python/mock[$(python_gen_usedep 'python2*')]
55 + ${RDEPEND} )"
56 +
57 +python_configure_all() {
58 + # Avoid iso-639, iso3166 dependencies since we use pycountry.
59 + export STREAMLINK_USE_PYCOUNTRY=1
60 +}
61
62 python_compile_all() {
63 use doc && emake -C docs html