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.07.25.1.ebuild ChangeLog youtube-dl-2014.07.23.2.ebuild
Date: Tue, 29 Jul 2014 22:10:42
Message-Id: 20140729221036.124072004E@flycatcher.gentoo.org
1 jer 14/07/29 22:10:35
2
3 Modified: ChangeLog
4 Added: youtube-dl-2014.07.25.1.ebuild
5 Removed: youtube-dl-2014.07.23.2.ebuild
6 Log:
7 Version bump.
8
9 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A792A613)
10
11 Revision Changes Path
12 1.365 net-misc/youtube-dl/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/youtube-dl/ChangeLog?rev=1.365&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/youtube-dl/ChangeLog?rev=1.365&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/youtube-dl/ChangeLog?r1=1.364&r2=1.365
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-misc/youtube-dl/ChangeLog,v
21 retrieving revision 1.364
22 retrieving revision 1.365
23 diff -u -r1.364 -r1.365
24 --- ChangeLog 24 Jul 2014 10:54:15 -0000 1.364
25 +++ ChangeLog 29 Jul 2014 22:10:34 -0000 1.365
26 @@ -1,6 +1,12 @@
27 # ChangeLog for net-misc/youtube-dl
28 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-dl/ChangeLog,v 1.364 2014/07/24 10:54:15 jer Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-dl/ChangeLog,v 1.365 2014/07/29 22:10:34 jer Exp $
31 +
32 +*youtube-dl-2014.07.25.1 (29 Jul 2014)
33 +
34 + 29 Jul 2014; Jeroen Roovers <jer@g.o> -youtube-dl-2014.07.23.2.ebuild,
35 + +youtube-dl-2014.07.25.1.ebuild:
36 + Version bump.
37
38 *youtube-dl-2014.07.24 (24 Jul 2014)
39
40
41
42
43 1.1 net-misc/youtube-dl/youtube-dl-2014.07.25.1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/youtube-dl/youtube-dl-2014.07.25.1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/youtube-dl/youtube-dl-2014.07.25.1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: youtube-dl-2014.07.25.1.ebuild
49 ===================================================================
50 # Copyright 1999-2014 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-2014.07.25.1.ebuild,v 1.1 2014/07/29 22:10:34 jer Exp $
53
54 EAPI=5
55
56 PYTHON_COMPAT=(python{2_6,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 mores 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 local xxx=(
81 extremetube fourtube goshgay hentaistigma mofosex pornhd pornhub
82 pornotube redtube slutload spankwire thisav trutube tube8 xbef
83 xhamster xnxx xtube xvideos youjizz youporn
84 )
85 sed -i -e $( printf '/%s/d;' ${xxx[@]} ) youtube_dl/extractor/__init__.py || die
86 rm $( printf 'youtube_dl/extractor/%s.py ' ${xxx[@]} ) \
87 test/test_age_restriction.py || die
88 fi
89 }
90
91 src_compile() {
92 distutils-r1_src_compile
93 }
94
95 src_test() {
96 emake test
97 }
98
99 src_install() {
100 python_domodule youtube_dl
101 dobin bin/${PN}
102 dodoc README.txt
103 doman ${PN}.1
104 newbashcomp ${PN}.bash-completion ${PN}
105 python_fix_shebang "${ED}"
106 }