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