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: Thu, 02 Jun 2016 11:07:56
Message-Id: 1464865666.d9a4a92dcaa3b82d775f9180695c08e83f9e3a8d.jer@gentoo
1 commit: d9a4a92dcaa3b82d775f9180695c08e83f9e3a8d
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jun 2 10:38:16 2016 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 2 11:07:46 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9a4a92d
7
8 net-misc/youtube-dl: Old.
9
10 Package-Manager: portage-2.3.0_rc1
11
12 net-misc/youtube-dl/Manifest | 1 -
13 net-misc/youtube-dl/youtube-dl-2016.05.21.2.ebuild | 96 ----------------------
14 2 files changed, 97 deletions(-)
15
16 diff --git a/net-misc/youtube-dl/Manifest b/net-misc/youtube-dl/Manifest
17 index e5d7fab..caf439f 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.05.21.2.tar.gz 2156460 SHA256 66f94fc97012c4c7a6338dc4df6ec62af66dcfc144c5e8c8cd8b5519756f1a98 SHA512 0a3b4bac9a1a6d33859936335404c298322e3371a4d1455108e4c32b94e6427371fbcc59bc140c774fbefb42e262c0fc2b4e6a544b8dba687c35d1d7ae65c345 WHIRLPOOL 9b319d6fcbf3da8b03fcd6528f7ac2eaa1ba15da3af7eb035c7f7dc2c3b9f245bbb9cd2521c33f3ef8209f8ee75ad8e37631ee908d2a34f5e5d8001b06b711db
23 DIST youtube-dl-2016.05.30.2.tar.gz 2151363 SHA256 1ffb367f65f5f0ebdaaee92db509e49e88cbd27fc83d34e80ec3e9b5a3c797ad SHA512 8baa4fd8da71a91a616bb16320c1dd5f7033b657460e0524e0c1b4daeaa70bdf2109bf710c5388db0f4c71f78495a3030b7e0d589439e5114769c53afb414bf1 WHIRLPOOL ad60d8c16cf7181044af8968c9bc61b3759828c85f05de5bfce145cbb13b5bc83dedb49e2e6b30e57aa2c69b318d6dc4f1ce9f70ccf3c28f614f0cd7446c43b2
24 DIST youtube-dl-2016.06.02.tar.gz 2152368 SHA256 0a2ce75ec7734b2b251815146f52678240e9f8cedeb00a5da04c85ebae8e1497 SHA512 36a75ca134c8dc70cfca763af552aadc9e4a6a997c62893a770652980c68918244c7f447db4dcc10147704a25c73f3d0a36de436bb881883c5c915f96f1c54b6 WHIRLPOOL ab4a29c741a0abd8b4ca6f359372ef1303467fc5c5a2ec56c6bbf14eb03448b098a42a65fd8271057f2f55c9f7d1bbd67238550ce4ac875993eca5a5a284865e
25
26 diff --git a/net-misc/youtube-dl/youtube-dl-2016.05.21.2.ebuild b/net-misc/youtube-dl/youtube-dl-2016.05.21.2.ebuild
27 deleted file mode 100644
28 index 969c3bf..0000000
29 --- a/net-misc/youtube-dl/youtube-dl-2016.05.21.2.ebuild
30 +++ /dev/null
31 @@ -1,96 +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 -DISTUTILS_SINGLE_IMPL=true
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 -DEPEND="
52 - dev-python/setuptools[${PYTHON_USEDEP}]
53 - test? ( dev-python/nose[coverage(+)] )
54 -"
55 -
56 -S="${WORKDIR}/${PN}"
57 -
58 -src_prepare() {
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 drtuber eporner
65 - eroprofile extremetube fourtube foxgay goshgay hellporno
66 - hentaistigma hornbunny keezmovies lovehomeporn mofosex motherless
67 - myvidster porn91 pornhd pornotube pornovoisines pornoxo redtube
68 - ruleporn sexu slutload spankbang spankwire sunporno thisav trutube
69 - tube8 vporn watchindianporn xbef xnxx xtube xvideos xxxymovies
70 - youjizz youporn
71 - )
72 - # these have multi-line import statements
73 - local mxxx=(
74 - pornhub xhamster tnaflix
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 - epatch_user
101 -}
102 -
103 -src_compile() {
104 - distutils-r1_src_compile
105 -}
106 -
107 -src_test() {
108 - emake test
109 -}
110 -
111 -src_install() {
112 - python_domodule youtube_dl
113 - dobin bin/${PN}
114 -
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/completions
124 - doins youtube-dl.fish
125 -
126 - python_fix_shebang "${ED}"
127 -}