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: Sun, 02 Jul 2017 20:38:50
Message-Id: 1499027919.99a64b52bf2865463b1b251570ab7ba7c6ad4cd4.jer@gentoo
1 commit: 99a64b52bf2865463b1b251570ab7ba7c6ad4cd4
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 2 20:36:56 2017 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 2 20:38:39 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99a64b52
7
8 net-misc/youtube-dl: Old.
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 net-misc/youtube-dl/Manifest | 2 -
13 net-misc/youtube-dl/youtube-dl-2017.06.05.ebuild | 98 ------------------------
14 net-misc/youtube-dl/youtube-dl-2017.06.18.ebuild | 98 ------------------------
15 3 files changed, 198 deletions(-)
16
17 diff --git a/net-misc/youtube-dl/Manifest b/net-misc/youtube-dl/Manifest
18 index dd28a46bd3b..1b66137fb7d 100644
19 --- a/net-misc/youtube-dl/Manifest
20 +++ b/net-misc/youtube-dl/Manifest
21 @@ -1,5 +1,3 @@
22 DIST youtube-dl-2017.03.16.tar.gz 2631620 SHA256 55df3cbda9cf86e49baf54040340ec74c692bb3d6da3d2f5a1bc1238017dd492 SHA512 f3b8942f6b2be3b1cfd4bddfb74c17bad48c8ef4bea34114970ecb9d65b5a3dcbe71beba6d7c2dbda168371bbb2e8bbaddce58039bd9d158bf23950a2a88123c WHIRLPOOL 8345da00074e62ec9a9c244cb9ef64930fbd0e5e9e5bc1709bfcf56517cc6312031a09523c3016db2a1542c16a0297bea9d6883a201ae94e347e358307e92422
23 -DIST youtube-dl-2017.06.05.tar.gz 2723532 SHA256 b54ca848490285909d0830c04c19376c2d78da74d8de0056387b11ba34234e8c SHA512 60b99df0e5aa9fc9248cbc47ce8c61f7d78485e6c6b4d8aba795e3a0da9e085d03cf860e94738fe184f8c6bec83897f5fdf5bd24c414bb8153053914203a4b7f WHIRLPOOL cbda1593c1c66524f68a97126465b7fc334b781c144aac6f55652ff454364da2df452bca636bd422ab43391b7c3720d3728d5f1a59b7a7f868d9e5f41b1029d6
24 -DIST youtube-dl-2017.06.18.tar.gz 2728617 SHA256 f53d32c2ca64bb7bf2307666b42c88fa68dcc399f6a92ebed01b8693794e5f99 SHA512 5cf18135beea4331acaf3edc9e8b9c78f9ef2a9c9813a3708936e0c8c5119cf355c1afc932138e650fc4ba831025b2be6bde3fac33a62a49581d5964305bd3d1 WHIRLPOOL 07612cdc1c0463a4640642352833b23834d25e8ba6622a2311a518a227edfc5353e9425a4d889e268b7f6d8c199f0e17dd3197015728db05dd4f83891f40a0b3
25 DIST youtube-dl-2017.06.25.tar.gz 2737382 SHA256 0531958d4dc10f0fae7960a4c8d08d17fe57acf79719a76387d765c382809f59 SHA512 49a298ab041b264ca4a48b479851bcff96b2a535da8ed280d69fc1799702a43eb38289f00253271d9b320a538a8a374dcc27a0f3148d44db22fa57f8b41afce4 WHIRLPOOL e7bf63b54e35a2061d36c358f000dadb22769e20a1309dd4c43215c0fe1bb4096b198da2245c9ba4c967837d065525229861ca345a6392b83829f2ce58726f82
26 DIST youtube-dl-2017.07.02.tar.gz 2740061 SHA256 5b8b11c932ddbc346e2188f0e3a4c0ab8203b1b749f8ea9b212e10d34fa20168 SHA512 08cf4693450ad9ecdad653d4e5508c0899a54e3e16f49f5957ee1ff1486f55333860c3b8ea0d45a1ec12bf5cdc4ce3f57abf9f6c1eb73eca1dd41a38e86bbe68 WHIRLPOOL f28898208dfe3230284f7e6803cb4002a0bd7f493bbc5826ae0ad76ee4453cb5c7413cfc9609fa7bb1131754a07415318e1c380e04a07bba4ff9c88ba1517915
27
28 diff --git a/net-misc/youtube-dl/youtube-dl-2017.06.05.ebuild b/net-misc/youtube-dl/youtube-dl-2017.06.05.ebuild
29 deleted file mode 100644
30 index 867867e7361..00000000000
31 --- a/net-misc/youtube-dl/youtube-dl-2017.06.05.ebuild
32 +++ /dev/null
33 @@ -1,98 +0,0 @@
34 -# Copyright 1999-2017 Gentoo Foundation
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=5
38 -
39 -PYTHON_COMPAT=(python{2_7,3_4,3_5,3_6})
40 -inherit bash-completion-r1 distutils-r1 eutils
41 -
42 -DESCRIPTION="Download videos from YouTube.com (and more sites...)"
43 -HOMEPAGE="https://rg3.github.com/youtube-dl/"
44 -SRC_URI="http://youtube-dl.org/downloads/${PV}/${P}.tar.gz"
45 -
46 -LICENSE="public-domain"
47 -SLOT="0"
48 -KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
49 -IUSE="+offensive test"
50 -
51 -RDEPEND="
52 - dev-python/setuptools[${PYTHON_USEDEP}]
53 -"
54 -DEPEND="
55 - ${RDEPEND}
56 - test? ( dev-python/nose[coverage(+)] )
57 -"
58 -
59 -S="${WORKDIR}/${PN}"
60 -
61 -python_prepare_all() {
62 - if ! use offensive; then
63 - sed -i -e "/__version__/s|'$|-gentoo_no_offensive_sites'|g" \
64 - youtube_dl/version.py || die
65 - # these have single line import statements
66 - local xxx=(
67 - alphaporno anysex behindkink camwithher chaturbate eporner
68 - eroprofile extremetube fourtube foxgay goshgay hellporno
69 - hentaistigma hornbunny keezmovies lovehomeporn mofosex motherless
70 - myvidster porn91 porncom pornflip pornhd pornotube pornovoisines
71 - pornoxo ruleporn sexu slutload spankbang spankwire sunporno thisav
72 - tube8 vporn watchindianporn xbef xnxx xtube xvideos xxxymovies
73 - youjizz youporn
74 - )
75 - # these have multi-line import statements
76 - local mxxx=(
77 - drtuber pornhub redtube tnaflix xhamster
78 - )
79 - # do single line imports
80 - sed -i \
81 - -e $( printf '/%s/d;' ${xxx[@]} ) \
82 - youtube_dl/extractor/extractors.py \
83 - || die
84 -
85 - # do multiple line imports
86 - sed -i \
87 - -e $( printf '/%s/,/)/d;' ${mxxx[@]} ) \
88 - youtube_dl/extractor/extractors.py \
89 - || die
90 -
91 - sed -i \
92 - -e $( printf '/%s/d;' ${mxxx[@]} ) \
93 - youtube_dl/extractor/generic.py \
94 - || die
95 -
96 - rm \
97 - $( printf 'youtube_dl/extractor/%s.py ' ${xxx[@]} ) \
98 - $( printf 'youtube_dl/extractor/%s.py ' ${mxxx[@]} ) \
99 - test/test_age_restriction.py \
100 - || die
101 - fi
102 -
103 - epatch_user
104 -
105 - distutils-r1_python_prepare_all
106 -}
107 -
108 -src_compile() {
109 - distutils-r1_src_compile
110 -}
111 -
112 -python_test() {
113 - emake test
114 -}
115 -
116 -python_install_all() {
117 - dodoc README.txt
118 - doman ${PN}.1
119 -
120 - newbashcomp ${PN}.bash-completion ${PN}
121 -
122 - insinto /usr/share/zsh/site-functions
123 - newins youtube-dl.zsh _youtube-dl
124 -
125 - insinto /usr/share/fish/completions
126 - doins youtube-dl.fish
127 -
128 - distutils-r1_python_install_all
129 -
130 - rm -r "${ED}"/usr/etc || die
131 -}
132
133 diff --git a/net-misc/youtube-dl/youtube-dl-2017.06.18.ebuild b/net-misc/youtube-dl/youtube-dl-2017.06.18.ebuild
134 deleted file mode 100644
135 index 867867e7361..00000000000
136 --- a/net-misc/youtube-dl/youtube-dl-2017.06.18.ebuild
137 +++ /dev/null
138 @@ -1,98 +0,0 @@
139 -# Copyright 1999-2017 Gentoo Foundation
140 -# Distributed under the terms of the GNU General Public License v2
141 -
142 -EAPI=5
143 -
144 -PYTHON_COMPAT=(python{2_7,3_4,3_5,3_6})
145 -inherit bash-completion-r1 distutils-r1 eutils
146 -
147 -DESCRIPTION="Download videos from YouTube.com (and more sites...)"
148 -HOMEPAGE="https://rg3.github.com/youtube-dl/"
149 -SRC_URI="http://youtube-dl.org/downloads/${PV}/${P}.tar.gz"
150 -
151 -LICENSE="public-domain"
152 -SLOT="0"
153 -KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
154 -IUSE="+offensive test"
155 -
156 -RDEPEND="
157 - dev-python/setuptools[${PYTHON_USEDEP}]
158 -"
159 -DEPEND="
160 - ${RDEPEND}
161 - test? ( dev-python/nose[coverage(+)] )
162 -"
163 -
164 -S="${WORKDIR}/${PN}"
165 -
166 -python_prepare_all() {
167 - if ! use offensive; then
168 - sed -i -e "/__version__/s|'$|-gentoo_no_offensive_sites'|g" \
169 - youtube_dl/version.py || die
170 - # these have single line import statements
171 - local xxx=(
172 - alphaporno anysex behindkink camwithher chaturbate eporner
173 - eroprofile extremetube fourtube foxgay goshgay hellporno
174 - hentaistigma hornbunny keezmovies lovehomeporn mofosex motherless
175 - myvidster porn91 porncom pornflip pornhd pornotube pornovoisines
176 - pornoxo ruleporn sexu slutload spankbang spankwire sunporno thisav
177 - tube8 vporn watchindianporn xbef xnxx xtube xvideos xxxymovies
178 - youjizz youporn
179 - )
180 - # these have multi-line import statements
181 - local mxxx=(
182 - drtuber pornhub redtube tnaflix 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 - epatch_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/completions
231 - doins youtube-dl.fish
232 -
233 - distutils-r1_python_install_all
234 -
235 - rm -r "${ED}"/usr/etc || die
236 -}