Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/youtube-dl/
Date: Wed, 21 Nov 2018 20:49:20
Message-Id: 1542833352.44e7d95da87f407c41ce0afb87c467f71dc664fe.jer@gentoo
1 commit: 44e7d95da87f407c41ce0afb87c467f71dc664fe
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Wed Nov 21 20:48:52 2018 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Wed Nov 21 20:49:12 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44e7d95d
7
8 net-misc/youtube-dl: Old
9
10 Package-Manager: Portage-2.3.52, Repoman-2.3.12
11 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
12
13 net-misc/youtube-dl/Manifest | 4 -
14 net-misc/youtube-dl/youtube-dl-2017.11.15.ebuild | 97 -------------------
15 net-misc/youtube-dl/youtube-dl-2018.08.22.ebuild | 115 ----------------------
16 net-misc/youtube-dl/youtube-dl-2018.10.05.ebuild | 117 -----------------------
17 net-misc/youtube-dl/youtube-dl-2018.10.29.ebuild | 117 -----------------------
18 5 files changed, 450 deletions(-)
19
20 diff --git a/net-misc/youtube-dl/Manifest b/net-misc/youtube-dl/Manifest
21 index 6a860eb22ff..05ce4305ccf 100644
22 --- a/net-misc/youtube-dl/Manifest
23 +++ b/net-misc/youtube-dl/Manifest
24 @@ -1,5 +1 @@
25 -DIST youtube-dl-2017.11.15.tar.gz 2834012 BLAKE2B fd93e3923f99874be58681a886c09e31ac10063975ab636badf27e59b44743c72cddf05e3a431c49ffd0f7b40f9b005f4d90feff85d4ca889dee80833300b076 SHA512 e10c0d53db7fdfb02610b53f54046c0a9354b305ba05c5d00a43649a283a6449263f66ff56171d52cf18f906c6aeccc25dc48ea708b4b1bb2b8323b937abca96
26 -DIST youtube-dl-2018.08.22.tar.gz 3025389 BLAKE2B e8d2d8bccab8c169d08de35544e5efb05c65799c26894807e075edfe090d36de30fea787f54d59e4fc8b671356ce2e1d9002627948fb05becc9d2e3bc634164c SHA512 ef17c744ac27b3bf547124f18a155908a66ee75f3f6fb5d7dd8a1d8da61a5a598bbade6cf0362e8c93c337dcf47750db5f56357919226430f02d0b764011ffb5
27 -DIST youtube-dl-2018.10.05.tar.gz 3044157 BLAKE2B c65651eebda6bd9c28245415f7aa804c78a74fa33a9717a3e9589734334ed8d12d5432eadd18d55ee46d4b51b1cacbe458c2ad175ed2e135b838fac54d468192 SHA512 b581372522d467b3277d81bdc9978352c720d4f33e0d8249cd0271eb1814a153324a5b34608d88d392bb52b1c57d0a6f425baf8377d5609810ef770839586714
28 -DIST youtube-dl-2018.10.29.tar.gz 3045428 BLAKE2B cf21d3113c07b7d62a373ada4a366fa61231eb8aa7f14192683451c99cf3f4f59d1abc04053359c2c3b40e7f80cfc2c5325f66a1b73196bb561a2244988f5114 SHA512 86f94acc888084348466d8aabc3711f25cbeb28c9a7afe08dcf23034d3b43d0e0a9c58dab60fe9c7eb2ab8ce2e3ce97b849e1eb11f547d173bb25dbb9df1b39f
29 DIST youtube-dl-2018.11.18.tar.gz 3057924 BLAKE2B eb995cd269c3febcda950d87466df85a31128aaf95dbbd1cb9ee3d329610ffae3194c57f5063b47e49de3e387b5f60a5e10c237dc5d944ce47a6cffacab31935 SHA512 47e503c18f2db948beeda6a61b034953fab61d7d122641be7564a0f6dc0fe66ff93d6ef436c2acbcaf7255248a0b53e4df8c5ed1efca1139dc518a3ffacb737d
30
31 diff --git a/net-misc/youtube-dl/youtube-dl-2017.11.15.ebuild b/net-misc/youtube-dl/youtube-dl-2017.11.15.ebuild
32 deleted file mode 100644
33 index 53e72dce619..00000000000
34 --- a/net-misc/youtube-dl/youtube-dl-2017.11.15.ebuild
35 +++ /dev/null
36 @@ -1,97 +0,0 @@
37 -# Copyright 1999-2018 Gentoo Foundation
38 -# Distributed under the terms of the GNU General Public License v2
39 -
40 -EAPI=6
41 -PYTHON_COMPAT=(python{2_7,3_4,3_5,3_6})
42 -inherit bash-completion-r1 distutils-r1
43 -
44 -DESCRIPTION="Download videos from YouTube.com (and more sites...)"
45 -HOMEPAGE="https://rg3.github.com/youtube-dl/"
46 -SRC_URI="http://youtube-dl.org/downloads/${PV}/${P}.tar.gz"
47 -
48 -LICENSE="public-domain"
49 -SLOT="0"
50 -KEYWORDS="amd64 arm hppa ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
51 -IUSE="+offensive test"
52 -
53 -RDEPEND="
54 - dev-python/setuptools[${PYTHON_USEDEP}]
55 -"
56 -DEPEND="
57 - ${RDEPEND}
58 - test? ( dev-python/nose[coverage(+)] )
59 -"
60 -
61 -S="${WORKDIR}/${PN}"
62 -
63 -python_prepare_all() {
64 - if ! use offensive; then
65 - sed -i -e "/..version../s|'$|+gentoo.no.offensive.sites'|g" \
66 - youtube_dl/version.py || die
67 - # these have single line import statements
68 - local xxx=(
69 - alphaporno anysex behindkink camwithher chaturbate eporner
70 - eroprofile extremetube foxgay goshgay hellporno hentaistigma
71 - hornbunny keezmovies lovehomeporn mofosex motherless myvidster
72 - porn91 porncom pornflip pornhd pornotube pornovoisines pornoxo
73 - ruleporn sexu slutload spankbang spankwire sunporno thisav tube8
74 - vporn watchindianporn xbef xnxx xtube xvideos xxxymovies youjizz
75 - youporn
76 - )
77 - # these have multi-line import statements
78 - local mxxx=(
79 - drtuber fourtube pornhub redtube tnaflix xhamster
80 - )
81 - # do single line imports
82 - sed -i \
83 - -e $( printf '/%s/d;' ${xxx[@]} ) \
84 - youtube_dl/extractor/extractors.py \
85 - || die
86 -
87 - # do multiple line imports
88 - sed -i \
89 - -e $( printf '/%s/,/)/d;' ${mxxx[@]} ) \
90 - youtube_dl/extractor/extractors.py \
91 - || die
92 -
93 - sed -i \
94 - -e $( printf '/%s/d;' ${mxxx[@]} ) \
95 - youtube_dl/extractor/generic.py \
96 - || die
97 -
98 - rm \
99 - $( printf 'youtube_dl/extractor/%s.py ' ${xxx[@]} ) \
100 - $( printf 'youtube_dl/extractor/%s.py ' ${mxxx[@]} ) \
101 - test/test_age_restriction.py \
102 - || die
103 - fi
104 -
105 - eapply_user
106 -
107 - distutils-r1_python_prepare_all
108 -}
109 -
110 -src_compile() {
111 - distutils-r1_src_compile
112 -}
113 -
114 -python_test() {
115 - emake test
116 -}
117 -
118 -python_install_all() {
119 - dodoc README.txt
120 - doman ${PN}.1
121 -
122 - newbashcomp ${PN}.bash-completion ${PN}
123 -
124 - insinto /usr/share/zsh/site-functions
125 - newins youtube-dl.zsh _youtube-dl
126 -
127 - insinto /usr/share/fish/completions
128 - doins youtube-dl.fish
129 -
130 - distutils-r1_python_install_all
131 -
132 - rm -r "${ED}"/usr/etc || die
133 -}
134
135 diff --git a/net-misc/youtube-dl/youtube-dl-2018.08.22.ebuild b/net-misc/youtube-dl/youtube-dl-2018.08.22.ebuild
136 deleted file mode 100644
137 index 45357c68f63..00000000000
138 --- a/net-misc/youtube-dl/youtube-dl-2018.08.22.ebuild
139 +++ /dev/null
140 @@ -1,115 +0,0 @@
141 -# Copyright 1999-2018 Gentoo Foundation
142 -# Distributed under the terms of the GNU General Public License v2
143 -
144 -EAPI=6
145 -PYTHON_COMPAT=(python{2_7,3_4,3_5,3_6})
146 -inherit bash-completion-r1 distutils-r1 readme.gentoo-r1
147 -
148 -DESCRIPTION="Download videos from YouTube.com (and more sites...)"
149 -HOMEPAGE="https://rg3.github.com/youtube-dl/"
150 -SRC_URI="https://youtube-dl.org/downloads/${PV}/${P}.tar.gz"
151 -
152 -LICENSE="public-domain"
153 -SLOT="0"
154 -KEYWORDS="amd64 ~arm ~arm64 hppa ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
155 -IUSE="+offensive test"
156 -
157 -RDEPEND="
158 - dev-python/setuptools[${PYTHON_USEDEP}]
159 -"
160 -DEPEND="
161 - ${RDEPEND}
162 - test? ( dev-python/nose[coverage(+)] )
163 -"
164 -
165 -S="${WORKDIR}/${PN}"
166 -
167 -python_prepare_all() {
168 - if ! use offensive; then
169 - sed -i -e "/..version../s|'$|+gentoo.no.offensive.sites'|g" \
170 - youtube_dl/version.py || die
171 - # these have single line import statements
172 - local xxx=(
173 - alphaporno anysex behindkink camwithher chaturbate eporner
174 - eroprofile extremetube foxgay goshgay hellporno hentaistigma
175 - hornbunny keezmovies lovehomeporn mofosex myvidster porn91 porncom
176 - pornflip pornhd pornotube pornovoisines pornoxo ruleporn sexu
177 - slutload spankbang spankwire sunporno thisav vporn watchindianporn
178 - xbef xnxx xtube xvideos xxxymovies youjizz youporn
179 - )
180 - # these have multi-line import statements
181 - local mxxx=(
182 - drtuber fourtube motherless pornhub redtube tnaflix tube8 xhamster
183 - )
184 - # do single line imports
185 - sed -i \
186 - -e $( printf '/%s/d;' ${xxx[@]} ) \
187 - youtube_dl/extractor/extractors.py \
188 - || die
189 -
190 - # do multiple line imports
191 - sed -i \
192 - -e $( printf '/%s/,/)/d;' ${mxxx[@]} ) \
193 - youtube_dl/extractor/extractors.py \
194 - || die
195 -
196 - sed -i \
197 - -e $( printf '/%s/d;' ${mxxx[@]} ) \
198 - youtube_dl/extractor/generic.py \
199 - || die
200 -
201 - rm \
202 - $( printf 'youtube_dl/extractor/%s.py ' ${xxx[@]} ) \
203 - $( printf 'youtube_dl/extractor/%s.py ' ${mxxx[@]} ) \
204 - test/test_age_restriction.py \
205 - || die
206 - fi
207 -
208 - eapply_user
209 -
210 - distutils-r1_python_prepare_all
211 -}
212 -
213 -src_compile() {
214 - distutils-r1_src_compile
215 -}
216 -
217 -python_test() {
218 - emake test
219 -}
220 -
221 -python_install_all() {
222 - dodoc README.txt
223 - doman ${PN}.1
224 -
225 - newbashcomp ${PN}.bash-completion ${PN}
226 -
227 - insinto /usr/share/zsh/site-functions
228 - newins youtube-dl.zsh _youtube-dl
229 -
230 - insinto /usr/share/fish/vendor_completions.d
231 - doins youtube-dl.fish
232 -
233 - distutils-r1_python_install_all
234 -
235 - rm -r "${ED}"/usr/etc || die
236 - rm -r "${ED}"/usr/share/doc/youtube_dl || die
237 -}
238 -
239 -pkg_postinst() {
240 - elog "youtube-dl(1) / https://bugs.gentoo.org/355661 /"
241 - elog "https://github.com/rg3/youtube-dl/blob/master/README.md#faq :"
242 - elog
243 - elog "${PN} works fine on its own on most sites. However, if you want"
244 - elog "to convert video/audio, you'll need avconf (media-video/libav) or"
245 - elog "ffmpeg (media-video/ffmpeg). On some sites - most notably YouTube -"
246 - elog "videos can be retrieved in a higher quality format without sound."
247 - elog "${PN} will detect whether avconv/ffmpeg is present and"
248 - elog "automatically pick the best option."
249 -
250 - elog
251 - elog "Videos or video formats streamed via RTMP protocol can only be"
252 - elog "downloaded when rtmpdump (media-video/rtmpdump) is installed."
253 - elog "Downloading MMS and RTSP videos requires either mplayer"
254 - elog "(media-video/mplayer) or mpv (media-video/mpv) to be installed."
255 -}
256
257 diff --git a/net-misc/youtube-dl/youtube-dl-2018.10.05.ebuild b/net-misc/youtube-dl/youtube-dl-2018.10.05.ebuild
258 deleted file mode 100644
259 index ccd279b522c..00000000000
260 --- a/net-misc/youtube-dl/youtube-dl-2018.10.05.ebuild
261 +++ /dev/null
262 @@ -1,117 +0,0 @@
263 -# Copyright 1999-2018 Gentoo Authors
264 -# Distributed under the terms of the GNU General Public License v2
265 -
266 -EAPI=6
267 -PYTHON_COMPAT=(python{2_7,3_4,3_5,3_6})
268 -inherit bash-completion-r1 distutils-r1 readme.gentoo-r1
269 -
270 -DESCRIPTION="Download videos from YouTube.com (and more sites...)"
271 -HOMEPAGE="https://rg3.github.com/youtube-dl/"
272 -SRC_URI="https://youtube-dl.org/downloads/${PV}/${P}.tar.gz"
273 -
274 -LICENSE="public-domain"
275 -SLOT="0"
276 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
277 -IUSE="+offensive test"
278 -
279 -RDEPEND="
280 - dev-python/setuptools[${PYTHON_USEDEP}]
281 -"
282 -DEPEND="
283 - ${RDEPEND}
284 - test? ( dev-python/nose[coverage(+)] )
285 -"
286 -
287 -S="${WORKDIR}/${PN}"
288 -
289 -python_prepare_all() {
290 - if ! use offensive; then
291 - sed -i -e "/..version../s|'$|+gentoo.no.offensive.sites'|g" \
292 - youtube_dl/version.py || die
293 - # these have single line import statements
294 - local xxx=(
295 - alphaporno anysex behindkink camwithher chaturbate eporner
296 - eroprofile extremetube foxgay goshgay hellporno hentaistigma
297 - hornbunny keezmovies lovehomeporn mofosex myvidster porn91 porncom
298 - pornflip pornhd pornotube pornovoisines pornoxo ruleporn sexu
299 - slutload spankbang spankwire sunporno thisav vporn watchindianporn
300 - xbef xnxx xtube xvideos xxxymovies youjizz youporn
301 - )
302 - # these have multi-line import statements
303 - local mxxx=(
304 - drtuber fourtube motherless pornhub redtube tnaflix tube8 xhamster
305 - )
306 - # do single line imports
307 - sed -i \
308 - -e $( printf '/%s/d;' ${xxx[@]} ) \
309 - youtube_dl/extractor/extractors.py \
310 - || die
311 -
312 - # do multiple line imports
313 - sed -i \
314 - -e $( printf '/%s/,/)/d;' ${mxxx[@]} ) \
315 - youtube_dl/extractor/extractors.py \
316 - || die
317 -
318 - sed -i \
319 - -e $( printf '/%s/d;' ${mxxx[@]} ) \
320 - youtube_dl/extractor/generic.py \
321 - || die
322 -
323 - rm \
324 - $( printf 'youtube_dl/extractor/%s.py ' ${xxx[@]} ) \
325 - $( printf 'youtube_dl/extractor/%s.py ' ${mxxx[@]} ) \
326 - test/test_age_restriction.py \
327 - || die
328 - fi
329 -
330 - eapply_user
331 -
332 - distutils-r1_python_prepare_all
333 -}
334 -
335 -src_compile() {
336 - distutils-r1_src_compile
337 -}
338 -
339 -python_test() {
340 - emake test
341 -}
342 -
343 -python_install_all() {
344 - dodoc README.txt
345 - doman ${PN}.1
346 -
347 - newbashcomp ${PN}.bash-completion ${PN}
348 -
349 - insinto /usr/share/zsh/site-functions
350 - newins youtube-dl.zsh _youtube-dl
351 -
352 - insinto /usr/share/fish/vendor_completions.d
353 - doins youtube-dl.fish
354 -
355 - distutils-r1_python_install_all
356 -
357 - rm -r "${ED}"/usr/etc || die
358 - rm -r "${ED}"/usr/share/doc/youtube_dl || die
359 -}
360 -
361 -pkg_postinst() {
362 - elog "youtube-dl(1) / https://bugs.gentoo.org/355661 /"
363 - elog "https://github.com/rg3/youtube-dl/blob/master/README.md#faq :"
364 - elog
365 - elog "${PN} works fine on its own on most sites. However, if you want"
366 - elog "to convert video/audio, you'll need avconf (media-video/libav) or"
367 - elog "ffmpeg (media-video/ffmpeg). On some sites - most notably YouTube -"
368 - elog "videos can be retrieved in a higher quality format without sound."
369 - elog "${PN} will detect whether avconv/ffmpeg is present and"
370 - elog "automatically pick the best option."
371 - elog
372 - elog "Videos or video formats streamed via RTMP protocol can only be"
373 - elog "downloaded when rtmpdump (media-video/rtmpdump) is installed."
374 - elog "Downloading MMS and RTSP videos requires either mplayer"
375 - elog "(media-video/mplayer) or mpv (media-video/mpv) to be installed."
376 - elog
377 - elog "If you want ${PN} to embed thumbnails from the metadata into the"
378 - elog "resulting MP4 files, consider installing media-video/atomicparsley"
379 -}
380
381 diff --git a/net-misc/youtube-dl/youtube-dl-2018.10.29.ebuild b/net-misc/youtube-dl/youtube-dl-2018.10.29.ebuild
382 deleted file mode 100644
383 index ccd279b522c..00000000000
384 --- a/net-misc/youtube-dl/youtube-dl-2018.10.29.ebuild
385 +++ /dev/null
386 @@ -1,117 +0,0 @@
387 -# Copyright 1999-2018 Gentoo Authors
388 -# Distributed under the terms of the GNU General Public License v2
389 -
390 -EAPI=6
391 -PYTHON_COMPAT=(python{2_7,3_4,3_5,3_6})
392 -inherit bash-completion-r1 distutils-r1 readme.gentoo-r1
393 -
394 -DESCRIPTION="Download videos from YouTube.com (and more sites...)"
395 -HOMEPAGE="https://rg3.github.com/youtube-dl/"
396 -SRC_URI="https://youtube-dl.org/downloads/${PV}/${P}.tar.gz"
397 -
398 -LICENSE="public-domain"
399 -SLOT="0"
400 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
401 -IUSE="+offensive test"
402 -
403 -RDEPEND="
404 - dev-python/setuptools[${PYTHON_USEDEP}]
405 -"
406 -DEPEND="
407 - ${RDEPEND}
408 - test? ( dev-python/nose[coverage(+)] )
409 -"
410 -
411 -S="${WORKDIR}/${PN}"
412 -
413 -python_prepare_all() {
414 - if ! use offensive; then
415 - sed -i -e "/..version../s|'$|+gentoo.no.offensive.sites'|g" \
416 - youtube_dl/version.py || die
417 - # these have single line import statements
418 - local xxx=(
419 - alphaporno anysex behindkink camwithher chaturbate eporner
420 - eroprofile extremetube foxgay goshgay hellporno hentaistigma
421 - hornbunny keezmovies lovehomeporn mofosex myvidster porn91 porncom
422 - pornflip pornhd pornotube pornovoisines pornoxo ruleporn sexu
423 - slutload spankbang spankwire sunporno thisav vporn watchindianporn
424 - xbef xnxx xtube xvideos xxxymovies youjizz youporn
425 - )
426 - # these have multi-line import statements
427 - local mxxx=(
428 - drtuber fourtube motherless pornhub redtube tnaflix tube8 xhamster
429 - )
430 - # do single line imports
431 - sed -i \
432 - -e $( printf '/%s/d;' ${xxx[@]} ) \
433 - youtube_dl/extractor/extractors.py \
434 - || die
435 -
436 - # do multiple line imports
437 - sed -i \
438 - -e $( printf '/%s/,/)/d;' ${mxxx[@]} ) \
439 - youtube_dl/extractor/extractors.py \
440 - || die
441 -
442 - sed -i \
443 - -e $( printf '/%s/d;' ${mxxx[@]} ) \
444 - youtube_dl/extractor/generic.py \
445 - || die
446 -
447 - rm \
448 - $( printf 'youtube_dl/extractor/%s.py ' ${xxx[@]} ) \
449 - $( printf 'youtube_dl/extractor/%s.py ' ${mxxx[@]} ) \
450 - test/test_age_restriction.py \
451 - || die
452 - fi
453 -
454 - eapply_user
455 -
456 - distutils-r1_python_prepare_all
457 -}
458 -
459 -src_compile() {
460 - distutils-r1_src_compile
461 -}
462 -
463 -python_test() {
464 - emake test
465 -}
466 -
467 -python_install_all() {
468 - dodoc README.txt
469 - doman ${PN}.1
470 -
471 - newbashcomp ${PN}.bash-completion ${PN}
472 -
473 - insinto /usr/share/zsh/site-functions
474 - newins youtube-dl.zsh _youtube-dl
475 -
476 - insinto /usr/share/fish/vendor_completions.d
477 - doins youtube-dl.fish
478 -
479 - distutils-r1_python_install_all
480 -
481 - rm -r "${ED}"/usr/etc || die
482 - rm -r "${ED}"/usr/share/doc/youtube_dl || die
483 -}
484 -
485 -pkg_postinst() {
486 - elog "youtube-dl(1) / https://bugs.gentoo.org/355661 /"
487 - elog "https://github.com/rg3/youtube-dl/blob/master/README.md#faq :"
488 - elog
489 - elog "${PN} works fine on its own on most sites. However, if you want"
490 - elog "to convert video/audio, you'll need avconf (media-video/libav) or"
491 - elog "ffmpeg (media-video/ffmpeg). On some sites - most notably YouTube -"
492 - elog "videos can be retrieved in a higher quality format without sound."
493 - elog "${PN} will detect whether avconv/ffmpeg is present and"
494 - elog "automatically pick the best option."
495 - elog
496 - elog "Videos or video formats streamed via RTMP protocol can only be"
497 - elog "downloaded when rtmpdump (media-video/rtmpdump) is installed."
498 - elog "Downloading MMS and RTSP videos requires either mplayer"
499 - elog "(media-video/mplayer) or mpv (media-video/mpv) to be installed."
500 - elog
501 - elog "If you want ${PN} to embed thumbnails from the metadata into the"
502 - elog "resulting MP4 files, consider installing media-video/atomicparsley"
503 -}