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, 27 Aug 2017 14:36:21
Message-Id: 1503844576.3a7caaf0704cf7739bcd678f9a79835b8561a6d7.jer@gentoo
1 commit: 3a7caaf0704cf7739bcd678f9a79835b8561a6d7
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 27 14:35:59 2017 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 27 14:36:16 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a7caaf0
7
8 net-misc/youtube-dl: Old.
9
10 Package-Manager: Portage-2.3.8, Repoman-2.3.3
11
12 net-misc/youtube-dl/Manifest | 1 -
13 net-misc/youtube-dl/youtube-dl-2017.08.18.ebuild | 98 ------------------------
14 2 files changed, 99 deletions(-)
15
16 diff --git a/net-misc/youtube-dl/Manifest b/net-misc/youtube-dl/Manifest
17 index ba10e07f461..5a224060264 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 SHA256 55df3cbda9cf86e49baf54040340ec74c692bb3d6da3d2f5a1bc1238017dd492 SHA512 f3b8942f6b2be3b1cfd4bddfb74c17bad48c8ef4bea34114970ecb9d65b5a3dcbe71beba6d7c2dbda168371bbb2e8bbaddce58039bd9d158bf23950a2a88123c WHIRLPOOL 8345da00074e62ec9a9c244cb9ef64930fbd0e5e9e5bc1709bfcf56517cc6312031a09523c3016db2a1542c16a0297bea9d6883a201ae94e347e358307e92422
22 -DIST youtube-dl-2017.08.18.tar.gz 2779312 SHA256 a7f4279b7b8b54f44025fccc22f3e511cae77314f7d37b73334c981946e4c3d6 SHA512 bf403e2f4b7024346219ce01b229ab18329e3faf7aadbd0706e7783072815eaf588812ccbed876212d57192533c09ec8aaceb4a497a411672533b436a9f215f5 WHIRLPOOL a262d999ef27f44b4daeda207b35d2f4952aa04f5b965ada8d47a9b2f64d0f887a5d2276a13db297e9d40957c266556db551ed326beddd5239951cd0262dfc12
23 DIST youtube-dl-2017.08.23.tar.gz 2783237 SHA256 90c56ce90cd99cefb83607c37b0b641c7e4e1ef37040ad4187425aebcfc800ef SHA512 d4e1407558ed7dc7369ada2eabbd64f0e74b718abc67f7f4aa1eef8f522880a63b943b70b6af4b18df176db72c9e9552f1e36727312944b62b6d3aae3bc11b4e WHIRLPOOL 32620396ae7e7b620e956539a5afd98223dff176ad6306fc291bc4f4bdace5a309b9b5f7afc1ee5c982d5e62c7d93886073d3c5c29629673f0336c8378216fba
24 DIST youtube-dl-2017.08.27.1.tar.gz 2784682 SHA256 32d823b8aa1714c40e20f920e481be48d7458d657e66d118a0467a351d680aac SHA512 4cbe2c2b917b59ccb5a171a171c69d5bdd915a56a4ca2d4bf67a04c7425b2d4849403a78d954cd0aa8401f8f4b61e4ebe96160aba2a9d2f3da1eae026739e9ba WHIRLPOOL c99cde85126741845a1e45873f8d79362775b4066a9736b563d15993d88c5b9201c9cb2239b8db85a8e18a91f7118906bd0ad5cd93e98a8538d7f796df0fb675
25
26 diff --git a/net-misc/youtube-dl/youtube-dl-2017.08.18.ebuild b/net-misc/youtube-dl/youtube-dl-2017.08.18.ebuild
27 deleted file mode 100644
28 index 57b578450c4..00000000000
29 --- a/net-misc/youtube-dl/youtube-dl-2017.08.18.ebuild
30 +++ /dev/null
31 @@ -1,98 +0,0 @@
32 -# Copyright 1999-2017 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=5
36 -
37 -PYTHON_COMPAT=(python{2_7,3_4,3_5,3_6})
38 -inherit bash-completion-r1 distutils-r1 eutils
39 -
40 -DESCRIPTION="Download videos from YouTube.com (and more sites...)"
41 -HOMEPAGE="https://rg3.github.com/youtube-dl/"
42 -SRC_URI="http://youtube-dl.org/downloads/${PV}/${P}.tar.gz"
43 -
44 -LICENSE="public-domain"
45 -SLOT="0"
46 -KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
47 -IUSE="+offensive test"
48 -
49 -RDEPEND="
50 - dev-python/setuptools[${PYTHON_USEDEP}]
51 -"
52 -DEPEND="
53 - ${RDEPEND}
54 - test? ( dev-python/nose[coverage(+)] )
55 -"
56 -
57 -S="${WORKDIR}/${PN}"
58 -
59 -python_prepare_all() {
60 - if ! use offensive; then
61 - sed -i -e "/..version../s|'$|+gentoo.no.offensive.sites'|g" \
62 - youtube_dl/version.py || die
63 - # these have single line import statements
64 - local xxx=(
65 - alphaporno anysex behindkink camwithher chaturbate eporner
66 - eroprofile extremetube foxgay goshgay hellporno hentaistigma
67 - hornbunny keezmovies lovehomeporn mofosex motherless myvidster
68 - porn91 porncom pornflip pornhd pornotube pornovoisines pornoxo
69 - ruleporn sexu slutload spankbang spankwire sunporno thisav tube8
70 - vporn watchindianporn xbef xnxx xtube xvideos xxxymovies youjizz
71 - youporn
72 - )
73 - # these have multi-line import statements
74 - local mxxx=(
75 - drtuber fourtube pornhub redtube tnaflix xhamster
76 - )
77 - # do single line imports
78 - sed -i \
79 - -e $( printf '/%s/d;' ${xxx[@]} ) \
80 - youtube_dl/extractor/extractors.py \
81 - || die
82 -
83 - # do multiple line imports
84 - sed -i \
85 - -e $( printf '/%s/,/)/d;' ${mxxx[@]} ) \
86 - youtube_dl/extractor/extractors.py \
87 - || die
88 -
89 - sed -i \
90 - -e $( printf '/%s/d;' ${mxxx[@]} ) \
91 - youtube_dl/extractor/generic.py \
92 - || die
93 -
94 - rm \
95 - $( printf 'youtube_dl/extractor/%s.py ' ${xxx[@]} ) \
96 - $( printf 'youtube_dl/extractor/%s.py ' ${mxxx[@]} ) \
97 - test/test_age_restriction.py \
98 - || die
99 - fi
100 -
101 - epatch_user
102 -
103 - distutils-r1_python_prepare_all
104 -}
105 -
106 -src_compile() {
107 - distutils-r1_src_compile
108 -}
109 -
110 -python_test() {
111 - emake test
112 -}
113 -
114 -python_install_all() {
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 - distutils-r1_python_install_all
127 -
128 - rm -r "${ED}"/usr/etc || die
129 -}