Skip to content

Commit

Permalink
www/yt-dlp: Update 2022.07.18 -> 2022.08.08
Browse files Browse the repository at this point in the history
Reported by:	portscout
  • Loading branch information
yurivict committed Aug 8, 2022
1 parent 3fa619f commit 4309876
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
3 changes: 1 addition & 2 deletions www/yt-dlp/Makefile
@@ -1,6 +1,5 @@
PORTNAME= yt-dlp
DISTVERSION= 2022.07.18
PORTREVISION= 1
DISTVERSION= 2022.08.08
CATEGORIES= www

MAINTAINER= yuri@FreeBSD.org
Expand Down
6 changes: 3 additions & 3 deletions www/yt-dlp/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1658122812
SHA256 (yt-dlp-yt-dlp-2022.07.18_GH0.tar.gz) = c7a68a2c2057ff2d981ff619eb855e4661c3e5c1263c04ec4afa3815e8ae1b91
SIZE (yt-dlp-yt-dlp-2022.07.18_GH0.tar.gz) = 2097407
TIMESTAMP = 1659997523
SHA256 (yt-dlp-yt-dlp-2022.08.08_GH0.tar.gz) = 5e9c288335985a07346874c1995686c5ce65640f05e95b34b75a894df9b48d11
SIZE (yt-dlp-yt-dlp-2022.08.08_GH0.tar.gz) = 2109727
6 changes: 3 additions & 3 deletions 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 2022-07-18 00:03:50 UTC
--- yt_dlp/update.py.orig 2022-08-08 22:15:24 UTC
+++ yt_dlp/update.py
@@ -39,7 +39,7 @@ def _get_variant_and_executable_path():
Expand All @@ -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': 'It looks like you installed yt-dlp with a package manager, pip or setup.py; Use that to update',
- '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.',
'other': 'It looks like you are using an unofficial build of yt-dlp; Build the executable again',
'other': 'You are using an unofficial build of yt-dlp; Build the executable again',
}

0 comments on commit 4309876

Please sign in to comment.