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