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, 29 Oct 2017 22:32:12
Message-Id: 1509316325.1e96e89be0afad5b26c23b20d5caece934769a96.jer@gentoo
1 commit: 1e96e89be0afad5b26c23b20d5caece934769a96
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 29 22:31:28 2017 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 29 22:32:05 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e96e89b
7
8 net-misc/youtube-dl: Old.
9
10 Package-Manager: Portage-2.3.13, Repoman-2.3.4
11
12 net-misc/youtube-dl/Manifest | 1 -
13 net-misc/youtube-dl/youtube-dl-2017.10.15.1.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 b62d5dc3797..49ea154c127 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.10.15.1.tar.gz 2820437 SHA256 da6ae68b2fbe81da7cf4ac6b989fa7bf27b3beb214eed551d466cc6e41d7297f SHA512 6093747f732dac4eda4c71d334ed01fc24ba70d29e5660c38ff795861f06c4029441c3a4576e6a5463974488aeb7732687e5634481c8b04127f77499a2405a1c WHIRLPOOL cc8fca27f2a110fde556e6c6506a88715d4e4a03c971b7e74e77a91a5b28916c66146afd6e476a19aca2fff3270719da102d254a05f62dbabb5dc2a10040d839
23 DIST youtube-dl-2017.10.20.tar.gz 2824647 SHA256 3e920a573218328a0864ffda5084093ec03108a7d4cd13cea7be85d7c342f95a SHA512 973465ad7d04f9d790fb9d36ca1c2c89c13f64b599ac3ef61f7720cd9d618d01619f76b419044eb716123e8300c1e2b4d881972a8240e0421f396dddd7affef1 WHIRLPOOL 2292bb5bdde62bc94b83d01da7b9a251fa88feaf95d2df703b40db36297cee75e76e776db4e0ca2959873f30655ee93cc52c76731230957a3bbbff0e5e736b0a
24 DIST youtube-dl-2017.10.29.tar.gz 2831813 SHA256 8fe003472048113ed6fcc422cc48cc76a49cfdd12f189b832c40a2cc44e452f9 SHA512 50781f792fa01ad64b6f7b6fc05730dff09b10007ef5c23ee558148affb2a126958bd5ed8d1ac4499ddc48a56a5b9df47f20612ae09f41084e6dbac5fc3f3426 WHIRLPOOL 1393943e90c096feaf0d7902408a965ae4fac961cb6cab1bc3f77a1d75478d91e5a0da5a72a3da71c09c44b05778e5b5481a44bd1494112dfe3ec5af3de5f78d
25
26 diff --git a/net-misc/youtube-dl/youtube-dl-2017.10.15.1.ebuild b/net-misc/youtube-dl/youtube-dl-2017.10.15.1.ebuild
27 deleted file mode 100644
28 index 975ce26c347..00000000000
29 --- a/net-misc/youtube-dl/youtube-dl-2017.10.15.1.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 -}