diff --git a/www/youtube_dlc/Makefile b/www/youtube_dlc/Makefile index 4e74b0899e67..838b8df08cf9 100644 --- a/www/youtube_dlc/Makefile +++ b/www/youtube_dlc/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= youtube_dlc -DISTVERSION= 2021.02.15 +DISTVERSION= 2021.02.19 CATEGORIES= www # Implicit approval to commit trivial version updates. diff --git a/www/youtube_dlc/distinfo b/www/youtube_dlc/distinfo index 434ff3797bbb..649a893bc389 100644 --- a/www/youtube_dlc/distinfo +++ b/www/youtube_dlc/distinfo @@ -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 diff --git a/www/youtube_dlc/files/patch-youtube__dlc_____init____.py b/www/youtube_dlc/files/patch-youtube__dlc_____init____.py index 20b1aa5cf62e..0f020f42de6c 100644 --- a/www/youtube_dlc/files/patch-youtube__dlc_____init____.py +++ b/www/youtube_dlc/files/patch-youtube__dlc_____init____.py @@ -1,4 +1,4 @@ ---- 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, @@ -8,7 +8,7 @@ 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() @@ -17,7 +17,7 @@ - # 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