Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Aug 2014 16:51:15 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
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
Message-ID:  <201408191651.s7JGpFtC038986@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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()



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408191651.s7JGpFtC038986>