Index: head/www/youtube_dl/Makefile =================================================================== --- head/www/youtube_dl/Makefile (revision 402349) +++ head/www/youtube_dl/Makefile (revision 402350) @@ -1,47 +1,47 @@ # $FreeBSD$ PORTNAME= youtube_dl -PORTVERSION= 2015.11.13 +PORTVERSION= 2015.11.24 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 ALL_TARGET= youtube-dl MAKE_ARGS= PYTHON=${PYTHON_CMD} USES= python NO_ARCH= yes WRKSRC= ${WRKDIR}/youtube-dl OPTIONS_DEFINE= BASH FISH RTMPDUMP FFMPEG ZSH OPTIONS_DEFAULT=RTMPDUMP OPTIONS_SUB= yes FISH_DESC= Install programmable completions for Fish RTMPDUMP_DESC= Use RTMPDUMP to download rtmp video streams PLIST_FILES= bin/youtube-dl \ man/man1/youtube-dl.1.gz \ %%BASH%%etc/bash_completion.d/youtube-dl.sh \ %%FISH%%share/fish/completions/youtube-dl.fish \ %%ZSH%%share/zsh/site-functions/_youtube-dl FFMPEG_RUN_DEPENDS= ${LOCALBASE}/bin/ffprobe:${PORTSDIR}/multimedia/ffmpeg RTMPDUMP_RUN_DEPENDS= ${LOCALBASE}/bin/rtmpdump:${PORTSDIR}/multimedia/rtmpdump post-extract: @# remove tarball provided version, build our own @${RM} -f ${WRKSRC}/youtube-dl post-patch: @${REINPLACE_CMD} -e 's|python devscripts/|${PYTHON_CMD} devscripts/|' ${WRKSRC}/Makefile .include Index: head/www/youtube_dl/distinfo =================================================================== --- head/www/youtube_dl/distinfo (revision 402349) +++ head/www/youtube_dl/distinfo (revision 402350) @@ -1,2 +1,2 @@ -SHA256 (youtube-dl-2015.11.13.tar.gz) = dd75b284de30aeff6b85d8550ad19cb8ca481961eb762304b6576ffeb8022408 -SIZE (youtube-dl-2015.11.13.tar.gz) = 1788412 +SHA256 (youtube-dl-2015.11.24.tar.gz) = cceeb606e723c0291de85eecb9a551ca887f3be4db786ad621011a9201a482b1 +SIZE (youtube-dl-2015.11.24.tar.gz) = 1803588 Index: head/www/youtube_dl/files/patch-youtube_dl____init__.py =================================================================== --- head/www/youtube_dl/files/patch-youtube_dl____init__.py (revision 402349) +++ head/www/youtube_dl/files/patch-youtube_dl____init__.py (revision 402350) @@ -1,29 +1,29 @@ ---- youtube_dl/__init__.py.orig 2015-05-15 08:01:24 UTC -+++ youtube_dl/__init__.py -@@ -36,7 +36,6 @@ from .utils import ( +--- youtube_dl/__init__.py.orig 2015-11-24 09:44:40.030482000 +0100 ++++ youtube_dl/__init__.py 2015-11-24 09:45:54.856110000 +0100 +@@ -36,7 +36,6 @@ std_headers, write_string, ) -from .update import update_self from .downloader import ( FileDownloader, ) -@@ -370,17 +369,13 @@ def _real_main(argv=None): +@@ -375,17 +374,13 @@ } with YoutubeDL(ydl_opts) as ydl: - # Update version - if opts.update_self: -- update_self(ydl.to_screen, opts.verbose) +- update_self(ydl.to_screen, opts.verbose, ydl._opener) - # Remove cache dir if opts.rm_cachedir: ydl.cache.remove() # Maybe do nothing if (len(all_urls) < 1) and (opts.load_info_filename is None): - if opts.update_self or opts.rm_cachedir: + if opts.rm_cachedir: sys.exit() ydl.warn_if_short_id(sys.argv[1:] if argv is None else argv)