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-2014.06.09.ebuild youtube-dl-2014.06.02.ebuild youtube-dl-2014.05.19.ebuild youtube-dl-2014.05.13.ebuild youtube-dl-2014.05.16.ebuild youtube-dl-2014.05.05.ebuild
Date: Mon, 09 Jun 2014 22:24:45
Message-Id: 20140609222442.C40AE2004E@flycatcher.gentoo.org
1 jer 14/06/09 22:24:42
2
3 Modified: ChangeLog
4 Added: youtube-dl-2014.06.09.ebuild
5 Removed: youtube-dl-2014.06.02.ebuild
6 youtube-dl-2014.05.19.ebuild
7 youtube-dl-2014.05.13.ebuild
8 youtube-dl-2014.05.16.ebuild
9 youtube-dl-2014.05.05.ebuild
10 Log:
11 Version bump.
12
13 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A792A613)
14
15 Revision Changes Path
16 1.345 net-misc/youtube-dl/ChangeLog
17
18 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/youtube-dl/ChangeLog?rev=1.345&view=markup
19 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/youtube-dl/ChangeLog?rev=1.345&content-type=text/plain
20 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/youtube-dl/ChangeLog?r1=1.344&r2=1.345
21
22 Index: ChangeLog
23 ===================================================================
24 RCS file: /var/cvsroot/gentoo-x86/net-misc/youtube-dl/ChangeLog,v
25 retrieving revision 1.344
26 retrieving revision 1.345
27 diff -u -r1.344 -r1.345
28 --- ChangeLog 8 Jun 2014 12:23:58 -0000 1.344
29 +++ ChangeLog 9 Jun 2014 22:24:42 -0000 1.345
30 @@ -1,6 +1,14 @@
31 # ChangeLog for net-misc/youtube-dl
32 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
33 -# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-dl/ChangeLog,v 1.344 2014/06/08 12:23:58 jer Exp $
34 +# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-dl/ChangeLog,v 1.345 2014/06/09 22:24:42 jer Exp $
35 +
36 +*youtube-dl-2014.06.09 (09 Jun 2014)
37 +
38 + 09 Jun 2014; Jeroen Roovers <jer@g.o> -youtube-dl-2014.05.05.ebuild,
39 + -youtube-dl-2014.05.13.ebuild, -youtube-dl-2014.05.16.ebuild,
40 + -youtube-dl-2014.05.19.ebuild, -youtube-dl-2014.06.02.ebuild,
41 + +youtube-dl-2014.06.09.ebuild:
42 + Version bump.
43
44 *youtube-dl-2014.06.07 (08 Jun 2014)
45
46
47
48
49 1.1 net-misc/youtube-dl/youtube-dl-2014.06.09.ebuild
50
51 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/youtube-dl/youtube-dl-2014.06.09.ebuild?rev=1.1&view=markup
52 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/youtube-dl/youtube-dl-2014.06.09.ebuild?rev=1.1&content-type=text/plain
53
54 Index: youtube-dl-2014.06.09.ebuild
55 ===================================================================
56 # Copyright 1999-2014 Gentoo Foundation
57 # Distributed under the terms of the GNU General Public License v2
58 # $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-dl/youtube-dl-2014.06.09.ebuild,v 1.1 2014/06/09 22:24:42 jer Exp $
59
60 EAPI=5
61
62 PYTHON_COMPAT=(python{2_6,2_7,3_3,3_4})
63 DISTUTILS_SINGLE_IMPL=true
64 inherit bash-completion-r1 distutils-r1 eutils
65
66 DESCRIPTION="Download videos from YouTube.com (and mores sites...)"
67 HOMEPAGE="http://rg3.github.com/youtube-dl/"
68 SRC_URI="http://youtube-dl.org/downloads/${PV}/${P}.tar.gz"
69
70 LICENSE="public-domain"
71 SLOT="0"
72 KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
73 IUSE="offensive test"
74
75 DEPEND="
76 dev-python/setuptools[${PYTHON_USEDEP}]
77 test? ( dev-python/nose[coverage(+)] )
78 "
79
80 S="${WORKDIR}/${PN}"
81
82 src_prepare() {
83 if ! use offensive; then
84 sed -i -e "/__version__/s|'$|-gentoo_no_offensive_sites'|g" \
85 youtube_dl/version.py || die
86 local xxx=(
87 extremetube fourtube hentaistigma mofosex pornhd pornhub pornotube
88 redtube slutload spankwire thisav trutube tube8 xbef xhamster xnxx
89 xtube xvideos youjizz youporn
90 )
91 sed -i -e $( printf '/%s/d;' ${xxx[@]} ) youtube_dl/extractor/__init__.py || die
92 rm $( printf 'youtube_dl/extractor/%s.py ' ${xxx[@]} ) \
93 test/test_age_restriction.py || die
94 fi
95 }
96
97 src_compile() {
98 distutils-r1_src_compile
99 }
100
101 src_test() {
102 emake test
103 }
104
105 src_install() {
106 python_domodule youtube_dl
107 dobin bin/${PN}
108 dodoc README.txt
109 doman ${PN}.1
110 newbashcomp ${PN}.bash-completion ${PN}
111 python_fix_shebang "${ED}"
112 }