Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/youtube-dl: ChangeLog youtube-dl-2014.01.23.1.ebuild youtube-dl-2014.01.05.6.ebuild youtube-dl-2014.01.17.2.ebuild youtube-dl-2014.01.06.1.ebuild youtube-dl-2014.01.07.5.ebuild youtube-dl-2014.01.08.ebuild youtube-dl-2014.01.03.ebuild
Date: Thu, 23 Jan 2014 12:08:44
Message-Id: 20140123120837.2A01E2004C@flycatcher.gentoo.org
1 jer 14/01/23 12:08:37
2
3 Modified: ChangeLog
4 Added: youtube-dl-2014.01.23.1.ebuild
5 Removed: youtube-dl-2014.01.05.6.ebuild
6 youtube-dl-2014.01.17.2.ebuild
7 youtube-dl-2014.01.06.1.ebuild
8 youtube-dl-2014.01.07.5.ebuild
9 youtube-dl-2014.01.08.ebuild
10 youtube-dl-2014.01.03.ebuild
11 Log:
12 Version bump.
13
14 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key A792A613)
15
16 Revision Changes Path
17 1.291 net-misc/youtube-dl/ChangeLog
18
19 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/youtube-dl/ChangeLog?rev=1.291&view=markup
20 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/youtube-dl/ChangeLog?rev=1.291&content-type=text/plain
21 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/youtube-dl/ChangeLog?r1=1.290&r2=1.291
22
23 Index: ChangeLog
24 ===================================================================
25 RCS file: /var/cvsroot/gentoo-x86/net-misc/youtube-dl/ChangeLog,v
26 retrieving revision 1.290
27 retrieving revision 1.291
28 diff -u -r1.290 -r1.291
29 --- ChangeLog 20 Jan 2014 22:45:15 -0000 1.290
30 +++ ChangeLog 23 Jan 2014 12:08:36 -0000 1.291
31 @@ -1,6 +1,14 @@
32 # ChangeLog for net-misc/youtube-dl
33 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
34 -# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-dl/ChangeLog,v 1.290 2014/01/20 22:45:15 jer Exp $
35 +# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-dl/ChangeLog,v 1.291 2014/01/23 12:08:36 jer Exp $
36 +
37 +*youtube-dl-2014.01.23.1 (23 Jan 2014)
38 +
39 + 23 Jan 2014; Jeroen Roovers <jer@g.o> -youtube-dl-2014.01.03.ebuild,
40 + -youtube-dl-2014.01.05.6.ebuild, -youtube-dl-2014.01.06.1.ebuild,
41 + -youtube-dl-2014.01.07.5.ebuild, -youtube-dl-2014.01.08.ebuild,
42 + -youtube-dl-2014.01.17.2.ebuild, +youtube-dl-2014.01.23.1.ebuild:
43 + Version bump.
44
45 *youtube-dl-2014.01.20 (20 Jan 2014)
46
47
48
49
50 1.1 net-misc/youtube-dl/youtube-dl-2014.01.23.1.ebuild
51
52 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/youtube-dl/youtube-dl-2014.01.23.1.ebuild?rev=1.1&view=markup
53 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/youtube-dl/youtube-dl-2014.01.23.1.ebuild?rev=1.1&content-type=text/plain
54
55 Index: youtube-dl-2014.01.23.1.ebuild
56 ===================================================================
57 # Copyright 1999-2014 Gentoo Foundation
58 # Distributed under the terms of the GNU General Public License v2
59 # $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-dl/youtube-dl-2014.01.23.1.ebuild,v 1.1 2014/01/23 12:08:36 jer Exp $
60
61 EAPI=5
62
63 PYTHON_COMPAT=(python{2_6,2_7,3_3})
64 DISTUTILS_SINGLE_IMPL=true
65 inherit bash-completion-r1 distutils-r1 eutils
66
67 DESCRIPTION="Download videos from YouTube.com (and mores sites...)"
68 HOMEPAGE="http://rg3.github.com/youtube-dl/"
69 SRC_URI="http://youtube-dl.org/downloads/${PV}/${P}.tar.gz"
70
71 LICENSE="public-domain"
72 SLOT="0"
73 KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
74 IUSE="offensive test"
75
76 DEPEND="
77 dev-python/setuptools[${PYTHON_USEDEP}]
78 test? ( dev-python/nose[coverage(+)] )
79 "
80
81 S="${WORKDIR}/${PN}"
82
83 src_prepare() {
84 if ! use offensive; then
85 local xxx=(
86 extremetube mofosex pornhd pornhub pornotube redtube spankwire
87 thisav tube8 xhamster xnxx xtube xvideos youjizz youporn
88 )
89 sed -i -e $( printf '/%s/d;' ${xxx[@]} ) youtube_dl/extractor/__init__.py || die
90 rm $( printf 'youtube_dl/extractor/%s.py ' ${xxx[@]} ) \
91 test/test_age_restriction.py || die
92 fi
93 }
94
95 src_compile() {
96 distutils-r1_src_compile
97 }
98
99 src_test() {
100 emake test
101 }
102
103 src_install() {
104 python_domodule youtube_dl
105 dobin bin/${PN}
106 dodoc CHANGELOG README.txt
107 doman ${PN}.1
108 newbashcomp ${PN}.bash-completion ${PN}
109 python_fix_shebang "${ED}"
110 }