1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 PYTHON_COMPAT=(python{2_7,3_3,3_4,3_5})
8 DISTUTILS_SINGLE_IMPL=true
9 inherit bash-completion-r1 distutils-r1 eutils git-r3
11 DESCRIPTION="Download videos from YouTube.com (and more sites...)"
12 HOMEPAGE="https://rg3.github.com/youtube-dl/"
13 EGIT_REPO_URI="https://github.com/rg3/youtube-dl.git"
15 LICENSE="public-domain"
21 dev-python/setuptools[${PYTHON_USEDEP}]
22 dev-python/sphinx[${PYTHON_USEDEP}]
23 test? ( dev-python/nose[coverage(+)] )
27 distutils-r1_src_compile
29 ${PYTHON} devscripts/bash-completion.py
37 python_domodule youtube_dl
40 doman docs/_build/man/${PN}.1
41 newbashcomp ${PN}.bash-completion ${PN}
42 python_fix_shebang "${ED}"