Index: head/www/youtube_dlc/Makefile =================================================================== --- head/www/youtube_dlc/Makefile (revision 566203) +++ head/www/youtube_dlc/Makefile (revision 566204) @@ -1,41 +1,41 @@ # $FreeBSD$ PORTNAME= youtube_dlc -DISTVERSION= 2021.02.15 +DISTVERSION= 2021.02.19 CATEGORIES= www # Implicit approval to commit trivial version updates. MAINTAINER= multimedia@FreeBSD.org COMMENT= Program for downloading videos from various streaming services LICENSE= UNLICENSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= gmake python shebangfix SHEBANG_GLOB= devscripts/*.py USE_GITHUB= yes GH_ACCOUNT= pukkandan GH_PROJECT= yt-dlp MAKE_ARGS= PYTHON=${PYTHON_CMD} NO_ARCH= yes OPTIONS_DEFINE= FFMPEG MANPAGES RTMPDUMP SYMLINK OPTIONS_DEFAULT= FFMPEG RTMPDUMP OPTIONS_SUB= yes RTMPDUMP_DESC= Use rtmpdump to download rtmp video streams SYMLINK_DESC= Install youtube-dl symbolic link for executable FFMPEG_RUN_DEPENDS= ffprobe:multimedia/ffmpeg MANPAGES_BUILD_DEPENDS= pandoc:textproc/hs-pandoc RTMPDUMP_RUN_DEPENDS= rtmpdump:multimedia/rtmpdump SYMLINK_CONFLICTS= youtube_dl post-patch-MANPAGES-on: @${PATCH} -d ${WRKSRC} -p0 < ${PATCHDIR}/extrapatch-manpages post-install-SYMLINK-on: @${RLN} ${STAGEDIR}${PREFIX}/bin/youtube-dlc ${STAGEDIR}${PREFIX}/bin/youtube-dl .include Index: head/www/youtube_dlc/distinfo =================================================================== --- head/www/youtube_dlc/distinfo (revision 566203) +++ head/www/youtube_dlc/distinfo (revision 566204) @@ -1,3 +1,3 @@ -TIMESTAMP = 1613562925 -SHA256 (pukkandan-yt-dlp-2021.02.15_GH0.tar.gz) = 7b5c89798ddab730c36631e42001873d8d3ecf74803c48faa29149569d09f457 -SIZE (pukkandan-yt-dlp-2021.02.15_GH0.tar.gz) = 1547487 +TIMESTAMP = 1613862414 +SHA256 (pukkandan-yt-dlp-2021.02.19_GH0.tar.gz) = 9a897969d6fb5c5f8806b3e220471a5ed1e964aae0d9b93952209e2febb978f1 +SIZE (pukkandan-yt-dlp-2021.02.19_GH0.tar.gz) = 1553522 Index: head/www/youtube_dlc/files/patch-youtube__dlc_____init____.py =================================================================== --- head/www/youtube_dlc/files/patch-youtube__dlc_____init____.py (revision 566203) +++ head/www/youtube_dlc/files/patch-youtube__dlc_____init____.py (revision 566204) @@ -1,29 +1,29 @@ ---- youtube_dlc/__init__.py.orig 2021-02-17 11:58:10 UTC +--- youtube_dlc/__init__.py.orig 2021-02-19 21:44:01 UTC +++ youtube_dlc/__init__.py @@ -38,7 +38,6 @@ from .utils import ( std_headers, write_string, ) -from .update import update_self from .downloader import ( FileDownloader, ) -@@ -555,17 +554,9 @@ def _real_main(argv=None): +@@ -556,17 +555,9 @@ def _real_main(argv=None): if opts.rm_cachedir: ydl.cache.remove() - # Update version - if opts.update_self: - # If updater returns True, exit. Required for windows - if update_self(ydl.to_screen, opts.verbose, ydl._opener): - if actual_use: -- parser.error('The program must exit for the update to complete') +- sys.exit('ERROR: The program must exit for the update to complete') - sys.exit() - # Maybe do nothing if not actual_use: - 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)