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-2015.06.25-r1.ebuild youtube-dl-2015.07.04.ebuild ChangeLog
Date: Sun, 05 Jul 2015 04:05:16
Message-Id: 20150705040506.E7F93752@oystercatcher.gentoo.org
1 jer 15/07/05 04:05:06
2
3 Modified: youtube-dl-2015.06.25-r1.ebuild ChangeLog
4 Added: youtube-dl-2015.07.04.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key A792A613)
9
10 Revision Changes Path
11 1.2 net-misc/youtube-dl/youtube-dl-2015.06.25-r1.ebuild
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/youtube-dl/youtube-dl-2015.06.25-r1.ebuild?rev=1.2&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/youtube-dl/youtube-dl-2015.06.25-r1.ebuild?rev=1.2&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/youtube-dl/youtube-dl-2015.06.25-r1.ebuild?r1=1.1&r2=1.2
16
17 Index: youtube-dl-2015.06.25-r1.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-misc/youtube-dl/youtube-dl-2015.06.25-r1.ebuild,v
20 retrieving revision 1.1
21 retrieving revision 1.2
22 diff -u -r1.1 -r1.2
23 --- youtube-dl-2015.06.25-r1.ebuild 5 Jul 2015 03:41:32 -0000 1.1
24 +++ youtube-dl-2015.06.25-r1.ebuild 5 Jul 2015 04:05:06 -0000 1.2
25 @@ -1,6 +1,6 @@
26 # Copyright 1999-2015 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-dl/youtube-dl-2015.06.25-r1.ebuild,v 1.1 2015/07/05 03:41:32 jer Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-dl/youtube-dl-2015.06.25-r1.ebuild,v 1.2 2015/07/05 04:05:06 jer Exp $
30
31 EAPI=5
32
33 @@ -39,7 +39,7 @@
34 )
35 # these have multi-line import statements
36 local mxxx=(
37 - pornhub xhamster
38 + pornhub xhamster
39 )
40 # do single line imports
41 sed -i \
42
43
44
45 1.490 net-misc/youtube-dl/ChangeLog
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/youtube-dl/ChangeLog?rev=1.490&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/youtube-dl/ChangeLog?rev=1.490&content-type=text/plain
49 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/youtube-dl/ChangeLog?r1=1.489&r2=1.490
50
51 Index: ChangeLog
52 ===================================================================
53 RCS file: /var/cvsroot/gentoo-x86/net-misc/youtube-dl/ChangeLog,v
54 retrieving revision 1.489
55 retrieving revision 1.490
56 diff -u -r1.489 -r1.490
57 --- ChangeLog 5 Jul 2015 03:41:32 -0000 1.489
58 +++ ChangeLog 5 Jul 2015 04:05:06 -0000 1.490
59 @@ -1,6 +1,12 @@
60 # ChangeLog for net-misc/youtube-dl
61 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
62 -# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-dl/ChangeLog,v 1.489 2015/07/05 03:41:32 jer Exp $
63 +# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-dl/ChangeLog,v 1.490 2015/07/05 04:05:06 jer Exp $
64 +
65 +*youtube-dl-2015.07.04 (05 Jul 2015)
66 +
67 + 05 Jul 2015; Jeroen Roovers <jer@g.o> youtube-dl-2015.06.25-r1.ebuild,
68 + +youtube-dl-2015.07.04.ebuild:
69 + Version bump.
70
71 *youtube-dl-2015.06.25-r1 (05 Jul 2015)
72
73
74
75
76 1.1 net-misc/youtube-dl/youtube-dl-2015.07.04.ebuild
77
78 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/youtube-dl/youtube-dl-2015.07.04.ebuild?rev=1.1&view=markup
79 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/youtube-dl/youtube-dl-2015.07.04.ebuild?rev=1.1&content-type=text/plain
80
81 Index: youtube-dl-2015.07.04.ebuild
82 ===================================================================
83 # Copyright 1999-2015 Gentoo Foundation
84 # Distributed under the terms of the GNU General Public License v2
85 # $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-dl/youtube-dl-2015.07.04.ebuild,v 1.1 2015/07/05 04:05:06 jer Exp $
86
87 EAPI=5
88
89 PYTHON_COMPAT=(python{2_7,3_3,3_4})
90 DISTUTILS_SINGLE_IMPL=true
91 inherit bash-completion-r1 distutils-r1 eutils
92
93 DESCRIPTION="Download videos from YouTube.com (and more sites...)"
94 HOMEPAGE="http://rg3.github.com/youtube-dl/"
95 SRC_URI="http://youtube-dl.org/downloads/${PV}/${P}.tar.gz"
96
97 LICENSE="public-domain"
98 SLOT="0"
99 KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
100 IUSE="offensive test"
101
102 DEPEND="
103 dev-python/setuptools[${PYTHON_USEDEP}]
104 test? ( dev-python/nose[coverage(+)] )
105 "
106
107 S="${WORKDIR}/${PN}"
108
109 src_prepare() {
110 if ! use offensive; then
111 sed -i -e "/__version__/s|'$|-gentoo_no_offensive_sites'|g" \
112 youtube_dl/version.py || die
113 # these have single line import statements
114 local xxx=(
115 alphaporno anysex behindkink drtuber eporner eroprofile extremetube
116 fourtube foxgay goshgay hellporno hentaistigma hornbunny keezmovies
117 mofosex motherless porn91 pornhd pornotube pornovoisines pornoxo
118 redtube sexykarma sexu sunporno slutload spankbang spankwire thisav
119 tnaflix trutube tube8 vporn xbef xnxx xtube xvideos xxxymovies
120 youjizz youporn
121 )
122 # these have multi-line import statements
123 local mxxx=(
124 pornhub xhamster
125 )
126 # do single line imports
127 sed -i \
128 -e $( printf '/%s/d;' ${xxx[@]} ) \
129 youtube_dl/extractor/__init__.py \
130 || die
131
132 # do multiple line imports
133 sed -i \
134 -e $( printf '/%s/,/)/d;' ${mxxx[@]} ) \
135 youtube_dl/extractor/__init__.py \
136 || die
137
138 sed -i \
139 -e $( printf '/%s/d;' ${mxxx[@]} ) \
140 youtube_dl/extractor/generic.py \
141 youtube_dl/extractor/tumblr.py \
142 || die
143
144 rm \
145 $( printf 'youtube_dl/extractor/%s.py ' ${xxx[@]} ) \
146 $( printf 'youtube_dl/extractor/%s.py ' ${mxxx[@]} ) \
147 test/test_age_restriction.py \
148 || die
149 fi
150
151 epatch_user
152 }
153
154 src_compile() {
155 distutils-r1_src_compile
156 }
157
158 src_test() {
159 emake test
160 }
161
162 src_install() {
163 python_domodule youtube_dl
164 dobin bin/${PN}
165 dodoc README.txt
166 doman ${PN}.1
167 newbashcomp ${PN}.bash-completion ${PN}
168 python_fix_shebang "${ED}"
169 }