FreeBSD Bugzilla – Attachment 145191 Details for
Bug 192296
[PATCH] www/youtube_dl: update to 2014.07.30
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
youtube_dl.patch
youtube_dl.patch (text/plain), 3.18 KB, created by
Po-Chuan Hsieh
on 2014-07-31 19:20:40 UTC
(
hide
)
Description:
youtube_dl.patch
Filename:
MIME Type:
Creator:
Po-Chuan Hsieh
Created:
2014-07-31 19:20:40 UTC
Size:
3.18 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 363495) >+++ Makefile (working copy) >@@ -1,7 +1,7 @@ > # $FreeBSD$ > > PORTNAME= youtube_dl >-PORTVERSION= 2014.07.21 >+PORTVERSION= 2014.07.30 > CATEGORIES= www > MASTER_SITES= https://yt-dl.org/downloads/${PORTVERSION}/ > DISTNAME= youtube-dl-${PORTVERSION} >Index: distinfo >=================================================================== >--- distinfo (revision 363495) >+++ distinfo (working copy) >@@ -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.07.30.tar.gz) = 67866d101b75fc58c111ec024f0d1342c1490e7bcaba31ed96ff69358c1c549b >+SIZE (youtube-dl-2014.07.30.tar.gz) = 922291 >Index: files/patch-youtube_dl____init__.py >=================================================================== >--- files/patch-youtube_dl____init__.py (revision 363495) >+++ files/patch-youtube_dl____init__.py (working copy) >@@ -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-07-29 23:18:51.000000000 +0800 >++++ youtube_dl/__init__.py 2014-07-31 01:10:45.923443081 +0800 >+@@ -97,7 +97,6 @@ > std_headers, > write_string, > ) > -from .update import update_self >- from .FileDownloader import ( >+ from .downloader import ( > FileDownloader, > ) >-@@ -206,8 +205,6 @@ >+@@ -230,8 +229,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()) >+@@ -844,10 +841,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: >+@@ -867,7 +860,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 192296
: 145191