mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
- Update to 2014.09.29.2 [1][2]
PR: 193562 [1], 193713 [2] (based on) Submitted by: <neel@neelc.org> [1], <never@nevermind.kiev.ua> [2] Approved by: araujo (maintainer timeout, 3 weeks)
This commit is contained in:
parent
ca88370c7d
commit
ffb2c6eccb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=369727
@ -1,8 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= youtube_dl
|
||||
PORTVERSION= 2014.08.10
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 2014.09.29.2
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= https://yt-dl.org/downloads/${PORTVERSION}/
|
||||
DISTNAME= youtube-dl-${PORTVERSION}
|
||||
@ -44,7 +43,7 @@ post-extract:
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/youtube-dl ${STAGEDIR}${PREFIX}/bin/youtube-dl
|
||||
${INSTALL_DATA} ${WRKSRC}/youtube-dl.1 ${STAGEDIR}${PREFIX}/man/man1/
|
||||
${INSTALL_DATA} ${WRKSRC}/youtube-dl.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
||||
.if ${PORT_OPTIONS:MBASH}
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d
|
||||
${INSTALL_DATA} ${WRKSRC}/youtube-dl.bash-completion \
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (youtube-dl-2014.08.10.tar.gz) = a1131ff8aa636b6e99baf1b6226dab137500cd0a5cdeb4d76db102be4138caa9
|
||||
SIZE (youtube-dl-2014.08.10.tar.gz) = 931916
|
||||
SHA256 (youtube-dl-2014.09.29.2.tar.gz) = 4192ad648e21e8ab1a4e9b4fe130e47623834407737fd40a0197c61fe38b50f1
|
||||
SIZE (youtube-dl-2014.09.29.2.tar.gz) = 1072137
|
||||
|
@ -1,9 +1,9 @@
|
||||
--- Makefile.orig 2013-10-17 06:55:06.000000000 +0800
|
||||
+++ Makefile 2013-10-26 18:28:59.588795031 +0800
|
||||
--- Makefile.orig 2014-09-14 14:48:07 UTC
|
||||
+++ Makefile
|
||||
@@ -10,17 +10,7 @@
|
||||
BINDIR=$(PREFIX)/bin
|
||||
MANDIR=$(PREFIX)/man
|
||||
PYTHON=/usr/bin/env python
|
||||
BINDIR ?= $(PREFIX)/bin
|
||||
MANDIR ?= $(PREFIX)/man
|
||||
PYTHON ?= /usr/bin/env python
|
||||
-
|
||||
-# set SYSCONFDIR to /etc if PREFIX=/usr or PREFIX=/usr/local
|
||||
-ifeq ($(PREFIX),/usr)
|
||||
@ -15,7 +15,7 @@
|
||||
- SYSCONFDIR=$(PREFIX)/etc
|
||||
- endif
|
||||
-endif
|
||||
+SYSCONFDIR=/etc
|
||||
+SYSCONFDIR ?= /etc
|
||||
|
||||
install: youtube-dl youtube-dl.1 youtube-dl.bash-completion
|
||||
install -d $(DESTDIR)$(BINDIR)
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- youtube_dl/__init__.py.orig 2014-07-29 23:18:51.000000000 +0800
|
||||
+++ youtube_dl/__init__.py 2014-07-31 01:10:45.923443081 +0800
|
||||
@@ -97,7 +97,6 @@
|
||||
--- youtube_dl/__init__.py.orig 2014-09-27 21:51:19 UTC
|
||||
+++ youtube_dl/__init__.py
|
||||
@@ -108,7 +108,6 @@
|
||||
std_headers,
|
||||
write_string,
|
||||
)
|
||||
@ -8,18 +8,9 @@
|
||||
from .downloader import (
|
||||
FileDownloader,
|
||||
)
|
||||
@@ -230,8 +229,6 @@
|
||||
action='help', help='print this help text and exit')
|
||||
general.add_option('-v', '--version',
|
||||
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',
|
||||
action='store_true', dest='ignoreerrors', help='continue on download errors, for example to skip unavailable videos in a playlist', default=False)
|
||||
general.add_option('--abort-on-error',
|
||||
@@ -844,10 +841,6 @@
|
||||
ydl.add_post_processor(FFmpegAudioFixPP())
|
||||
ydl.add_post_processor(AtomicParsleyPP())
|
||||
@@ -399,17 +398,13 @@
|
||||
ydl.add_post_processor(ExecAfterDownloadPP(
|
||||
verboseOutput=opts.verbose, exec_cmd=opts.exec_cmd))
|
||||
|
||||
- # Update version
|
||||
- if opts.update_self:
|
||||
@ -27,8 +18,7 @@
|
||||
-
|
||||
# Remove cache dir
|
||||
if opts.rm_cachedir:
|
||||
if opts.cachedir is None:
|
||||
@@ -867,7 +860,7 @@
|
||||
ydl.cache.remove()
|
||||
|
||||
# Maybe do nothing
|
||||
if (len(all_urls) < 1) and (opts.load_info_filename is None):
|
||||
|
11
www/youtube_dl/files/patch-youtube_dl__options.py
Normal file
11
www/youtube_dl/files/patch-youtube_dl__options.py
Normal file
@ -0,0 +1,11 @@
|
||||
--- youtube_dl/options.py.orig 2014-10-01 13:10:09 UTC
|
||||
+++ youtube_dl/options.py
|
||||
@@ -127,8 +127,6 @@
|
||||
action='help', help='print this help text and exit')
|
||||
general.add_option('-v', '--version',
|
||||
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',
|
||||
action='store_true', dest='ignoreerrors', help='continue on download errors, for example to skip unavailable videos in a playlist', default=False)
|
||||
general.add_option('--abort-on-error',
|
Loading…
Reference in New Issue
Block a user