Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/youtube-dl: ChangeLog youtube-dl-2015.05.29.ebuild youtube-dl-2015.05.15.ebuild
Date: Sat, 30 May 2015 09:50:07
Message-Id: 20150530095000.944D8A0C@oystercatcher.gentoo.org
1 jer 15/05/30 09:50:00
2
3 Modified: ChangeLog
4 Added: youtube-dl-2015.05.29.ebuild
5 Removed: youtube-dl-2015.05.15.ebuild
6 Log:
7 Version bump.
8
9 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key A792A613)
10
11 Revision Changes Path
12 1.484 net-misc/youtube-dl/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/youtube-dl/ChangeLog?rev=1.484&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/youtube-dl/ChangeLog?rev=1.484&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/youtube-dl/ChangeLog?r1=1.483&r2=1.484
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-misc/youtube-dl/ChangeLog,v
21 retrieving revision 1.483
22 retrieving revision 1.484
23 diff -u -r1.483 -r1.484
24 --- ChangeLog 21 May 2015 05:33:18 -0000 1.483
25 +++ ChangeLog 30 May 2015 09:50:00 -0000 1.484
26 @@ -1,6 +1,12 @@
27 # ChangeLog for net-misc/youtube-dl
28 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-dl/ChangeLog,v 1.483 2015/05/21 05:33:18 jer Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-dl/ChangeLog,v 1.484 2015/05/30 09:50:00 jer Exp $
31 +
32 +*youtube-dl-2015.05.29 (30 May 2015)
33 +
34 + 30 May 2015; Jeroen Roovers <jer@g.o> -youtube-dl-2015.05.15.ebuild,
35 + +youtube-dl-2015.05.29.ebuild:
36 + Version bump.
37
38 *youtube-dl-2015.05.20 (21 May 2015)
39
40
41
42
43 1.1 net-misc/youtube-dl/youtube-dl-2015.05.29.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/youtube-dl/youtube-dl-2015.05.29.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/youtube-dl/youtube-dl-2015.05.29.ebuild?rev=1.1&content-type=text/plain
47
48 Index: youtube-dl-2015.05.29.ebuild
49 ===================================================================
50 # Copyright 1999-2015 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-dl/youtube-dl-2015.05.29.ebuild,v 1.1 2015/05/30 09:50:00 jer Exp $
53
54 EAPI=5
55
56 PYTHON_COMPAT=(python{2_7,3_3,3_4})
57 DISTUTILS_SINGLE_IMPL=true
58 inherit bash-completion-r1 distutils-r1 eutils
59
60 DESCRIPTION="Download videos from YouTube.com (and more sites...)"
61 HOMEPAGE="http://rg3.github.com/youtube-dl/"
62 SRC_URI="http://youtube-dl.org/downloads/${PV}/${P}.tar.gz"
63
64 LICENSE="public-domain"
65 SLOT="0"
66 KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
67 IUSE="offensive test"
68
69 DEPEND="
70 dev-python/setuptools[${PYTHON_USEDEP}]
71 test? ( dev-python/nose[coverage(+)] )
72 "
73
74 S="${WORKDIR}/${PN}"
75
76 src_prepare() {
77 if ! use offensive; then
78 sed -i -e "/__version__/s|'$|-gentoo_no_offensive_sites'|g" \
79 youtube_dl/version.py || die
80 # these have single line import statements
81 local xxx=(
82 alphaporno anysex behindkink drtuber empflix eporner eroprofile
83 extremetube fourtube foxgay goshgay hellporno hentaistigma
84 hornbunny keezmovies mofosex motherless pornhd pornotube
85 pornovoisines pornoxo redtube sexykarma sexu sunporno slutload
86 spankbang spankwire thisav tnaflix trutube tube8 vporn xbef
87 xhamster xnxx xtube xvideos xxxymovies youjizz youporn
88 )
89 # these have multi-line import statements
90 local mxxx=(
91 pornhub
92 )
93 # do single line imports
94 sed -i -e $( printf '/%s/d;' ${xxx[@]} ) youtube_dl/extractor/__init__.py || die
95 # do multiple line imports
96 sed -i -e $( printf '/%s/,/)/d;' ${mxxx[@]} ) youtube_dl/extractor/__init__.py || die
97
98 rm $( printf 'youtube_dl/extractor/%s.py ' ${xxx[@]} ) \
99 $( printf 'youtube_dl/extractor/%s.py ' ${mxxx[@]} ) \
100 test/test_age_restriction.py || die
101 fi
102
103 epatch_user
104 }
105
106 src_compile() {
107 distutils-r1_src_compile
108 }
109
110 src_test() {
111 emake test
112 }
113
114 src_install() {
115 python_domodule youtube_dl
116 dobin bin/${PN}
117 dodoc README.txt
118 doman ${PN}.1
119 newbashcomp ${PN}.bash-completion ${PN}
120 python_fix_shebang "${ED}"
121 }