1 |
jer 15/07/29 04:51:00 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: youtube-dl-2015.07.28.ebuild |
5 |
Removed: youtube-dl-2015.07.18.ebuild |
6 |
Log: |
7 |
Version bump. |
8 |
|
9 |
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key A792A613) |
10 |
|
11 |
Revision Changes Path |
12 |
1.494 net-misc/youtube-dl/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/youtube-dl/ChangeLog?rev=1.494&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/youtube-dl/ChangeLog?rev=1.494&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/youtube-dl/ChangeLog?r1=1.493&r2=1.494 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/youtube-dl/ChangeLog,v |
21 |
retrieving revision 1.493 |
22 |
retrieving revision 1.494 |
23 |
diff -u -r1.493 -r1.494 |
24 |
--- ChangeLog 22 Jul 2015 04:21:06 -0000 1.493 |
25 |
+++ ChangeLog 29 Jul 2015 04:51:00 -0000 1.494 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for net-misc/youtube-dl |
28 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-dl/ChangeLog,v 1.493 2015/07/22 04:21:06 jer Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-dl/ChangeLog,v 1.494 2015/07/29 04:51:00 jer Exp $ |
31 |
+ |
32 |
+*youtube-dl-2015.07.28 (29 Jul 2015) |
33 |
+ |
34 |
+ 29 Jul 2015; Jeroen Roovers <jer@g.o> -youtube-dl-2015.07.18.ebuild, |
35 |
+ +youtube-dl-2015.07.28.ebuild: |
36 |
+ Version bump. |
37 |
|
38 |
*youtube-dl-2015.07.21 (22 Jul 2015) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 net-misc/youtube-dl/youtube-dl-2015.07.28.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/youtube-dl/youtube-dl-2015.07.28.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/youtube-dl/youtube-dl-2015.07.28.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: youtube-dl-2015.07.28.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2015 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-2015.07.28.ebuild,v 1.1 2015/07/29 04:51:00 jer Exp $ |
53 |
|
54 |
EAPI=5 |
55 |
|
56 |
PYTHON_COMPAT=(python{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 more 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 |
# these have single line import statements |
81 |
local xxx=( |
82 |
alphaporno anysex behindkink drtuber eporner eroprofile extremetube |
83 |
fourtube foxgay goshgay hellporno hentaistigma hornbunny keezmovies |
84 |
mofosex motherless porn91 pornhd pornotube pornovoisines pornoxo |
85 |
redtube sexykarma sexu sunporno slutload spankbang spankwire thisav |
86 |
trutube tube8 vporn xbef xnxx xtube xvideos xxxymovies youjizz |
87 |
youporn |
88 |
) |
89 |
# these have multi-line import statements |
90 |
local mxxx=( |
91 |
pornhub xhamster tnaflix |
92 |
) |
93 |
# do single line imports |
94 |
sed -i \ |
95 |
-e $( printf '/%s/d;' ${xxx[@]} ) \ |
96 |
youtube_dl/extractor/__init__.py \ |
97 |
|| die |
98 |
|
99 |
# do multiple line imports |
100 |
sed -i \ |
101 |
-e $( printf '/%s/,/)/d;' ${mxxx[@]} ) \ |
102 |
youtube_dl/extractor/__init__.py \ |
103 |
|| die |
104 |
|
105 |
sed -i \ |
106 |
-e $( printf '/%s/d;' ${mxxx[@]} ) \ |
107 |
youtube_dl/extractor/generic.py \ |
108 |
youtube_dl/extractor/tumblr.py \ |
109 |
|| die |
110 |
|
111 |
rm \ |
112 |
$( printf 'youtube_dl/extractor/%s.py ' ${xxx[@]} ) \ |
113 |
$( printf 'youtube_dl/extractor/%s.py ' ${mxxx[@]} ) \ |
114 |
test/test_age_restriction.py \ |
115 |
|| die |
116 |
fi |
117 |
|
118 |
epatch_user |
119 |
} |
120 |
|
121 |
src_compile() { |
122 |
distutils-r1_src_compile |
123 |
} |
124 |
|
125 |
src_test() { |
126 |
emake test |
127 |
} |
128 |
|
129 |
src_install() { |
130 |
python_domodule youtube_dl |
131 |
dobin bin/${PN} |
132 |
dodoc README.txt |
133 |
doman ${PN}.1 |
134 |
newbashcomp ${PN}.bash-completion ${PN} |
135 |
python_fix_shebang "${ED}" |
136 |
} |