Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/youtube-dl/
Date: Sat, 26 Dec 2015 11:24:36
Message-Id: 1451129067.b7b779c5f3ae69b1c8f0a241ddf70626590c4dd8.jer@gentoo
1 commit: b7b779c5f3ae69b1c8f0a241ddf70626590c4dd8
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 26 11:23:53 2015 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 26 11:24:27 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7b779c5
7
8 net-misc/youtube-dl: Add live ebuild (bug #543188 by Leonardo Amaral).
9
10 Package-Manager: portage-2.2.26
11
12 net-misc/youtube-dl/youtube-dl-99999999.ebuild | 43 ++++++++++++++++++++++++++
13 1 file changed, 43 insertions(+)
14
15 diff --git a/net-misc/youtube-dl/youtube-dl-99999999.ebuild b/net-misc/youtube-dl/youtube-dl-99999999.ebuild
16 new file mode 100644
17 index 0000000..aba829c
18 --- /dev/null
19 +++ b/net-misc/youtube-dl/youtube-dl-99999999.ebuild
20 @@ -0,0 +1,43 @@
21 +# Copyright 1999-2015 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +# $Id$
24 +
25 +EAPI=5
26 +
27 +PYTHON_COMPAT=(python{2_7,3_3,3_4,3_5})
28 +DISTUTILS_SINGLE_IMPL=true
29 +inherit bash-completion-r1 distutils-r1 eutils git-r3
30 +
31 +DESCRIPTION="Download videos from YouTube.com (and more sites...)"
32 +HOMEPAGE="https://rg3.github.com/youtube-dl/"
33 +EGIT_REPO_URI="https://github.com/rg3/youtube-dl.git"
34 +
35 +LICENSE="public-domain"
36 +SLOT="0"
37 +KEYWORDS=""
38 +IUSE="test"
39 +
40 +DEPEND="
41 + dev-python/setuptools[${PYTHON_USEDEP}]
42 + dev-python/sphinx[${PYTHON_USEDEP}]
43 + test? ( dev-python/nose[coverage(+)] )
44 +"
45 +
46 +src_compile() {
47 + distutils-r1_src_compile
48 + emake -C docs man
49 + ${PYTHON} devscripts/bash-completion.py
50 +}
51 +
52 +src_test() {
53 + emake test
54 +}
55 +
56 +src_install() {
57 + python_domodule youtube_dl
58 + dobin bin/${PN}
59 + dodoc README.md
60 + doman docs/_build/man/${PN}.1
61 + newbashcomp ${PN}.bash-completion ${PN}
62 + python_fix_shebang "${ED}"
63 +}