Index: head/www/youtube_dl/Makefile =================================================================== --- head/www/youtube_dl/Makefile (revision 345779) +++ head/www/youtube_dl/Makefile (revision 345780) @@ -1,52 +1,52 @@ # $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} MAINTAINER= araujo@FreeBSD.org COMMENT= Program for downloading videos from YouTube.com LICENSE= UNLICENSE LICENSE_NAME= The Unlicense LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip USE_PYTHON_RUN= 2 ALL_TARGET= youtube-dl OPTIONS_DEFINE= BASH RTMPDUMP FFMPEG OPTIONS_DEFAULT=RTMPDUMP BASH_DESC= Install programmable completions for Bash RTMPDUMP_DESC= Use RTMPDUMP to download rtmp video streams PLIST_FILES= bin/youtube-dl \ man/man1/youtube-dl.1.gz WRKSRC= ${WRKDIR}/youtube-dl BASH_PLIST_FILES= etc/bash_completion.d/youtube-dl.sh FFMPEG_RUN_DEPENDS= ${LOCALBASE}/bin/ffprobe:${PORTSDIR}/multimedia/ffmpeg RTMPDUMP_RUN_DEPENDS= ${LOCALBASE}/bin/rtmpdump:${PORTSDIR}/multimedia/rtmpdump .include post-extract: @# remove tarball provided version, build our own @${RM} -f ${WRKSRC}/youtube-dl do-install: ${INSTALL_SCRIPT} ${WRKSRC}/youtube-dl ${STAGEDIR}${PREFIX}/bin/youtube-dl ${INSTALL_DATA} ${WRKSRC}/youtube-dl.1 ${STAGEDIR}${PREFIX}/man/man1/ .if ${PORT_OPTIONS:MBASH} ${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d ${INSTALL_DATA} ${WRKSRC}/youtube-dl.bash-completion \ ${STAGEDIR}${PREFIX}/etc/bash_completion.d/youtube-dl.sh .endif .include Index: head/www/youtube_dl/distinfo =================================================================== --- head/www/youtube_dl/distinfo (revision 345779) +++ head/www/youtube_dl/distinfo (revision 345780) @@ -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 Index: head/www/youtube_dl/files/patch-youtube_dl____init__.py =================================================================== --- head/www/youtube_dl/files/patch-youtube_dl____init__.py (nonexistent) +++ head/www/youtube_dl/files/patch-youtube_dl____init__.py (revision 345780) @@ -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) Property changes on: head/www/youtube_dl/files/patch-youtube_dl____init__.py ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property