Date: Mon, 29 Jan 2024 14:09:04 GMT From: Muhammad Moinur Rahman <bofh@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 9748475d99ed - main - www/yt-dlp: Moved man to share/man Message-ID: <202401291409.40TE94Ed052568@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=9748475d99edea4f784608cce20338ea3e01e519 commit 9748475d99edea4f784608cce20338ea3e01e519 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2024-01-29 13:53:22 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2024-01-29 14:08:36 +0000 www/yt-dlp: Moved man to share/man - Refresh patches Approved by: portmgr (blanket) --- www/yt-dlp/Makefile | 2 +- www/yt-dlp/files/patch-Makefile | 8 +++++++- www/yt-dlp/files/patch-yt__dlp_update.py | 6 +++--- www/yt-dlp/pkg-plist | 2 +- 4 files changed, 12 insertions(+), 6 deletions(-) diff --git a/www/yt-dlp/Makefile b/www/yt-dlp/Makefile index effc1852ce5d..ec8829fc77b8 100644 --- a/www/yt-dlp/Makefile +++ b/www/yt-dlp/Makefile @@ -1,6 +1,6 @@ PORTNAME= yt-dlp DISTVERSION= 2023.12.30 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${DISTVERSION}/ DISTNAME= ${PORTNAME} diff --git a/www/yt-dlp/files/patch-Makefile b/www/yt-dlp/files/patch-Makefile index e2a87a36ba16..ddb0ea286b16 100644 --- a/www/yt-dlp/files/patch-Makefile +++ b/www/yt-dlp/files/patch-Makefile @@ -6,7 +6,13 @@ clean: clean-test clean-dist clean-all: clean clean-cache completions: completion-bash completion-fish completion-zsh -@@ -39,7 +39,7 @@ PYTHON ?= /usr/bin/env python3 +@@ -34,12 +34,12 @@ BINDIR ?= $(PREFIX)/bin + + PREFIX ?= /usr/local + BINDIR ?= $(PREFIX)/bin +-MANDIR ?= $(PREFIX)/man ++MANDIR ?= $(PREFIX)/share/man + SHAREDIR ?= $(PREFIX)/share PYTHON ?= /usr/bin/env python3 # set SYSCONFDIR to /etc if PREFIX=/usr or PREFIX=/usr/local diff --git a/www/yt-dlp/files/patch-yt__dlp_update.py b/www/yt-dlp/files/patch-yt__dlp_update.py index 43a64f0fcade..b8788cf1866f 100644 --- a/www/yt-dlp/files/patch-yt__dlp_update.py +++ b/www/yt-dlp/files/patch-yt__dlp_update.py @@ -1,8 +1,8 @@ - this patch prevents -U from updating yt-dlp - it makes it "unrecognized" ---- yt_dlp/update.py.orig 2022-08-08 22:15:24 UTC +--- yt_dlp/update.py.orig 2023-12-30 21:43:37 UTC +++ yt_dlp/update.py -@@ -39,7 +39,7 @@ def _get_variant_and_executable_path(): +@@ -73,7 +73,7 @@ def _get_variant_and_executable_path(): path = os.path.dirname(__file__) if isinstance(__loader__, zipimporter): @@ -11,7 +11,7 @@ elif (os.path.basename(sys.argv[0]) in ('__main__.py', '-m') and os.path.exists(os.path.join(path, '../.git/HEAD'))): return 'source', path -@@ -64,7 +64,7 @@ _NON_UPDATEABLE_REASONS = { +@@ -114,7 +114,7 @@ _NON_UPDATEABLE_REASONS = { **{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', diff --git a/www/yt-dlp/pkg-plist b/www/yt-dlp/pkg-plist index 25beb354d2cf..72d1863e08e0 100644 --- a/www/yt-dlp/pkg-plist +++ b/www/yt-dlp/pkg-plist @@ -1,6 +1,6 @@ %%SYMLINK%%bin/youtube-dl bin/yt-dlp -man/man1/yt-dlp.1.gz +share/man/man1/yt-dlp.1.gz share/bash-completion/completions/yt-dlp share/fish/vendor_completions.d/yt-dlp.fish share/zsh/site-functions/_yt-dlp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401291409.40TE94Ed052568>