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