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