FreeBSD Bugzilla – Attachment 223384 Details for
Bug 254375
www/youtube_dlc: Remove and redirect users to www/yt-dlp
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for youtube_dlc
youtube_dlc-sunset.patch (text/plain), 12.86 KB, created by
Daniel Engberg
on 2021-03-18 10:24:59 UTC
(
hide
)
Description:
Patch for youtube_dlc
Filename:
MIME Type:
Creator:
Daniel Engberg
Created:
2021-03-18 10:24:59 UTC
Size:
12.86 KB
patch
obsolete
>diff --git a/MOVED b/MOVED >index b193a42c9414..020dfa2c4ea1 100644 >--- a/MOVED >+++ b/MOVED >@@ -16193,3 +16193,4 @@ devel/llvm60|devel/llvm80|2021-03-06|Has expired: Uses Python 2.7 which is EOLed > audio/fplib||2021-03-07|Dead service since 2015 > sysutils/prelink||2021-03-11|Has expired: Have no users in the ports tree > x11-fonts/vtfontcvt-ng||2021-03-12|no longer useful on any supported releases; use vtfontcvt(8) instead >+www/youtube_dlc|www/yt-dlp|2021-03-18|Upstream have made a complete transition to new project name >diff --git a/www/youtube_dlc/Makefile b/www/youtube_dlc/Makefile >deleted file mode 100644 >index 838b8df08cf9..000000000000 >--- a/www/youtube_dlc/Makefile >+++ /dev/null >@@ -1,41 +0,0 @@ >-# $FreeBSD$ >- >-PORTNAME= youtube_dlc >-DISTVERSION= 2021.02.19 >-CATEGORIES= www >- >-# Implicit approval to commit trivial version updates. >-MAINTAINER= multimedia@FreeBSD.org >-COMMENT= Program for downloading videos from various streaming services >- >-LICENSE= UNLICENSE >-LICENSE_FILE= ${WRKSRC}/LICENSE >- >-USES= gmake python shebangfix >-SHEBANG_GLOB= devscripts/*.py >-USE_GITHUB= yes >-GH_ACCOUNT= pukkandan >-GH_PROJECT= yt-dlp >- >-MAKE_ARGS= PYTHON=${PYTHON_CMD} >-NO_ARCH= yes >- >-OPTIONS_DEFINE= FFMPEG MANPAGES RTMPDUMP SYMLINK >-OPTIONS_DEFAULT= FFMPEG RTMPDUMP >-OPTIONS_SUB= yes >- >-RTMPDUMP_DESC= Use rtmpdump to download rtmp video streams >-SYMLINK_DESC= Install youtube-dl symbolic link for executable >- >-FFMPEG_RUN_DEPENDS= ffprobe:multimedia/ffmpeg >-MANPAGES_BUILD_DEPENDS= pandoc:textproc/hs-pandoc >-RTMPDUMP_RUN_DEPENDS= rtmpdump:multimedia/rtmpdump >-SYMLINK_CONFLICTS= youtube_dl >- >-post-patch-MANPAGES-on: >- @${PATCH} -d ${WRKSRC} -p0 < ${PATCHDIR}/extrapatch-manpages >- >-post-install-SYMLINK-on: >- @${RLN} ${STAGEDIR}${PREFIX}/bin/youtube-dlc ${STAGEDIR}${PREFIX}/bin/youtube-dl >- >-.include <bsd.port.mk> >diff --git a/www/youtube_dlc/distinfo b/www/youtube_dlc/distinfo >deleted file mode 100644 >index 649a893bc389..000000000000 >--- a/www/youtube_dlc/distinfo >+++ /dev/null >@@ -1,3 +0,0 @@ >-TIMESTAMP = 1613862414 >-SHA256 (pukkandan-yt-dlp-2021.02.19_GH0.tar.gz) = 9a897969d6fb5c5f8806b3e220471a5ed1e964aae0d9b93952209e2febb978f1 >-SIZE (pukkandan-yt-dlp-2021.02.19_GH0.tar.gz) = 1553522 >diff --git a/www/youtube_dlc/files/extrapatch-manpages b/www/youtube_dlc/files/extrapatch-manpages >deleted file mode 100644 >index 4b0bb6f0510e..000000000000 >--- a/www/youtube_dlc/files/extrapatch-manpages >+++ /dev/null >@@ -1,34 +0,0 @@ >---- Makefile.orig 2021-01-17 23:11:52 UTC >-+++ Makefile >-@@ -1,6 +1,6 @@ >- all: youtube-dlc man >- #doc: README.md CONTRIBUTING.md issuetemplates supportedsites >--man: youtube-dlc.bash-completion youtube-dlc.zsh youtube-dlc.fish >-+man: youtube-dlc.1 youtube-dlc.bash-completion youtube-dlc.zsh youtube-dlc.fish >- >- >- clean: >-@@ -24,6 +24,8 @@ MARKDOWN = $(shell if [ `pandoc -v | head -n1 | cut -d >- install: youtube-dlc youtube-dlc.bash-completion youtube-dlc.zsh youtube-dlc.fish >- install -d $(DESTDIR)$(BINDIR) >- install -m 755 youtube-dlc $(DESTDIR)$(BINDIR) >-+ install -d $(DESTDIR)$(MANDIR)/man1 >-+ install -m 644 youtube-dlc.1 $(DESTDIR)$(MANDIR)/man1 >- install -d $(DESTDIR)$(SYSCONFDIR)/bash_completion.d >- install -m 644 youtube-dlc.bash-completion $(DESTDIR)$(SYSCONFDIR)/bash_completion.d/youtube-dlc >- install -d $(DESTDIR)$(SHAREDIR)/zsh/site-functions >-@@ -95,10 +97,10 @@ youtube-dlc: youtube_dlc/*.py youtube_dlc/*/*.py >- #README.txt: README.md >- # pandoc -f $(MARKDOWN) -t plain README.md -o README.txt >- >--#youtube-dlc.1: README.md >--# $(PYTHON) devscripts/prepare_manpage.py youtube-dlc.1.temp.md >--# pandoc -s -f $(MARKDOWN) -t man youtube-dlc.1.temp.md -o youtube-dlc.1 >--# rm -f youtube-dlc.1.temp.md >-+youtube-dlc.1: README.md >-+ $(PYTHON) devscripts/prepare_manpage.py youtube-dlc.1.temp.md >-+ pandoc -s -f $(MARKDOWN) -t man youtube-dlc.1.temp.md -o youtube-dlc.1 >-+ rm -f youtube-dlc.1.temp.md >- >- youtube-dlc.bash-completion: youtube_dlc/*.py youtube_dlc/*/*.py devscripts/bash-completion.in >- $(PYTHON) devscripts/bash-completion.py >diff --git a/www/youtube_dlc/files/patch-Makefile b/www/youtube_dlc/files/patch-Makefile >deleted file mode 100644 >index f8ed24670859..000000000000 >--- a/www/youtube_dlc/files/patch-Makefile >+++ /dev/null >@@ -1,87 +0,0 @@ >---- Makefile.orig 2021-01-16 18:54:52 UTC >-+++ Makefile >-@@ -1,6 +1,6 @@ >--all: youtube-dlc doc man >--doc: README.md CONTRIBUTING.md issuetemplates supportedsites >--man: README.txt youtube-dlc.1 youtube-dlc.bash-completion youtube-dlc.zsh youtube-dlc.fish >-+all: youtube-dlc man >-+#doc: README.md CONTRIBUTING.md issuetemplates supportedsites >-+man: youtube-dlc.bash-completion youtube-dlc.zsh youtube-dlc.fish >- >- >- clean: >-@@ -16,16 +16,14 @@ 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) >- >--install: youtube-dlc youtube-dlc.1 youtube-dlc.bash-completion youtube-dlc.zsh youtube-dlc.fish >-+install: youtube-dlc youtube-dlc.bash-completion youtube-dlc.zsh youtube-dlc.fish >- install -d $(DESTDIR)$(BINDIR) >- install -m 755 youtube-dlc $(DESTDIR)$(BINDIR) >-- install -d $(DESTDIR)$(MANDIR)/man1 >-- install -m 644 youtube-dlc.1 $(DESTDIR)$(MANDIR)/man1 >- install -d $(DESTDIR)$(SYSCONFDIR)/bash_completion.d >- install -m 644 youtube-dlc.bash-completion $(DESTDIR)$(SYSCONFDIR)/bash_completion.d/youtube-dlc >- install -d $(DESTDIR)$(SHAREDIR)/zsh/site-functions >-@@ -71,36 +69,36 @@ youtube-dlc: youtube_dlc/*.py youtube_dlc/*/*.py >- done >- touch -t 200001010101 zip/youtube_dlc/*.py zip/youtube_dlc/*/*.py >- mv zip/youtube_dlc/__main__.py zip/ >-- cd zip ; zip -q ../youtube-dlc youtube_dlc/*.py youtube_dlc/*/*.py __main__.py >-+ cd zip ; bsdtar -a -cf ../youtube-dlc.zip youtube_dlc/*.py youtube_dlc/*/*.py __main__.py >- rm -rf zip >- echo '#!$(PYTHON)' > youtube-dlc >- cat youtube-dlc.zip >> youtube-dlc >- rm youtube-dlc.zip >- chmod a+x youtube-dlc >- >--README.md: youtube_dlc/*.py youtube_dlc/*/*.py >-- COLUMNS=80 $(PYTHON) youtube_dlc/__main__.py --help | $(PYTHON) devscripts/make_readme.py >-+#README.md: youtube_dlc/*.py youtube_dlc/*/*.py >-+# COLUMNS=80 $(PYTHON) youtube_dlc/__main__.py --help | $(PYTHON) devscripts/make_readme.py >- >--CONTRIBUTING.md: README.md >-- $(PYTHON) devscripts/make_contributing.py README.md CONTRIBUTING.md >-+#CONTRIBUTING.md: README.md >-+# $(PYTHON) devscripts/make_contributing.py README.md CONTRIBUTING.md >- >--issuetemplates: devscripts/make_issue_template.py .github/ISSUE_TEMPLATE_tmpl/1_broken_site.md .github/ISSUE_TEMPLATE_tmpl/2_site_support_request.md .github/ISSUE_TEMPLATE_tmpl/3_site_feature_request.md .github/ISSUE_TEMPLATE_tmpl/4_bug_report.md .github/ISSUE_TEMPLATE_tmpl/5_feature_request.md youtube_dlc/version.py >-- $(PYTHON) devscripts/make_issue_template.py .github/ISSUE_TEMPLATE_tmpl/1_broken_site.md .github/ISSUE_TEMPLATE/1_broken_site.md >-- $(PYTHON) devscripts/make_issue_template.py .github/ISSUE_TEMPLATE_tmpl/2_site_support_request.md .github/ISSUE_TEMPLATE/2_site_support_request.md >-- $(PYTHON) devscripts/make_issue_template.py .github/ISSUE_TEMPLATE_tmpl/3_site_feature_request.md .github/ISSUE_TEMPLATE/3_site_feature_request.md >-- $(PYTHON) devscripts/make_issue_template.py .github/ISSUE_TEMPLATE_tmpl/4_bug_report.md .github/ISSUE_TEMPLATE/4_bug_report.md >-- $(PYTHON) devscripts/make_issue_template.py .github/ISSUE_TEMPLATE_tmpl/5_feature_request.md .github/ISSUE_TEMPLATE/5_feature_request.md >-+#issuetemplates: devscripts/make_issue_template.py .github/ISSUE_TEMPLATE_tmpl/1_broken_site.md .github/ISSUE_TEMPLATE_tmpl/2_site_support_request.md .github/ISSUE_TEMPLATE_tmpl/3_site_feature_request.md .github/ISSUE_TEMPLATE_tmpl/4_bug_report.md .github/ISSUE_TEMPLATE_tmpl/5_feature_request.md youtube_dlc/version.py >-+# $(PYTHON) devscripts/make_issue_template.py .github/ISSUE_TEMPLATE_tmpl/1_broken_site.md .github/ISSUE_TEMPLATE/1_broken_site.md >-+# $(PYTHON) devscripts/make_issue_template.py .github/ISSUE_TEMPLATE_tmpl/2_site_support_request.md .github/ISSUE_TEMPLATE/2_site_support_request.md >-+# $(PYTHON) devscripts/make_issue_template.py .github/ISSUE_TEMPLATE_tmpl/3_site_feature_request.md .github/ISSUE_TEMPLATE/3_site_feature_request.md >-+# $(PYTHON) devscripts/make_issue_template.py .github/ISSUE_TEMPLATE_tmpl/4_bug_report.md .github/ISSUE_TEMPLATE/4_bug_report.md >-+# $(PYTHON) devscripts/make_issue_template.py .github/ISSUE_TEMPLATE_tmpl/5_feature_request.md .github/ISSUE_TEMPLATE/5_feature_request.md >- >--supportedsites: >-- $(PYTHON) devscripts/make_supportedsites.py docs/supportedsites.md >-+#supportedsites: >-+# $(PYTHON) devscripts/make_supportedsites.py docs/supportedsites.md >- >--README.txt: README.md >-- pandoc -f $(MARKDOWN) -t plain README.md -o README.txt >-+#README.txt: README.md >-+# pandoc -f $(MARKDOWN) -t plain README.md -o README.txt >- >--youtube-dlc.1: README.md >-- $(PYTHON) devscripts/prepare_manpage.py youtube-dlc.1.temp.md >-- pandoc -s -f $(MARKDOWN) -t man youtube-dlc.1.temp.md -o youtube-dlc.1 >-- rm -f youtube-dlc.1.temp.md >-+#youtube-dlc.1: README.md >-+# $(PYTHON) devscripts/prepare_manpage.py youtube-dlc.1.temp.md >-+# pandoc -s -f $(MARKDOWN) -t man youtube-dlc.1.temp.md -o youtube-dlc.1 >-+# rm -f youtube-dlc.1.temp.md >- >- youtube-dlc.bash-completion: youtube_dlc/*.py youtube_dlc/*/*.py devscripts/bash-completion.in >- $(PYTHON) devscripts/bash-completion.py >diff --git a/www/youtube_dlc/files/patch-youtube__dlc_____init____.py b/www/youtube_dlc/files/patch-youtube__dlc_____init____.py >deleted file mode 100644 >index 0f020f42de6c..000000000000 >--- a/www/youtube_dlc/files/patch-youtube__dlc_____init____.py >+++ /dev/null >@@ -1,29 +0,0 @@ >---- youtube_dlc/__init__.py.orig 2021-02-19 21:44:01 UTC >-+++ youtube_dlc/__init__.py >-@@ -38,7 +38,6 @@ from .utils import ( >- std_headers, >- write_string, >- ) >--from .update import update_self >- from .downloader import ( >- FileDownloader, >- ) >-@@ -556,17 +555,9 @@ def _real_main(argv=None): >- if opts.rm_cachedir: >- ydl.cache.remove() >- >-- # Update version >-- if opts.update_self: >-- # If updater returns True, exit. Required for windows >-- if update_self(ydl.to_screen, opts.verbose, ydl._opener): >-- if actual_use: >-- sys.exit('ERROR: The program must exit for the update to complete') >-- sys.exit() >-- >- # Maybe do nothing >- if not actual_use: >-- if opts.update_self or opts.rm_cachedir: >-+ if opts.rm_cachedir: >- sys.exit() >- >- ydl.warn_if_short_id(sys.argv[1:] if argv is None else argv) >diff --git a/www/youtube_dlc/files/patch-youtube__dlc_options.py b/www/youtube_dlc/files/patch-youtube__dlc_options.py >deleted file mode 100644 >index 497198a73265..000000000000 >--- a/www/youtube_dlc/files/patch-youtube__dlc_options.py >+++ /dev/null >@@ -1,13 +0,0 @@ >---- youtube_dlc/options.py.orig 2021-02-17 12:04:51 UTC >-+++ youtube_dlc/options.py >-@@ -151,10 +151,6 @@ def parseOpts(overrideArguments=None): >- action='version', >- help='Print program version and exit') >- general.add_option( >-- '-U', '--update', >-- action='store_true', dest='update_self', >-- help='Update this program to latest version. Make sure that you have sufficient permissions (run with sudo if needed)') >-- general.add_option( >- '-i', '--ignore-errors', '--no-abort-on-error', >- action='store_true', dest='ignoreerrors', default=True, >- help='Continue on download errors, for example to skip unavailable videos in a playlist (default) (Alias: --no-abort-on-error)') >diff --git a/www/youtube_dlc/pkg-descr b/www/youtube_dlc/pkg-descr >deleted file mode 100644 >index 53be983a2c1c..000000000000 >--- a/www/youtube_dlc/pkg-descr >+++ /dev/null >@@ -1,5 +0,0 @@ >-youtube-dlp(c) is an active fork of youtube-dl with several enhancements. >-It is a command-line program for downloading videos from YouTube.com and >-other video streaming services. >- >-WWW: https://github.com/pukkandan/yt-dlp/ >diff --git a/www/youtube_dlc/pkg-message b/www/youtube_dlc/pkg-message >deleted file mode 100644 >index 898139919852..000000000000 >--- a/www/youtube_dlc/pkg-message >+++ /dev/null >@@ -1,8 +0,0 @@ >-[ >-{ type: install >- message: <<EOM >-If you want to use mp3 audio conversion please make sure multimedia/ffmpeg is >-built with the "LAME" option enabled. >-EOM >-} >-] >diff --git a/www/youtube_dlc/pkg-plist b/www/youtube_dlc/pkg-plist >deleted file mode 100644 >index bec3f63d33b5..000000000000 >--- a/www/youtube_dlc/pkg-plist >+++ /dev/null >@@ -1,7 +0,0 @@ >-%%SYMLINK%%bin/youtube-dl >-bin/youtube-dlc >-etc/bash_completion.d/youtube-dlc >-%%MANPAGES%%man/man1/youtube-dlc.1.gz >-etc/fish/completions/youtube-dlc.fish >-share/zsh/site-functions/_youtube-dlc >-
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 254375
: 223384