FreeBSD Bugzilla – Attachment 146042 Details for
Bug 192835
[PATCH] Update www/youtube_dl to 2014.08.10
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to update youtube-dl to 2014.08.10
youtube_dl-patch (text/plain), 3.38 KB, created by
Neel Chauhan
on 2014-08-19 16:11:21 UTC
(
hide
)
Description:
Patch to update youtube-dl to 2014.08.10
Filename:
MIME Type:
Creator:
Neel Chauhan
Created:
2014-08-19 16:11:21 UTC
Size:
3.38 KB
patch
obsolete
>diff -u -r -N youtube_dl.old/Makefile youtube_dl/Makefile >--- youtube_dl.old/Makefile 2014-07-22 07:04:04.000000000 -0400 >+++ youtube_dl/Makefile 2014-08-19 11:44:12.000000000 -0400 >@@ -1,7 +1,7 @@ > # $FreeBSD: head/www/youtube_dl/Makefile 362531 2014-07-22 11:04:04Z pi $ > > PORTNAME= youtube_dl >-PORTVERSION= 2014.07.21 >+PORTVERSION= 2014.08.10 > CATEGORIES= www > MASTER_SITES= https://yt-dl.org/downloads/${PORTVERSION}/ > DISTNAME= youtube-dl-${PORTVERSION} >diff -u -r -N youtube_dl.old/distinfo youtube_dl/distinfo >--- youtube_dl.old/distinfo 2014-07-22 07:04:04.000000000 -0400 >+++ youtube_dl/distinfo 2014-08-19 11:46:03.000000000 -0400 >@@ -1,2 +1,2 @@ >-SHA256 (youtube-dl-2014.07.21.tar.gz) = 63b48fdb32a6e28f3dcb8928e0f372d8e2ea1eb4216f063394f0b6d64955cee4 >-SIZE (youtube-dl-2014.07.21.tar.gz) = 906769 >+SHA256 (youtube-dl-2014.08.10.tar.gz) = a1131ff8aa636b6e99baf1b6226dab137500cd0a5cdeb4d76db102be4138caa9 >+SIZE (youtube-dl-2014.08.10.tar.gz) = 931916 >diff -u -r -N youtube_dl.old/files/patch-youtube_dl____init__.py youtube_dl/files/patch-youtube_dl____init__.py >--- youtube_dl.old/files/patch-youtube_dl____init__.py 2014-02-24 00:28:32.000000000 -0500 >+++ youtube_dl/files/patch-youtube_dl____init__.py 2014-08-19 12:10:47.000000000 -0400 >@@ -1,14 +1,14 @@ >---- ./youtube_dl/__init__.py.orig 2014-02-25 09:29:35.000000000 +0000 >-+++ ./youtube_dl/__init__.py 2014-02-25 09:29:49.000000000 +0000 >-@@ -76,7 +76,6 @@ >+--- youtube_dl/__init__.py.orig 2014-08-19 11:48:06.000000000 -0400 >++++ youtube_dl/__init__.py 2014-08-19 12:10:22.000000000 -0400 >+@@ -100,7 +100,6 @@ > std_headers, > write_string, > ) > -from .update import update_self >- from .FileDownloader import ( >+ from .downloader import ( > FileDownloader, > ) >-@@ -206,8 +205,6 @@ >+@@ -233,8 +232,6 @@ > action='help', help='print this help text and exit') > general.add_option('-v', '--version', > action='version', help='print program version and exit') >@@ -17,21 +17,23 @@ > general.add_option('-i', '--ignore-errors', > action='store_true', dest='ignoreerrors', help='continue on download errors, for example to skip unavailable videos in a playlist', default=False) > general.add_option('--abort-on-error', >-@@ -777,17 +774,6 @@ >- if opts.xattrs: >- ydl.add_post_processor(XAttrMetadataPP()) >+@@ -847,10 +844,6 @@ >+ ydl.add_post_processor(FFmpegAudioFixPP()) >+ ydl.add_post_processor(AtomicParsleyPP()) > > - # Update version > - if opts.update_self: > - update_self(ydl.to_screen, opts.verbose) > - >-- # Maybe do nothing >-- if (len(all_urls) < 1) and (opts.load_info_filename is None): >-- if not opts.update_self: >-- parser.error(u'you must provide at least one URL') >-- else: >-- sys.exit() >-- >- try: >- if opts.load_info_filename is not None: >- retcode = ydl.download_with_info_file(opts.load_info_filename) >+ # Remove cache dir >+ if opts.rm_cachedir: >+ if opts.cachedir is None: >+@@ -870,7 +863,7 @@ >+ >+ # Maybe do nothing >+ if (len(all_urls) < 1) and (opts.load_info_filename is None): >+- if not (opts.update_self or opts.rm_cachedir): >++ if not (opts.rm_cachedir): >+ parser.error(u'you must provide at least one URL') >+ else: >+ sys.exit()
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 192835
: 146042