svn commit: r345780 - in head/www/youtube_dl: . files
Marcelo Araujo
araujo at FreeBSD.org
Mon Feb 24 05:28:33 UTC 2014
Author: araujo
Date: Mon Feb 24 05:28:32 2014
New Revision: 345780
URL: http://svnweb.freebsd.org/changeset/ports/345780
QAT: https://qat.redports.org/buildarchive/r345780/
Log:
- Update to 2014.02.22.1. [0]
- Disable the --update option that downloads content from a third
party site and update it into youtube-dl. [1]
PR: ports/186546 [0]
Submitted by: Johannes Jost Meixner <xmj at chaot.net> [0]
Matthias Apitz <guru at unixarea.de> [1]
Waitman Gobble <uzimac at da3m0n8t3r.com> [1]
Added:
head/www/youtube_dl/files/patch-youtube_dl____init__.py (contents, props changed)
Modified:
head/www/youtube_dl/Makefile
head/www/youtube_dl/distinfo
Modified: head/www/youtube_dl/Makefile
==============================================================================
--- head/www/youtube_dl/Makefile Mon Feb 24 00:49:40 2014 (r345779)
+++ head/www/youtube_dl/Makefile Mon Feb 24 05:28:32 2014 (r345780)
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= youtube_dl
-PORTVERSION= 2014.01.23.4
+PORTVERSION= 2014.02.22.1
CATEGORIES= www
MASTER_SITES= https://yt-dl.org/downloads/${PORTVERSION}/
DISTNAME= youtube-dl-${PORTVERSION}
Modified: head/www/youtube_dl/distinfo
==============================================================================
--- head/www/youtube_dl/distinfo Mon Feb 24 00:49:40 2014 (r345779)
+++ head/www/youtube_dl/distinfo Mon Feb 24 05:28:32 2014 (r345780)
@@ -1,2 +1,2 @@
-SHA256 (youtube-dl-2014.01.23.4.tar.gz) = a96d562be51aeb817b9952bff8c65ecab737575b7104381ce62185397408dc72
-SIZE (youtube-dl-2014.01.23.4.tar.gz) = 597125
+SHA256 (youtube-dl-2014.02.22.1.tar.gz) = 8f70eaec5aa1575755f496a4f83edb8779733dda59f0cf3de486228c970886f9
+SIZE (youtube-dl-2014.02.22.1.tar.gz) = 673300
Added: head/www/youtube_dl/files/patch-youtube_dl____init__.py
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/youtube_dl/files/patch-youtube_dl____init__.py Mon Feb 24 05:28:32 2014 (r345780)
@@ -0,0 +1,37 @@
+--- ./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 @@
+ std_headers,
+ write_string,
+ )
+-from .update import update_self
+ from .FileDownloader import (
+ FileDownloader,
+ )
+@@ -206,8 +205,6 @@
+ action='help', help='print this help text and exit')
+ general.add_option('-v', '--version',
+ action='version', help='print program version and exit')
+- general.add_option('-U', '--update',
+- action='store_true', dest='update_self', help='update this program to latest version. Make sure that you have sufficient permissions (run with sudo if needed)')
+ 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())
+
+- # 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)
More information about the svn-ports-all
mailing list