1 # Copyright 1999-2016 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python{2_7,3_4,3_5} )
10 DESCRIPTION="CLI for extracting streams from websites to a video player of your choice"
11 HOMEPAGE="https://streamlink.github.io/"
12 SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
14 KEYWORDS="~amd64 ~arm ~x86"
19 RDEPEND="dev-python/pycrypto[${PYTHON_USEDEP}]
20 dev-python/requests[${PYTHON_USEDEP}]
21 virtual/python-futures[${PYTHON_USEDEP}]
22 virtual/python-singledispatch[${PYTHON_USEDEP}]
24 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
25 doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
28 python_compile_all() {
29 use doc && emake -C docs html
36 python_install_all() {
37 use doc && local HTML_DOCS=( docs/_build/html/. )
38 distutils-r1_python_install_all