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