Date: Mon, 11 Mar 2024 09:17:47 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: 655dfcc40c4a - main - www/yt-dlp: update 2023.12.30 =?utf-8?Q?=E2=86=92?= 2024.03.10 Message-ID: <202403110917.42B9Hlrs091307@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=655dfcc40c4a0892756d78a67bae8b8cb78fa034 commit 655dfcc40c4a0892756d78a67bae8b8cb78fa034 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2024-03-11 09:07:58 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2024-03-11 09:17:28 +0000 www/yt-dlp: update 2023.12.30 → 2024.03.10 Reported by: portscout --- www/yt-dlp/Makefile | 6 +++--- www/yt-dlp/distinfo | 6 +++--- www/yt-dlp/files/patch-Makefile | 33 +++++++++------------------------ 3 files changed, 15 insertions(+), 30 deletions(-) diff --git a/www/yt-dlp/Makefile b/www/yt-dlp/Makefile index 8cb91ab5f07f..ebb6ad32f788 100644 --- a/www/yt-dlp/Makefile +++ b/www/yt-dlp/Makefile @@ -1,6 +1,5 @@ PORTNAME= yt-dlp -DISTVERSION= 2023.12.30 -PORTREVISION= 3 +DISTVERSION= 2024.03.10 CATEGORIES= www MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${DISTVERSION}/ DISTNAME= ${PORTNAME} @@ -28,7 +27,8 @@ USES= gmake python shebangfix SHEBANG_GLOB= devscripts/*.py -MAKE_ARGS= PYTHON=${PYTHON_CMD} +MAKE_ARGS= PYTHON=${PYTHON_CMD} \ + MANDIR=${PREFIX}/share/man NO_ARCH= yes diff --git a/www/yt-dlp/distinfo b/www/yt-dlp/distinfo index 1ee45aea5fa4..8e16b9fc3843 100644 --- a/www/yt-dlp/distinfo +++ b/www/yt-dlp/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1703987239 -SHA256 (yt-dlp/2023.12.30/yt-dlp.tar.gz) = 5408fe5d12cd1c430ee10346770e3d60baad5c63a38b41c8967005e4956780a7 -SIZE (yt-dlp/2023.12.30/yt-dlp.tar.gz) = 5402838 +TIMESTAMP = 1710101671 +SHA256 (yt-dlp/2024.03.10/yt-dlp.tar.gz) = 1db8eade9e860543b655f5f973e26727ac2cc20874dc6fed9a3e78a4a05ee989 +SIZE (yt-dlp/2024.03.10/yt-dlp.tar.gz) = 5515436 diff --git a/www/yt-dlp/files/patch-Makefile b/www/yt-dlp/files/patch-Makefile index ddb0ea286b16..91297915aa5d 100644 --- a/www/yt-dlp/files/patch-Makefile +++ b/www/yt-dlp/files/patch-Makefile @@ -1,4 +1,4 @@ ---- Makefile.orig 2023-12-30 21:43:37 UTC +--- Makefile.orig 2024-03-10 19:41:19 UTC +++ Makefile @@ -1,4 +1,4 @@ -all: lazy-extractors yt-dlp doc pypi-files @@ -6,36 +6,21 @@ clean: clean-test clean-dist clean-all: clean clean-cache completions: completion-bash completion-fish completion-zsh -@@ -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 --SYSCONFDIR = $(shell if [ $(PREFIX) = /usr -o $(PREFIX) = /usr/local ]; then echo /etc; else echo $(PREFIX)/etc; fi) -+SYSCONFDIR = $(PREFIX)/etc - - # set markdown input format to "markdown-smart" for pandoc version 2 and to "markdown" for pandoc prior to version 2 - MARKDOWN = $(shell if [ `pandoc -v | head -n1 | cut -d" " -f2 | head -c1` = "2" ]; then echo markdown-smart; else echo markdown; fi) -@@ -83,26 +83,26 @@ yt-dlp: yt_dlp/*.py yt_dlp/*/*.py +@@ -90,26 +90,26 @@ yt-dlp: $(CODE_FILES) done - touch -t 200001010101 zip/yt_dlp/*.py zip/yt_dlp/*/*.py + (cd zip && touch -t 200001010101 $(CODE_FILES)) mv zip/yt_dlp/__main__.py zip/ -- cd zip ; zip -q ../yt-dlp yt_dlp/*.py yt_dlp/*/*.py __main__.py -+ cd zip ; bsdtar -a -cf ../yt-dlp.zip yt_dlp/*.py yt_dlp/*/*.py __main__.py +- (cd zip && zip -q ../yt-dlp $(CODE_FILES) __main__.py) ++ (cd zip && bsdtar -a -cf ../yt-dlp.zip $(CODE_FILES) __main__.py) rm -rf zip echo '#!$(PYTHON)' > yt-dlp cat yt-dlp.zip >> yt-dlp rm yt-dlp.zip chmod a+x yt-dlp --README.md: yt_dlp/*.py yt_dlp/*/*.py devscripts/make_readme.py +-README.md: $(CODE_FILES) devscripts/make_readme.py - COLUMNS=80 $(PYTHON) yt_dlp/__main__.py --ignore-config --help | $(PYTHON) devscripts/make_readme.py -+#README.md: yt_dlp/*.py yt_dlp/*/*.py devscripts/make_readme.py ++#README.md: $(CODE_FILES) devscripts/make_readme.py +# COLUMNS=80 $(PYTHON) yt_dlp/__main__.py --ignore-config --help | $(PYTHON) devscripts/make_readme.py -CONTRIBUTING.md: README.md devscripts/make_contributing.py @@ -60,7 +45,7 @@ supportedsites: $(PYTHON) devscripts/make_supportedsites.py supportedsites.md -@@ -110,10 +110,10 @@ README.txt: README.md +@@ -117,10 +117,10 @@ README.txt: README.md README.txt: README.md pandoc -f $(MARKDOWN) -t plain README.md -o README.txt @@ -73,5 +58,5 @@ +# pandoc -s -f $(MARKDOWN) -t man yt-dlp.1.temp.md -o yt-dlp.1 +# rm -f yt-dlp.1.temp.md - completions/bash/yt-dlp: yt_dlp/*.py yt_dlp/*/*.py devscripts/bash-completion.in + completions/bash/yt-dlp: $(CODE_FILES) devscripts/bash-completion.in mkdir -p completions/bash
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403110917.42B9Hlrs091307>