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: Mon, 27 Nov 2017 23:54:38
Message-Id: 1511826869.71d666174e63efbdf197cec14d643a460dab32c8.jer@gentoo
1 commit: 71d666174e63efbdf197cec14d643a460dab32c8
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 27 23:53:22 2017 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 27 23:54:29 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71d66617
7
8 net-misc/youtube-dl: Old.
9
10 Package-Manager: Portage-2.3.16, Repoman-2.3.6
11
12 net-misc/youtube-dl/Manifest | 1 -
13 net-misc/youtube-dl/youtube-dl-2017.11.06.ebuild | 97 ------------------------
14 2 files changed, 98 deletions(-)
15
16 diff --git a/net-misc/youtube-dl/Manifest b/net-misc/youtube-dl/Manifest
17 index 9f1a924e1ca..20300aa4158 100644
18 --- a/net-misc/youtube-dl/Manifest
19 +++ b/net-misc/youtube-dl/Manifest
20 @@ -1,4 +1,3 @@
21 DIST youtube-dl-2017.03.16.tar.gz 2631620 BLAKE2B 2aff8710a296140a4329b0f8e7f57526684ca114ba39a7397eef81b1b79b4b5dfae685c1f0011cddf8569d8df1e50111bbce7f12647c067972c79ea3b116b2ff SHA512 f3b8942f6b2be3b1cfd4bddfb74c17bad48c8ef4bea34114970ecb9d65b5a3dcbe71beba6d7c2dbda168371bbb2e8bbaddce58039bd9d158bf23950a2a88123c
22 -DIST youtube-dl-2017.11.06.tar.gz 2831531 BLAKE2B 42a9d1735ac7fb0c42454475ccf24d141a742a2c8aaa89e8d5bf23479aa4a017bb6f19ac18f2355c0caef2c9a0dc8c5d102bd656d61a6f505e4b388fcf70c474 SHA512 0f7707084f84e7375ae61ffa88979990ba27cf2afb44992d75172415190f5959fe317313b127cbdde33500ed6b0525e9ff03872116dfa7ca188a97e74d562574
23 DIST youtube-dl-2017.11.15.tar.gz 2834012 BLAKE2B fd93e3923f99874be58681a886c09e31ac10063975ab636badf27e59b44743c72cddf05e3a431c49ffd0f7b40f9b005f4d90feff85d4ca889dee80833300b076 SHA512 e10c0d53db7fdfb02610b53f54046c0a9354b305ba05c5d00a43649a283a6449263f66ff56171d52cf18f906c6aeccc25dc48ea708b4b1bb2b8323b937abca96
24 DIST youtube-dl-2017.11.26.tar.gz 2839867 BLAKE2B c4f1b9739283fb4016ff0892bdcb0db86f1ddc88842553d76159fe4312e70e7145085f3b6a1bfc157d7f5811f28eb1ab79661db701a3366be12be2357b464f19 SHA512 ecf1eb88b37e271505a50709a468afcc6048f00bc6531e8df1eb064dcea62ad6fa2a5a9016d1d106e56b9d3b9904325e133491ca124e06ec64e6f4a5902a2368
25
26 diff --git a/net-misc/youtube-dl/youtube-dl-2017.11.06.ebuild b/net-misc/youtube-dl/youtube-dl-2017.11.06.ebuild
27 deleted file mode 100644
28 index 975ce26c347..00000000000
29 --- a/net-misc/youtube-dl/youtube-dl-2017.11.06.ebuild
30 +++ /dev/null
31 @@ -1,97 +0,0 @@
32 -# Copyright 1999-2017 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=6
36 -PYTHON_COMPAT=(python{2_7,3_4,3_5,3_6})
37 -inherit bash-completion-r1 distutils-r1
38 -
39 -DESCRIPTION="Download videos from YouTube.com (and more sites...)"
40 -HOMEPAGE="https://rg3.github.com/youtube-dl/"
41 -SRC_URI="http://youtube-dl.org/downloads/${PV}/${P}.tar.gz"
42 -
43 -LICENSE="public-domain"
44 -SLOT="0"
45 -KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
46 -IUSE="+offensive test"
47 -
48 -RDEPEND="
49 - dev-python/setuptools[${PYTHON_USEDEP}]
50 -"
51 -DEPEND="
52 - ${RDEPEND}
53 - test? ( dev-python/nose[coverage(+)] )
54 -"
55 -
56 -S="${WORKDIR}/${PN}"
57 -
58 -python_prepare_all() {
59 - if ! use offensive; then
60 - sed -i -e "/..version../s|'$|+gentoo.no.offensive.sites'|g" \
61 - youtube_dl/version.py || die
62 - # these have single line import statements
63 - local xxx=(
64 - alphaporno anysex behindkink camwithher chaturbate eporner
65 - eroprofile extremetube foxgay goshgay hellporno hentaistigma
66 - hornbunny keezmovies lovehomeporn mofosex motherless myvidster
67 - porn91 porncom pornflip pornhd pornotube pornovoisines pornoxo
68 - ruleporn sexu slutload spankbang spankwire sunporno thisav tube8
69 - vporn watchindianporn xbef xnxx xtube xvideos xxxymovies youjizz
70 - youporn
71 - )
72 - # these have multi-line import statements
73 - local mxxx=(
74 - drtuber fourtube pornhub redtube tnaflix xhamster
75 - )
76 - # do single line imports
77 - sed -i \
78 - -e $( printf '/%s/d;' ${xxx[@]} ) \
79 - youtube_dl/extractor/extractors.py \
80 - || die
81 -
82 - # do multiple line imports
83 - sed -i \
84 - -e $( printf '/%s/,/)/d;' ${mxxx[@]} ) \
85 - youtube_dl/extractor/extractors.py \
86 - || die
87 -
88 - sed -i \
89 - -e $( printf '/%s/d;' ${mxxx[@]} ) \
90 - youtube_dl/extractor/generic.py \
91 - || die
92 -
93 - rm \
94 - $( printf 'youtube_dl/extractor/%s.py ' ${xxx[@]} ) \
95 - $( printf 'youtube_dl/extractor/%s.py ' ${mxxx[@]} ) \
96 - test/test_age_restriction.py \
97 - || die
98 - fi
99 -
100 - eapply_user
101 -
102 - distutils-r1_python_prepare_all
103 -}
104 -
105 -src_compile() {
106 - distutils-r1_src_compile
107 -}
108 -
109 -python_test() {
110 - emake test
111 -}
112 -
113 -python_install_all() {
114 - dodoc README.txt
115 - doman ${PN}.1
116 -
117 - newbashcomp ${PN}.bash-completion ${PN}
118 -
119 - insinto /usr/share/zsh/site-functions
120 - newins youtube-dl.zsh _youtube-dl
121 -
122 - insinto /usr/share/fish/completions
123 - doins youtube-dl.fish
124 -
125 - distutils-r1_python_install_all
126 -
127 - rm -r "${ED}"/usr/etc || die
128 -}