From owner-svn-ports-all@FreeBSD.ORG Tue Aug 19 16:51:16 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 165CC6AF; Tue, 19 Aug 2014 16:51:16 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0033535EC; Tue, 19 Aug 2014 16:51:16 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s7JGpFtu038990; Tue, 19 Aug 2014 16:51:15 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s7JGpFtC038986; Tue, 19 Aug 2014 16:51:15 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201408191651.s7JGpFtC038986@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Tue, 19 Aug 2014 16:51:15 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r365398 - in head/www/youtube_dl: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Aug 2014 16:51:16 -0000 Author: sunpoet Date: Tue Aug 19 16:51:15 2014 New Revision: 365398 URL: http://svnweb.freebsd.org/changeset/ports/365398 QAT: https://qat.redports.org/buildarchive/r365398/ Log: - Update to 2014.08.10 - Use USES=python PR: ports/192296 Submitted by: sunpoet (myself) Approved by: maintainer (timeout, 19 days) Modified: head/www/youtube_dl/Makefile head/www/youtube_dl/distinfo head/www/youtube_dl/files/patch-youtube_dl____init__.py Modified: head/www/youtube_dl/Makefile ============================================================================== --- head/www/youtube_dl/Makefile Tue Aug 19 16:50:38 2014 (r365397) +++ head/www/youtube_dl/Makefile Tue Aug 19 16:51:15 2014 (r365398) @@ -1,7 +1,7 @@ # $FreeBSD$ 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} @@ -16,7 +16,7 @@ LICENSE_PERMS= dist-mirror dist-sell pkg BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip -USE_PYTHON_RUN= 2 +USES= python:2,run ALL_TARGET= youtube-dl OPTIONS_DEFINE= BASH RTMPDUMP FFMPEG Modified: head/www/youtube_dl/distinfo ============================================================================== --- head/www/youtube_dl/distinfo Tue Aug 19 16:50:38 2014 (r365397) +++ head/www/youtube_dl/distinfo Tue Aug 19 16:51:15 2014 (r365398) @@ -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 Modified: head/www/youtube_dl/files/patch-youtube_dl____init__.py ============================================================================== --- head/www/youtube_dl/files/patch-youtube_dl____init__.py Tue Aug 19 16:50:38 2014 (r365397) +++ head/www/youtube_dl/files/patch-youtube_dl____init__.py Tue Aug 19 16:51:15 2014 (r365398) @@ -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()