1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

www/yt-dlp: Remove the pandoc dependency

PR:		276034
Reported by:	vvd@, diizzy@
This commit is contained in:
Yuri Victorovich 2023-12-31 10:51:20 -08:00
parent dca0376383
commit 75efa01f5e
2 changed files with 16 additions and 2 deletions

View File

@ -21,8 +21,7 @@ PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}brotli>0:archivers/py-brotli@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}urllib3>=1.26.17:net/py-urllib3@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}websockets>=12.0:devel/py-websockets@${PY_FLAVOR}
BUILD_DEPENDS= ${PY_DEPENDS} \
pandoc:textproc/hs-pandoc
BUILD_DEPENDS= ${PY_DEPENDS}
RUN_DEPENDS= ${PY_DEPENDS}
USES= gmake python shebangfix

View File

@ -54,3 +54,18 @@
supportedsites:
$(PYTHON) devscripts/make_supportedsites.py supportedsites.md
@@ -110,10 +110,10 @@ README.txt: README.md
README.txt: README.md
pandoc -f $(MARKDOWN) -t plain README.md -o README.txt
-yt-dlp.1: README.md devscripts/prepare_manpage.py
- $(PYTHON) devscripts/prepare_manpage.py yt-dlp.1.temp.md
- pandoc -s -f $(MARKDOWN) -t man yt-dlp.1.temp.md -o yt-dlp.1
- rm -f yt-dlp.1.temp.md
+#yt-dlp.1: README.md devscripts/prepare_manpage.py
+# $(PYTHON) devscripts/prepare_manpage.py yt-dlp.1.temp.md
+# 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
mkdir -p completions/bash