Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 397354 Details for
Bug 540988
=net-misc/youtube-dl-2015.02.20: IndentationError thrown without USE=offensive
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for the ebuild to fix the -offensive use flag build
fix-youtube-dl_ebuild.patch (text/plain), 1.22 KB, created by
Richard Ash
on 2015-02-23 22:52:12 UTC
(
hide
)
Description:
Patch for the ebuild to fix the -offensive use flag build
Filename:
MIME Type:
Creator:
Richard Ash
Created:
2015-02-23 22:52:12 UTC
Size:
1.22 KB
patch
obsolete
>--- youtube-dl-2015.02.20.ebuild 2015-02-23 22:49:42.538621790 +0000 >+++ youtube-dl-2015.02.23.1.ebuild 2015-02-23 22:43:08.385116722 +0000 >@@ -28,16 +28,25 @@ > if ! use offensive; then > sed -i -e "/__version__/s|'$|-gentoo_no_offensive_sites'|g" \ > youtube_dl/version.py || die >+ # these have single line import statements > local xxx=( > alphaporno anysex behindkink drtuber empflix eporner eroprofile > extremetube fourtube foxgay goshgay hellporno hentaistigma >- hornbunny keezmovies mofosex motherless pornhd pornhub pornotube >+ hornbunny keezmovies mofosex motherless pornhd pornotube > pornoxo redtube sexykarma sexu sunporno slutload spankwire thisav > tnaflix trutube tube8 vporn xbef xhamster xnxx xtube xvideos > xxxymovies youjizz youporn > ) >+ # these have multi-line import statements >+ local mxxx=( >+ pornhub >+ ) >+ # do single line imports > sed -i -e $( printf '/%s/d;' ${xxx[@]} ) youtube_dl/extractor/__init__.py || die >+ # do multiple line imports >+ sed -i -e $( printf '/%s/,/)/d;' ${mxxx[@]} ) youtube_dl/extractor/__init__.py || die > rm $( printf 'youtube_dl/extractor/%s.py ' ${xxx[@]} ) \ >+ $( printf 'youtube_dl/extractor/%s.py ' ${mxxx[@]} ) \ > test/test_age_restriction.py || die > fi > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 540988
: 397354