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, 27 Apr 2016 12:17:22
Message-Id: 1461759437.33a941a3e20cdbe7ee00d3ad7f74554bad47fa75.jer@gentoo
1 commit: 33a941a3e20cdbe7ee00d3ad7f74554bad47fa75
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 27 12:16:56 2016 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 27 12:17:17 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33a941a3
7
8 net-misc/youtube-dl: Old.
9
10 Package-Manager: portage-2.2.28
11
12 net-misc/youtube-dl/Manifest | 1 -
13 .../youtube-dl/youtube-dl-2016.04.13-r1.ebuild | 87 ----------------------
14 2 files changed, 88 deletions(-)
15
16 diff --git a/net-misc/youtube-dl/Manifest b/net-misc/youtube-dl/Manifest
17 index 0be69ab..bdd0f0b 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.04.13.tar.gz 2070544 SHA256 f9307cbf2f2e9baf4724d9a35beecd9c7728422c0bff5e9efd0e8a026cc952cb SHA512 8e704b0a1fdcabaf8fe211f2dfd7d14104741df08ba5778b1c1c8083828aff808179fed7179ce6bdac7b54bcdc73acfea687b08c6acab79cd091e3f8bc6896c8 WHIRLPOOL a3487fb37b05b8bae8e8ad9bae6cbf16677a7b088c5a146047ea8a8f35cf09dce581ea2c21a25ea9b99b6813e90873ad83d8c385dff229ac0d7d7fcb620582c6
23 DIST youtube-dl-2016.04.19.tar.gz 2075147 SHA256 09ba62900703a1439659a5394d802c7b03fd3a7b35d604e94a256ae9ccd1b6a0 SHA512 96a5e8ed081355d6a4682355004b26c62385f89091a39ebaadd3cd4b655872db0e196dea44377e98d882d98581f6d5983aa3e7522d1292c4e57b86bcc252aa2b WHIRLPOOL ba8938c6fd34e4a7a32ccb16240ac1d48c2266cad46b2a79d02a2759c1a03d2bc2f2429e02674d6cf97fade60f44fdc9423d45c906eff9b64434977734ee081a
24 DIST youtube-dl-2016.04.24.tar.gz 2084276 SHA256 9ca83ae9cf783b3d9a231611ef5e446fa61fa77d0f4c9d0545895e6ce691321f SHA512 b30b01eb9100a30ce792283e1598f5f2058a56a90d1a1f0359efb79ca2d360dff4f525a3b906d777d4e09e046e3e21ed0342b29bf90c42be6321fc77a303ee42 WHIRLPOOL d875ece17393b7a413718bad1010ac6934f7f853a38d66af96b165399473f60280dfda7b1173b16fa8db7f7ba5816b9ee67e55438b8191d944b2dc28c5d5e506
25
26 diff --git a/net-misc/youtube-dl/youtube-dl-2016.04.13-r1.ebuild b/net-misc/youtube-dl/youtube-dl-2016.04.13-r1.ebuild
27 deleted file mode 100644
28 index 5cf89a1..0000000
29 --- a/net-misc/youtube-dl/youtube-dl-2016.04.13-r1.ebuild
30 +++ /dev/null
31 @@ -1,87 +0,0 @@
32 -# Copyright 1999-2015 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 malemotion mofosex
67 - motherless myvidster porn91 pornhd pornotube pornovoisines pornoxo
68 - redtube ruleporn sexu sexykarma slutload spankbang spankwire
69 - sunporno thisav trutube tube8 vporn xbef xnxx xtube xvideos
70 - xxxymovies 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 - dodoc README.txt
115 - doman ${PN}.1
116 - newbashcomp ${PN}.bash-completion ${PN}
117 - python_fix_shebang "${ED}"
118 -}