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: Sat, 06 Oct 2018 13:05:27
Message-Id: 1538831106.4c1aee9cc12dbf5a04b2235fb8c1e8bb6e14355c.jer@gentoo
1 commit: 4c1aee9cc12dbf5a04b2235fb8c1e8bb6e14355c
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 6 13:04:37 2018 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 6 13:05:06 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c1aee9c
7
8 net-misc/youtube-dl: Old.
9
10 Package-Manager: Portage-2.3.50, Repoman-2.3.11
11 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
12
13 net-misc/youtube-dl/Manifest | 1 -
14 net-misc/youtube-dl/youtube-dl-2018.09.18.ebuild | 115 -----------------------
15 2 files changed, 116 deletions(-)
16
17 diff --git a/net-misc/youtube-dl/Manifest b/net-misc/youtube-dl/Manifest
18 index 0aa889981e0..dbbb258feb2 100644
19 --- a/net-misc/youtube-dl/Manifest
20 +++ b/net-misc/youtube-dl/Manifest
21 @@ -1,5 +1,4 @@
22 DIST youtube-dl-2017.11.15.tar.gz 2834012 BLAKE2B fd93e3923f99874be58681a886c09e31ac10063975ab636badf27e59b44743c72cddf05e3a431c49ffd0f7b40f9b005f4d90feff85d4ca889dee80833300b076 SHA512 e10c0d53db7fdfb02610b53f54046c0a9354b305ba05c5d00a43649a283a6449263f66ff56171d52cf18f906c6aeccc25dc48ea708b4b1bb2b8323b937abca96
23 DIST youtube-dl-2018.08.22.tar.gz 3025389 BLAKE2B e8d2d8bccab8c169d08de35544e5efb05c65799c26894807e075edfe090d36de30fea787f54d59e4fc8b671356ce2e1d9002627948fb05becc9d2e3bc634164c SHA512 ef17c744ac27b3bf547124f18a155908a66ee75f3f6fb5d7dd8a1d8da61a5a598bbade6cf0362e8c93c337dcf47750db5f56357919226430f02d0b764011ffb5
24 -DIST youtube-dl-2018.09.18.tar.gz 3041086 BLAKE2B 6cca8e87c26f9b2d1c9aa117d4e798cd80b12a423a9f63f2d79a6b55d21f497f372a1d5d72f48ebdf52d658f26934c7f1db9e44b5b6ed030bcb55a452a3e8f44 SHA512 9ec58e05fb7db0e08ffeea3810631b21654dda9a57849db76a7a8f9dfb6fc95fd685b36188354c9b28f6e35c818a56c44e4c55bc826d2d1c19b96cecfcc8662e
25 DIST youtube-dl-2018.09.26.tar.gz 3042551 BLAKE2B 1cf4fe51a55bd82bacf5405119f91c78d975d755c8dc50e41b52f8e0af26074d6873b4046970afda81b3732825918c3bd1a14aaf3ef554096db063b365a72e6a SHA512 b54721bd9b6c6bb66d0ddf4000a435bf8f4d3884a513aada844497db38a5bca34f82484b483b20adb709043ffdd1c00b6aa6cb9c5e6d5be2306d0ae7be77caee
26 DIST youtube-dl-2018.10.05.tar.gz 3044157 BLAKE2B c65651eebda6bd9c28245415f7aa804c78a74fa33a9717a3e9589734334ed8d12d5432eadd18d55ee46d4b51b1cacbe458c2ad175ed2e135b838fac54d468192 SHA512 b581372522d467b3277d81bdc9978352c720d4f33e0d8249cd0271eb1814a153324a5b34608d88d392bb52b1c57d0a6f425baf8377d5609810ef770839586714
27
28 diff --git a/net-misc/youtube-dl/youtube-dl-2018.09.18.ebuild b/net-misc/youtube-dl/youtube-dl-2018.09.18.ebuild
29 deleted file mode 100644
30 index 1c433fb38ec..00000000000
31 --- a/net-misc/youtube-dl/youtube-dl-2018.09.18.ebuild
32 +++ /dev/null
33 @@ -1,115 +0,0 @@
34 -# Copyright 1999-2018 Gentoo Foundation
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=6
38 -PYTHON_COMPAT=(python{2_7,3_4,3_5,3_6})
39 -inherit bash-completion-r1 distutils-r1 readme.gentoo-r1
40 -
41 -DESCRIPTION="Download videos from YouTube.com (and more sites...)"
42 -HOMEPAGE="https://rg3.github.com/youtube-dl/"
43 -SRC_URI="https://youtube-dl.org/downloads/${PV}/${P}.tar.gz"
44 -
45 -LICENSE="public-domain"
46 -SLOT="0"
47 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
48 -IUSE="+offensive test"
49 -
50 -RDEPEND="
51 - dev-python/setuptools[${PYTHON_USEDEP}]
52 -"
53 -DEPEND="
54 - ${RDEPEND}
55 - test? ( dev-python/nose[coverage(+)] )
56 -"
57 -
58 -S="${WORKDIR}/${PN}"
59 -
60 -python_prepare_all() {
61 - if ! use offensive; then
62 - sed -i -e "/..version../s|'$|+gentoo.no.offensive.sites'|g" \
63 - youtube_dl/version.py || die
64 - # these have single line import statements
65 - local xxx=(
66 - alphaporno anysex behindkink camwithher chaturbate eporner
67 - eroprofile extremetube foxgay goshgay hellporno hentaistigma
68 - hornbunny keezmovies lovehomeporn mofosex myvidster porn91 porncom
69 - pornflip pornhd pornotube pornovoisines pornoxo ruleporn sexu
70 - slutload spankbang spankwire sunporno thisav vporn watchindianporn
71 - xbef xnxx xtube xvideos xxxymovies youjizz youporn
72 - )
73 - # these have multi-line import statements
74 - local mxxx=(
75 - drtuber fourtube motherless pornhub redtube tnaflix tube8 xhamster
76 - )
77 - # do single line imports
78 - sed -i \
79 - -e $( printf '/%s/d;' ${xxx[@]} ) \
80 - youtube_dl/extractor/extractors.py \
81 - || die
82 -
83 - # do multiple line imports
84 - sed -i \
85 - -e $( printf '/%s/,/)/d;' ${mxxx[@]} ) \
86 - youtube_dl/extractor/extractors.py \
87 - || die
88 -
89 - sed -i \
90 - -e $( printf '/%s/d;' ${mxxx[@]} ) \
91 - youtube_dl/extractor/generic.py \
92 - || die
93 -
94 - rm \
95 - $( printf 'youtube_dl/extractor/%s.py ' ${xxx[@]} ) \
96 - $( printf 'youtube_dl/extractor/%s.py ' ${mxxx[@]} ) \
97 - test/test_age_restriction.py \
98 - || die
99 - fi
100 -
101 - eapply_user
102 -
103 - distutils-r1_python_prepare_all
104 -}
105 -
106 -src_compile() {
107 - distutils-r1_src_compile
108 -}
109 -
110 -python_test() {
111 - emake test
112 -}
113 -
114 -python_install_all() {
115 - dodoc README.txt
116 - doman ${PN}.1
117 -
118 - newbashcomp ${PN}.bash-completion ${PN}
119 -
120 - insinto /usr/share/zsh/site-functions
121 - newins youtube-dl.zsh _youtube-dl
122 -
123 - insinto /usr/share/fish/vendor_completions.d
124 - doins youtube-dl.fish
125 -
126 - distutils-r1_python_install_all
127 -
128 - rm -r "${ED}"/usr/etc || die
129 - rm -r "${ED}"/usr/share/doc/youtube_dl || die
130 -}
131 -
132 -pkg_postinst() {
133 - elog "youtube-dl(1) / https://bugs.gentoo.org/355661 /"
134 - elog "https://github.com/rg3/youtube-dl/blob/master/README.md#faq :"
135 - elog
136 - elog "${PN} works fine on its own on most sites. However, if you want"
137 - elog "to convert video/audio, you'll need avconf (media-video/libav) or"
138 - elog "ffmpeg (media-video/ffmpeg). On some sites - most notably YouTube -"
139 - elog "videos can be retrieved in a higher quality format without sound."
140 - elog "${PN} will detect whether avconv/ffmpeg is present and"
141 - elog "automatically pick the best option."
142 -
143 - elog
144 - elog "Videos or video formats streamed via RTMP protocol can only be"
145 - elog "downloaded when rtmpdump (media-video/rtmpdump) is installed."
146 - elog "Downloading MMS and RTSP videos requires either mplayer"
147 - elog "(media-video/mplayer) or mpv (media-video/mpv) to be installed."
148 -}