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