Skip to content

Commit

Permalink
www/yt-dlp: Update 2021.05.20 -> 2021.06.01
Browse files Browse the repository at this point in the history
Reported by:	portscout
  • Loading branch information
yurivict committed Jun 2, 2021
1 parent 455cd09 commit ce0187f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 15 deletions.
4 changes: 3 additions & 1 deletion www/yt-dlp/Makefile
@@ -1,5 +1,5 @@
PORTNAME= yt-dlp
DISTVERSION= 2021.05.20
DISTVERSION= 2021.06.01
CATEGORIES= www

MAINTAINER= yuri@FreeBSD.org
Expand All @@ -8,6 +8,8 @@ COMMENT= Command-line program for downloading videos from various platforms
LICENSE= UNLICENSE
LICENSE_FILE= ${WRKSRC}/LICENSE

RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycryptodome>0:security/py-pycryptodome@${PY_FLAVOR}

USES= gmake python shebangfix
SHEBANG_GLOB= devscripts/*.py

Expand Down
6 changes: 3 additions & 3 deletions www/yt-dlp/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1621529609
SHA256 (yt-dlp-yt-dlp-2021.05.20_GH0.tar.gz) = b1def2006482deb07005f3b9c61e571e8a7e780adc12e764ab042c97d0d821b4
SIZE (yt-dlp-yt-dlp-2021.05.20_GH0.tar.gz) = 1631042
TIMESTAMP = 1622618435
SHA256 (yt-dlp-yt-dlp-2021.06.01_GH0.tar.gz) = 37992c9116901a6213e3157a6119d2af41d396483bd5260bf377acc80550ddef
SIZE (yt-dlp-yt-dlp-2021.06.01_GH0.tar.gz) = 1647481
14 changes: 3 additions & 11 deletions www/yt-dlp/files/patch-yt__dlp_____init____.py
@@ -1,21 +1,13 @@
--- yt_dlp/__init__.py.orig 2021-03-18 03:08:48 UTC
--- yt_dlp/__init__.py.orig 2021-06-01 14:59:03 UTC
+++ yt_dlp/__init__.py
@@ -38,7 +38,6 @@ from .utils import (
std_headers,
write_string,
)
-from .update import update_self
from .downloader import (
FileDownloader,
)
@@ -580,17 +579,9 @@ def _real_main(argv=None):
@@ -660,17 +660,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 run_update(ydl):
- if actual_use:
- sys.exit('ERROR: The program must exit for the update to complete')
- sys.exit()
Expand Down

0 comments on commit ce0187f

Please sign in to comment.