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.02.26.ebuild ChangeLog youtube-dl-2014.02.06.3.ebuild youtube-dl-2014.02.08.2.ebuild youtube-dl-2014.02.03.ebuild youtube-dl-2014.02.06.2.ebuild youtube-dl-2014.02.04.1.ebuild
Date: Wed, 26 Feb 2014 19:26:08
Message-Id: 20140226192603.6D31A2004C@flycatcher.gentoo.org
1 jer 14/02/26 19:26:03
2
3 Modified: ChangeLog
4 Added: youtube-dl-2014.02.26.ebuild
5 Removed: youtube-dl-2014.02.06.3.ebuild
6 youtube-dl-2014.02.08.2.ebuild
7 youtube-dl-2014.02.03.ebuild
8 youtube-dl-2014.02.06.2.ebuild
9 youtube-dl-2014.02.04.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.308 net-misc/youtube-dl/ChangeLog
17
18 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/youtube-dl/ChangeLog?rev=1.308&view=markup
19 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/youtube-dl/ChangeLog?rev=1.308&content-type=text/plain
20 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/youtube-dl/ChangeLog?r1=1.307&r2=1.308
21
22 Index: ChangeLog
23 ===================================================================
24 RCS file: /var/cvsroot/gentoo-x86/net-misc/youtube-dl/ChangeLog,v
25 retrieving revision 1.307
26 retrieving revision 1.308
27 diff -u -r1.307 -r1.308
28 --- ChangeLog 24 Feb 2014 12:14:27 -0000 1.307
29 +++ ChangeLog 26 Feb 2014 19:26:03 -0000 1.308
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.307 2014/02/24 12:14:27 jer Exp $
34 +# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-dl/ChangeLog,v 1.308 2014/02/26 19:26:03 jer Exp $
35 +
36 +*youtube-dl-2014.02.26 (26 Feb 2014)
37 +
38 + 26 Feb 2014; Jeroen Roovers <jer@g.o> -youtube-dl-2014.02.03.ebuild,
39 + -youtube-dl-2014.02.04.1.ebuild, -youtube-dl-2014.02.06.2.ebuild,
40 + -youtube-dl-2014.02.06.3.ebuild, -youtube-dl-2014.02.08.2.ebuild,
41 + +youtube-dl-2014.02.26.ebuild:
42 + Version bump.
43
44 *youtube-dl-2014.02.24 (24 Feb 2014)
45
46
47
48
49 1.1 net-misc/youtube-dl/youtube-dl-2014.02.26.ebuild
50
51 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/youtube-dl/youtube-dl-2014.02.26.ebuild?rev=1.1&view=markup
52 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/youtube-dl/youtube-dl-2014.02.26.ebuild?rev=1.1&content-type=text/plain
53
54 Index: youtube-dl-2014.02.26.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.26.ebuild,v 1.1 2014/02/26 19:26:03 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 fourtube mofosex pornhd pornhub pornotube redtube
86 spankwire thisav trutube 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 }