1 |
jer 15/07/05 03:41:32 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: youtube-dl-2015.06.25-r1.ebuild |
5 |
Removed: youtube-dl-2015.06.25.ebuild |
6 |
Log: |
7 |
Fix USE=-offensive (bug #553668 by Vasco Gervasi). |
8 |
|
9 |
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key A792A613) |
10 |
|
11 |
Revision Changes Path |
12 |
1.489 net-misc/youtube-dl/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/youtube-dl/ChangeLog?rev=1.489&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/youtube-dl/ChangeLog?rev=1.489&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/youtube-dl/ChangeLog?r1=1.488&r2=1.489 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/youtube-dl/ChangeLog,v |
21 |
retrieving revision 1.488 |
22 |
retrieving revision 1.489 |
23 |
diff -u -r1.488 -r1.489 |
24 |
--- ChangeLog 26 Jun 2015 06:24:26 -0000 1.488 |
25 |
+++ ChangeLog 5 Jul 2015 03:41:32 -0000 1.489 |
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.488 2015/06/26 06:24:26 jer Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-dl/ChangeLog,v 1.489 2015/07/05 03:41:32 jer Exp $ |
31 |
+ |
32 |
+*youtube-dl-2015.06.25-r1 (05 Jul 2015) |
33 |
+ |
34 |
+ 05 Jul 2015; Jeroen Roovers <jer@g.o> -youtube-dl-2015.06.25.ebuild, |
35 |
+ +youtube-dl-2015.06.25-r1.ebuild: |
36 |
+ Fix USE=-offensive (bug #553668 by Vasco Gervasi). |
37 |
|
38 |
*youtube-dl-2015.06.25 (26 Jun 2015) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 net-misc/youtube-dl/youtube-dl-2015.06.25-r1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/youtube-dl/youtube-dl-2015.06.25-r1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/youtube-dl/youtube-dl-2015.06.25-r1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: youtube-dl-2015.06.25-r1.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.06.25-r1.ebuild,v 1.1 2015/07/05 03:41:32 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 empflix eporner eroprofile |
83 |
extremetube fourtube foxgay goshgay hellporno hentaistigma |
84 |
hornbunny keezmovies mofosex motherless porn91 pornhd pornotube |
85 |
pornovoisines pornoxo redtube sexykarma sexu sunporno slutload |
86 |
spankbang spankwire thisav tnaflix trutube tube8 vporn xbef xnxx |
87 |
xtube xvideos xxxymovies youjizz youporn |
88 |
) |
89 |
# these have multi-line import statements |
90 |
local mxxx=( |
91 |
pornhub xhamster |
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 |
} |