git: 2d13113f383f - main - www/{,py-}yt-dlp: update 2024.03.10 → 2024.04.09

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 16 Apr 2024 01:52:45 UTC
The branch main has been updated by yuri:

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

commit 2d13113f383f868f0bfe250decf3ec8358fd7ddc
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-04-16 01:51:17 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-04-16 01:52:36 +0000

    www/{,py-}yt-dlp: update 2024.03.10 → 2024.04.09
---
 www/py-yt-dlp/Makefile                      | 2 +-
 www/py-yt-dlp/distinfo                      | 6 +++---
 www/py-yt-dlp/files/patch-yt__dlp_update.py | 4 ++--
 www/py-yt-dlp/pkg-plist                     | 6 ++++++
 www/yt-dlp/Makefile                         | 2 +-
 www/yt-dlp/distinfo                         | 6 +++---
 www/yt-dlp/files/patch-Makefile             | 6 +++---
 www/yt-dlp/files/patch-yt__dlp_update.py    | 4 ++--
 8 files changed, 21 insertions(+), 15 deletions(-)

diff --git a/www/py-yt-dlp/Makefile b/www/py-yt-dlp/Makefile
index 9b03eecc3b1e..649b402fd36a 100644
--- a/www/py-yt-dlp/Makefile
+++ b/www/py-yt-dlp/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	yt-dlp # www/py-yt-dlp is for extending yt-dlp, www/yt-dlp is an application for the end user
-DISTVERSION=	2024.03.10
+DISTVERSION=	2024.04.09
 CATEGORIES=	www
 MASTER_SITES=	https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${DISTVERSION}/
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
diff --git a/www/py-yt-dlp/distinfo b/www/py-yt-dlp/distinfo
index c3ac05325698..0c0eaea3549e 100644
--- a/www/py-yt-dlp/distinfo
+++ b/www/py-yt-dlp/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1710104227
-SHA256 (yt-dlp/2024.03.10/yt-dlp.tar.gz) = 1db8eade9e860543b655f5f973e26727ac2cc20874dc6fed9a3e78a4a05ee989
-SIZE (yt-dlp/2024.03.10/yt-dlp.tar.gz) = 5515436
+TIMESTAMP = 1713226503
+SHA256 (yt-dlp/2024.04.09/yt-dlp.tar.gz) = 59d3caed5cc899e486a7b8873f6143b6a1d22c5b5c05009b709ca0104f5d9eed
+SIZE (yt-dlp/2024.04.09/yt-dlp.tar.gz) = 5589808
diff --git a/www/py-yt-dlp/files/patch-yt__dlp_update.py b/www/py-yt-dlp/files/patch-yt__dlp_update.py
index bc649dd50a7b..febe84b1753f 100644
--- a/www/py-yt-dlp/files/patch-yt__dlp_update.py
+++ b/www/py-yt-dlp/files/patch-yt__dlp_update.py
@@ -15,8 +15,8 @@
      **{variant: f'Auto-update is not supported for unpackaged {name} executable; Re-download the latest release'
         for variant, name in {'win32_dir': 'Windows', 'darwin_dir': 'MacOS', 'linux_dir': 'Linux'}.items()},
      'source': 'You cannot update when running from source code; Use git to pull the latest changes',
--    'unknown': 'You installed yt-dlp with a package manager or setup.py; Use that to update',
-+    'unknown': 'Please use the command \'pkg upgrade yt-dlp\' to upgrade.',
+-    'unknown': 'You installed yt-dlp from a manual build or with a package manager; Use that to update',
++    'unknown': 'Please use the command \'pkg upgrade www/py-yt-dlp\' to upgrade.',
      'other': 'You are using an unofficial build of yt-dlp; Build the executable again',
  }
  
diff --git a/www/py-yt-dlp/pkg-plist b/www/py-yt-dlp/pkg-plist
index 7f3e386a17c7..6f19f89ca003 100644
--- a/www/py-yt-dlp/pkg-plist
+++ b/www/py-yt-dlp/pkg-plist
@@ -86,6 +86,7 @@ bin/yt-dlp-devel
 %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/art19.py
 %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/arte.py
 %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/asobichannel.py
+%%PYTHON_SITELIBDIR%%/yt_dlp/extractor/asobistage.py
 %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/atresplayer.py
 %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/atscaleconf.py
 %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/atvat.py
@@ -287,6 +288,7 @@ bin/yt-dlp-devel
 %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/eyedotv.py
 %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/facebook.py
 %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/fancode.py
+%%PYTHON_SITELIBDIR%%/yt_dlp/extractor/fathom.py
 %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/faz.py
 %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/fc2.py
 %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/fczenit.py
@@ -465,6 +467,7 @@ bin/yt-dlp-devel
 %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/livestream.py
 %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/livestreamfails.py
 %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/lnkgo.py
+%%PYTHON_SITELIBDIR%%/yt_dlp/extractor/loom.py
 %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/lovehomeporn.py
 %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/lrt.py
 %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/lsm.py
@@ -756,6 +759,7 @@ bin/yt-dlp-devel
 %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/sexu.py
 %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/seznamzpravy.py
 %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/shahid.py
+%%PYTHON_SITELIBDIR%%/yt_dlp/extractor/sharepoint.py
 %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/sharevideos.py
 %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/shemaroome.py
 %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/showroomlive.py
@@ -1030,12 +1034,14 @@ bin/yt-dlp-devel
 %%PYTHON_SITELIBDIR%%/yt_dlp/jsinterp.py
 %%PYTHON_SITELIBDIR%%/yt_dlp/minicurses.py
 %%PYTHON_SITELIBDIR%%/yt_dlp/networking/__init__.py
+%%PYTHON_SITELIBDIR%%/yt_dlp/networking/_curlcffi.py
 %%PYTHON_SITELIBDIR%%/yt_dlp/networking/_helper.py
 %%PYTHON_SITELIBDIR%%/yt_dlp/networking/_requests.py
 %%PYTHON_SITELIBDIR%%/yt_dlp/networking/_urllib.py
 %%PYTHON_SITELIBDIR%%/yt_dlp/networking/_websockets.py
 %%PYTHON_SITELIBDIR%%/yt_dlp/networking/common.py
 %%PYTHON_SITELIBDIR%%/yt_dlp/networking/exceptions.py
+%%PYTHON_SITELIBDIR%%/yt_dlp/networking/impersonate.py
 %%PYTHON_SITELIBDIR%%/yt_dlp/networking/websocket.py
 %%PYTHON_SITELIBDIR%%/yt_dlp/options.py
 %%PYTHON_SITELIBDIR%%/yt_dlp/plugins.py
diff --git a/www/yt-dlp/Makefile b/www/yt-dlp/Makefile
index ebb6ad32f788..bf4105c7d8f1 100644
--- a/www/yt-dlp/Makefile
+++ b/www/yt-dlp/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	yt-dlp
-DISTVERSION=	2024.03.10
+DISTVERSION=	2024.04.09
 CATEGORIES=	www
 MASTER_SITES=	https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${DISTVERSION}/
 DISTNAME=	${PORTNAME}
diff --git a/www/yt-dlp/distinfo b/www/yt-dlp/distinfo
index 8e16b9fc3843..f4705e01c364 100644
--- a/www/yt-dlp/distinfo
+++ b/www/yt-dlp/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1710101671
-SHA256 (yt-dlp/2024.03.10/yt-dlp.tar.gz) = 1db8eade9e860543b655f5f973e26727ac2cc20874dc6fed9a3e78a4a05ee989
-SIZE (yt-dlp/2024.03.10/yt-dlp.tar.gz) = 5515436
+TIMESTAMP = 1713225882
+SHA256 (yt-dlp/2024.04.09/yt-dlp.tar.gz) = 59d3caed5cc899e486a7b8873f6143b6a1d22c5b5c05009b709ca0104f5d9eed
+SIZE (yt-dlp/2024.04.09/yt-dlp.tar.gz) = 5589808
diff --git a/www/yt-dlp/files/patch-Makefile b/www/yt-dlp/files/patch-Makefile
index 91297915aa5d..8144856274fe 100644
--- a/www/yt-dlp/files/patch-Makefile
+++ b/www/yt-dlp/files/patch-Makefile
@@ -1,4 +1,4 @@
---- Makefile.orig	2024-03-10 19:41:19 UTC
+--- Makefile.orig	2024-04-09 17:03:56 UTC
 +++ Makefile
 @@ -1,4 +1,4 @@
 -all: lazy-extractors yt-dlp doc pypi-files
@@ -6,7 +6,7 @@
  clean: clean-test clean-dist
  clean-all: clean clean-cache
  completions: completion-bash completion-fish completion-zsh
-@@ -90,26 +90,26 @@ yt-dlp: $(CODE_FILES)
+@@ -93,26 +93,26 @@ yt-dlp: $(CODE_FILES)
  	done
  	(cd zip && touch -t 200001010101 $(CODE_FILES))
  	mv zip/yt_dlp/__main__.py zip/
@@ -45,7 +45,7 @@
  
  supportedsites:
  	$(PYTHON) devscripts/make_supportedsites.py supportedsites.md
-@@ -117,10 +117,10 @@ README.txt: README.md
+@@ -120,10 +120,10 @@ README.txt: README.md
  README.txt: README.md
  	pandoc -f $(MARKDOWN) -t plain README.md -o README.txt
  
diff --git a/www/yt-dlp/files/patch-yt__dlp_update.py b/www/yt-dlp/files/patch-yt__dlp_update.py
index b8788cf1866f..aa07e5137121 100644
--- a/www/yt-dlp/files/patch-yt__dlp_update.py
+++ b/www/yt-dlp/files/patch-yt__dlp_update.py
@@ -1,6 +1,6 @@
 - this patch prevents -U from updating yt-dlp - it makes it "unrecognized"
 
---- yt_dlp/update.py.orig	2023-12-30 21:43:37 UTC
+--- yt_dlp/update.py.orig	2024-04-09 17:03:56 UTC
 +++ yt_dlp/update.py
 @@ -73,7 +73,7 @@ def _get_variant_and_executable_path():
  
@@ -15,7 +15,7 @@
      **{variant: f'Auto-update is not supported for unpackaged {name} executable; Re-download the latest release'
         for variant, name in {'win32_dir': 'Windows', 'darwin_dir': 'MacOS', 'linux_dir': 'Linux'}.items()},
      'source': 'You cannot update when running from source code; Use git to pull the latest changes',
--    'unknown': 'You installed yt-dlp with a package manager or setup.py; Use that to update',
+-    'unknown': 'You installed yt-dlp from a manual build or with a package manager; Use that to update',
 +    'unknown': 'Please use the command \'pkg upgrade yt-dlp\' to upgrade.',
      'other': 'You are using an unofficial build of yt-dlp; Build the executable again',
  }