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, 26 Dec 2015 11:08:56
Message-Id: 1451128126.9200d55838c26f7a0c1bd8a2d42d87432aaa6c72.jer@gentoo
1 commit: 9200d55838c26f7a0c1bd8a2d42d87432aaa6c72
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 26 11:08:17 2015 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 26 11:08:46 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9200d558
7
8 net-misc/youtube-dl: Old.
9
10 Package-Manager: portage-2.2.26
11
12 net-misc/youtube-dl/Manifest | 2 -
13 net-misc/youtube-dl/youtube-dl-2015.11.27.1.ebuild | 87 ----------------------
14 net-misc/youtube-dl/youtube-dl-2015.12.13.ebuild | 87 ----------------------
15 3 files changed, 176 deletions(-)
16
17 diff --git a/net-misc/youtube-dl/Manifest b/net-misc/youtube-dl/Manifest
18 index 6b349ec..453a8fe 100644
19 --- a/net-misc/youtube-dl/Manifest
20 +++ b/net-misc/youtube-dl/Manifest
21 @@ -1,5 +1,3 @@
22 DIST youtube-dl-2015.04.03.tar.gz 1472296 SHA256 0521a15a24a9b620728a2f45ea9163ca74660ed443781b6e69b4e06d36d7bf59 SHA512 6b2c85cfa222a31f3462aab583fa98bb92544cd5fb0d395ca0b69a26c24ab174870d02264e058281f09305752d50aa5a06d0d747205499a530b275e3194fc6f9 WHIRLPOOL 391e06ea261f92e03a0b38618307f1c9d53a2dfb9f2062fe0cd3ded1ea0c411033a17ded581616032c74a9e4fb398a57e565bf847196a23a9f89433f861362ae
23 -DIST youtube-dl-2015.11.27.1.tar.gz 1803857 SHA256 35a7b2947200209bef9e642d1203e9d4a4103e279222c3ca3b5ee3adf3c8c535 SHA512 7771ed739568a52b0168e095eb97b943b82c6ee463a662f5cf94c40fce4f51ad0ca6d09c2569393b1d09568b63859b1837d247c9994c5134ad79af18bb5aa1ad WHIRLPOOL 5fedcea551ba8637773367d46f78d8e68110c993eb12eda31028b1a38bca3b9928c62ea4519da3ba70f3a7aa62948820d892d4ff3d8d38b2bd847b1348183f33
24 -DIST youtube-dl-2015.12.13.tar.gz 1837788 SHA256 9c788925865ff559b6c9f124d35aed1125046efda7c6a386f0da59d4eac2ead8 SHA512 039778326955ee126ce18ebe9133c9fca03d3fd14bbb56ebff50335e47ce2b24b9ddc8558c35bb4596692ee03b415f72bc238a74bd3034de7ed80a869cc4d64a WHIRLPOOL 806b8898e4ee9c0c79fe0276375ef8e43fbe55c993e8f70f1f321c529f768aeef8a9dc32ca818849f1ad658a072f1b49c13f25a8ee71d3b5eef29d8b9ac7b865
25 DIST youtube-dl-2015.12.21.tar.gz 1849071 SHA256 7a61ccbc3cd55e712b2fb94a7dedff5052548bbebab9f8c441feec8a02748d4d SHA512 36ad04ccd539a2c63d39e59444033e3eb8d9e2265b769869e54d598ec4a956e3ede939a23fad6531682d0166869b88fd728368a81064690af3f197a45b92b5aa WHIRLPOOL 561239e3c48e75f1e393961d78aeecc2a45058d56bb42ab07accac1d27793cba90a2729424c63f49c50cf9539f683eed069cbdb7ae2bbd45cf0433bc639660b2
26 DIST youtube-dl-2015.12.23.tar.gz 1850244 SHA256 fe7088979c78eb900c3db110a577866a01e1dd537cddda25258893f099fff9ba SHA512 e6ca9197b54972ee2a1518c6d76a05c96c0b556a1b0be96bd6fbcf0cccfae4d0555e0aa4c718c6132ca9cb7243f9758b5f28c80be231d702d12a6c32928fb39b WHIRLPOOL fd1dbdb741bc6674b881829b6103b886e0f379b7a5e4d2181f672d445a7a56ceffe6619f114486546e70db3a14b92c7f6ead57586a9d090da77e56d583350b27
27
28 diff --git a/net-misc/youtube-dl/youtube-dl-2015.11.27.1.ebuild b/net-misc/youtube-dl/youtube-dl-2015.11.27.1.ebuild
29 deleted file mode 100644
30 index 7c5ab5b..0000000
31 --- a/net-misc/youtube-dl/youtube-dl-2015.11.27.1.ebuild
32 +++ /dev/null
33 @@ -1,87 +0,0 @@
34 -# Copyright 1999-2015 Gentoo Foundation
35 -# Distributed under the terms of the GNU General Public License v2
36 -# $Id$
37 -
38 -EAPI=5
39 -
40 -PYTHON_COMPAT=(python{2_7,3_3,3_4,3_5})
41 -DISTUTILS_SINGLE_IMPL=true
42 -inherit bash-completion-r1 distutils-r1 eutils
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 ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
51 -IUSE="offensive test"
52 -
53 -DEPEND="
54 - dev-python/setuptools[${PYTHON_USEDEP}]
55 - test? ( dev-python/nose[coverage(+)] )
56 -"
57 -
58 -S="${WORKDIR}/${PN}"
59 -
60 -src_prepare() {
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 drtuber eporner eroprofile extremetube
67 - fourtube foxgay goshgay hellporno hentaistigma hornbunny keezmovies
68 - mofosex motherless porn91 pornhd pornotube pornovoisines pornoxo
69 - redtube sexykarma sexu sunporno slutload spankbang spankwire thisav
70 - trutube tube8 vporn xbef xnxx xtube xvideos xxxymovies youjizz
71 - youporn
72 - )
73 - # these have multi-line import statements
74 - local mxxx=(
75 - pornhub xhamster tnaflix
76 - )
77 - # do single line imports
78 - sed -i \
79 - -e $( printf '/%s/d;' ${xxx[@]} ) \
80 - youtube_dl/extractor/__init__.py \
81 - || die
82 -
83 - # do multiple line imports
84 - sed -i \
85 - -e $( printf '/%s/,/)/d;' ${mxxx[@]} ) \
86 - youtube_dl/extractor/__init__.py \
87 - || die
88 -
89 - sed -i \
90 - -e $( printf '/%s/d;' ${mxxx[@]} ) \
91 - youtube_dl/extractor/generic.py \
92 - youtube_dl/extractor/tumblr.py \
93 - || die
94 -
95 - rm \
96 - $( printf 'youtube_dl/extractor/%s.py ' ${xxx[@]} ) \
97 - $( printf 'youtube_dl/extractor/%s.py ' ${mxxx[@]} ) \
98 - test/test_age_restriction.py \
99 - || die
100 - fi
101 -
102 - epatch_user
103 -}
104 -
105 -src_compile() {
106 - distutils-r1_src_compile
107 -}
108 -
109 -src_test() {
110 - emake test
111 -}
112 -
113 -src_install() {
114 - python_domodule youtube_dl
115 - dobin bin/${PN}
116 - dodoc README.txt
117 - doman ${PN}.1
118 - newbashcomp ${PN}.bash-completion ${PN}
119 - python_fix_shebang "${ED}"
120 -}
121
122 diff --git a/net-misc/youtube-dl/youtube-dl-2015.12.13.ebuild b/net-misc/youtube-dl/youtube-dl-2015.12.13.ebuild
123 deleted file mode 100644
124 index 7c5ab5b..0000000
125 --- a/net-misc/youtube-dl/youtube-dl-2015.12.13.ebuild
126 +++ /dev/null
127 @@ -1,87 +0,0 @@
128 -# Copyright 1999-2015 Gentoo Foundation
129 -# Distributed under the terms of the GNU General Public License v2
130 -# $Id$
131 -
132 -EAPI=5
133 -
134 -PYTHON_COMPAT=(python{2_7,3_3,3_4,3_5})
135 -DISTUTILS_SINGLE_IMPL=true
136 -inherit bash-completion-r1 distutils-r1 eutils
137 -
138 -DESCRIPTION="Download videos from YouTube.com (and more sites...)"
139 -HOMEPAGE="https://rg3.github.com/youtube-dl/"
140 -SRC_URI="http://youtube-dl.org/downloads/${PV}/${P}.tar.gz"
141 -
142 -LICENSE="public-domain"
143 -SLOT="0"
144 -KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
145 -IUSE="offensive test"
146 -
147 -DEPEND="
148 - dev-python/setuptools[${PYTHON_USEDEP}]
149 - test? ( dev-python/nose[coverage(+)] )
150 -"
151 -
152 -S="${WORKDIR}/${PN}"
153 -
154 -src_prepare() {
155 - if ! use offensive; then
156 - sed -i -e "/__version__/s|'$|-gentoo_no_offensive_sites'|g" \
157 - youtube_dl/version.py || die
158 - # these have single line import statements
159 - local xxx=(
160 - alphaporno anysex behindkink drtuber eporner eroprofile extremetube
161 - fourtube foxgay goshgay hellporno hentaistigma hornbunny keezmovies
162 - mofosex motherless porn91 pornhd pornotube pornovoisines pornoxo
163 - redtube sexykarma sexu sunporno slutload spankbang spankwire thisav
164 - trutube tube8 vporn xbef xnxx xtube xvideos xxxymovies youjizz
165 - youporn
166 - )
167 - # these have multi-line import statements
168 - local mxxx=(
169 - pornhub xhamster tnaflix
170 - )
171 - # do single line imports
172 - sed -i \
173 - -e $( printf '/%s/d;' ${xxx[@]} ) \
174 - youtube_dl/extractor/__init__.py \
175 - || die
176 -
177 - # do multiple line imports
178 - sed -i \
179 - -e $( printf '/%s/,/)/d;' ${mxxx[@]} ) \
180 - youtube_dl/extractor/__init__.py \
181 - || die
182 -
183 - sed -i \
184 - -e $( printf '/%s/d;' ${mxxx[@]} ) \
185 - youtube_dl/extractor/generic.py \
186 - youtube_dl/extractor/tumblr.py \
187 - || die
188 -
189 - rm \
190 - $( printf 'youtube_dl/extractor/%s.py ' ${xxx[@]} ) \
191 - $( printf 'youtube_dl/extractor/%s.py ' ${mxxx[@]} ) \
192 - test/test_age_restriction.py \
193 - || die
194 - fi
195 -
196 - epatch_user
197 -}
198 -
199 -src_compile() {
200 - distutils-r1_src_compile
201 -}
202 -
203 -src_test() {
204 - emake test
205 -}
206 -
207 -src_install() {
208 - python_domodule youtube_dl
209 - dobin bin/${PN}
210 - dodoc README.txt
211 - doman ${PN}.1
212 - newbashcomp ${PN}.bash-completion ${PN}
213 - python_fix_shebang "${ED}"
214 -}