Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F159964247
D1689.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D1689.diff
View Options
Index: www/youtube_dl/Makefile
===================================================================
--- www/youtube_dl/Makefile
+++ www/youtube_dl/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= youtube_dl
-PORTVERSION= 2014.11.24
+PORTVERSION= 2015.01.25
CATEGORIES= www
MASTER_SITES= https://yt-dl.org/downloads/${PORTVERSION}/
DISTNAME= youtube-dl-${PORTVERSION}
@@ -19,11 +19,12 @@
ALL_TARGET= youtube-dl
MAKE_ARGS= PYTHON=${PYTHON_CMD}
USES= python:run
+NO_ARCH= yes
-OPTIONS_DEFINE= BASH RTMPDUMP FFMPEG
+OPTIONS_DEFINE= BASH FISH RTMPDUMP FFMPEG ZSH
OPTIONS_DEFAULT=RTMPDUMP
-BASH_DESC= Install programmable completions for Bash
+FISH_DESC= Install programmable completions for Fish
RTMPDUMP_DESC= Use RTMPDUMP to download rtmp video streams
PLIST_FILES= bin/youtube-dl \
@@ -32,6 +33,8 @@
WRKSRC= ${WRKDIR}/youtube-dl
BASH_PLIST_FILES= etc/bash_completion.d/youtube-dl.sh
+FISH_PLIST_FILES= share/fish/completions/youtube-dl.fish
+ZSH_PLIST_FILES= share/zsh/site-functions/_youtube-dl
FFMPEG_RUN_DEPENDS= ${LOCALBASE}/bin/ffprobe:${PORTSDIR}/multimedia/ffmpeg
RTMPDUMP_RUN_DEPENDS= ${LOCALBASE}/bin/rtmpdump:${PORTSDIR}/multimedia/rtmpdump
@@ -49,5 +52,15 @@
${INSTALL_DATA} ${WRKSRC}/youtube-dl.bash-completion \
${STAGEDIR}${PREFIX}/etc/bash_completion.d/youtube-dl.sh
.endif
+.if ${PORT_OPTIONS:MFISH}
+ ${MKDIR} ${STAGEDIR}${PREFIX}/share/fish/completions
+ ${INSTALL_DATA} ${WRKSRC}/youtube-dl.fish \
+ ${STAGEDIR}${PREFIX}/share/fish/completions/
+.endif
+.if ${PORT_OPTIONS:MZSH}
+ ${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions
+ ${INSTALL_DATA} ${WRKSRC}/youtube-dl.zsh \
+ ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_youtube-dl
+.endif
.include <bsd.port.mk>
Index: www/youtube_dl/distinfo
===================================================================
--- www/youtube_dl/distinfo
+++ www/youtube_dl/distinfo
@@ -1,2 +1,2 @@
-SHA256 (youtube-dl-2014.11.24.tar.gz) = 3bae2155e429c3409bfac431330a86c931ea36d87c4c07e793bf0ea0cbfc1cbf
-SIZE (youtube-dl-2014.11.24.tar.gz) = 1149666
+SHA256 (youtube-dl-2015.01.25.tar.gz) = f5345af6eba6f0f76cbddf920d311bc6e169cc07b58eeaa0295a7fc4bab587e7
+SIZE (youtube-dl-2015.01.25.tar.gz) = 1305777
Index: www/youtube_dl/files/patch-youtube_dl____init__.py
===================================================================
--- www/youtube_dl/files/patch-youtube_dl____init__.py
+++ www/youtube_dl/files/patch-youtube_dl____init__.py
@@ -8,10 +8,10 @@
from .downloader import (
FileDownloader,
)
-@@ -324,17 +323,13 @@
- ydl.add_post_processor(ExecAfterDownloadPP(
- verboseOutput=opts.verbose, exec_cmd=opts.exec_cmd))
+@@ -347,17 +346,13 @@ def _real_main(argv=None):
+ }
+ with YoutubeDL(ydl_opts) as ydl:
- # Update version
- if opts.update_self:
- update_self(ydl.to_screen, opts.verbose)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jun 21, 12:14 AM (1 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34133636
Default Alt Text
D1689.diff (2 KB)
Attached To
Mode
D1689: www/youtube_dl: update to 2015.01.25
Attached
Detach File
Event Timeline
Log In to Comment