Date: Wed, 1 Oct 2014 13:58:11 +0000 (UTC) From: "Jason E. Hale" <jhale@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r369727 - in head/www/youtube_dl: . files Message-ID: <201410011358.s91DwBq1003506@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhale Date: Wed Oct 1 13:58:11 2014 New Revision: 369727 URL: https://svnweb.freebsd.org/changeset/ports/369727 QAT: https://qat.redports.org/buildarchive/r369727/ Log: - 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) Added: head/www/youtube_dl/files/patch-youtube_dl__options.py (contents, props changed) Modified: head/www/youtube_dl/Makefile head/www/youtube_dl/distinfo head/www/youtube_dl/files/patch-Makefile head/www/youtube_dl/files/patch-youtube_dl____init__.py Modified: head/www/youtube_dl/Makefile ============================================================================== --- head/www/youtube_dl/Makefile Wed Oct 1 13:58:03 2014 (r369726) +++ head/www/youtube_dl/Makefile Wed Oct 1 13:58:11 2014 (r369727) @@ -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 \ Modified: head/www/youtube_dl/distinfo ============================================================================== --- head/www/youtube_dl/distinfo Wed Oct 1 13:58:03 2014 (r369726) +++ head/www/youtube_dl/distinfo Wed Oct 1 13:58:11 2014 (r369727) @@ -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 Modified: head/www/youtube_dl/files/patch-Makefile ============================================================================== --- head/www/youtube_dl/files/patch-Makefile Wed Oct 1 13:58:03 2014 (r369726) +++ head/www/youtube_dl/files/patch-Makefile Wed Oct 1 13:58:11 2014 (r369727) @@ -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) Modified: head/www/youtube_dl/files/patch-youtube_dl____init__.py ============================================================================== --- head/www/youtube_dl/files/patch-youtube_dl____init__.py Wed Oct 1 13:58:03 2014 (r369726) +++ head/www/youtube_dl/files/patch-youtube_dl____init__.py Wed Oct 1 13:58:11 2014 (r369727) @@ -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): Added: head/www/youtube_dl/files/patch-youtube_dl__options.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/youtube_dl/files/patch-youtube_dl__options.py Wed Oct 1 13:58:11 2014 (r369727) @@ -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',
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410011358.s91DwBq1003506>