Bug 186546 - [UPDATE] www/youtube_dl: update to 2014.02.06.3
Summary: [UPDATE] www/youtube_dl: update to 2014.02.06.3
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Marcelo Araujo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-07 18:10 UTC by Johannes Meixner
Modified: 2014-02-24 05:31 UTC (History)
1 user (show)

See Also:


Attachments
youtube_dl-2014.02.06.3.patch (1.34 KB, patch)
2014-02-07 18:10 UTC, Johannes Meixner
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Meixner 2014-02-07 18:10:01 UTC
- Update to 2014.02.06.3
- youtube_dl can run with Python 3. 
- Add post-patch target:
  Make sure it uses the installed python version in cases 
  where youtube_dl does not depend on lang/python.

Port maintainer (araujo@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 1.00.2014.02.03 (mode: update, diff: SVN)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-02-07 18:10:15 UTC
Responsible Changed
From-To: freebsd-ports-bugs->araujo

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-02-24 05:28:40 UTC
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@chaot.net> [0]
  		Matthias Apitz <guru@unixarea.de> [1]
  		Waitman Gobble <uzimac@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)
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Marcelo Araujo freebsd_committer freebsd_triage 2014-02-24 05:31:40 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!