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