Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jun 2021 08:50:40 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ce0187f61328 - main - www/yt-dlp: Update 2021.05.20 -> 2021.06.01
Message-ID:  <202106020850.1528oeIZ034386@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ce0187f6132868ca5bc76b8e8748e82cb4e7b51d

commit ce0187f6132868ca5bc76b8e8748e82cb4e7b51d
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-06-02 07:28:10 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-06-02 08:49:43 +0000

    www/yt-dlp: Update 2021.05.20 -> 2021.06.01
    
    Reported by:    portscout
---
 www/yt-dlp/Makefile                            |  4 +++-
 www/yt-dlp/distinfo                            |  6 +++---
 www/yt-dlp/files/patch-yt__dlp_____init____.py | 14 +++-----------
 3 files changed, 9 insertions(+), 15 deletions(-)

diff --git a/www/yt-dlp/Makefile b/www/yt-dlp/Makefile
index 563af471fc6e..d4d4f45d57f4 100644
--- a/www/yt-dlp/Makefile
+++ b/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
@@ -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
 
diff --git a/www/yt-dlp/distinfo b/www/yt-dlp/distinfo
index f0751c08f242..e13e7cb45f56 100644
--- a/www/yt-dlp/distinfo
+++ b/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
diff --git a/www/yt-dlp/files/patch-yt__dlp_____init____.py b/www/yt-dlp/files/patch-yt__dlp_____init____.py
index 0f0d7f8b322c..84d6918d6d66 100644
--- a/www/yt-dlp/files/patch-yt__dlp_____init____.py
+++ b/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()



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106020850.1528oeIZ034386>