View | Details | Raw Unified | Return to bug 193713
Collapse All | Expand All

(-)b/www/youtube_dl/Makefile (-2 / +2 lines)
Lines 1-8 Link Here
1
# $FreeBSD: head/www/youtube_dl/Makefile 366432 2014-08-28 16:34:35Z sunpoet $
1
# $FreeBSD: head/www/youtube_dl/Makefile 366432 2014-08-28 16:34:35Z sunpoet $
2
2
3
PORTNAME=	youtube_dl
3
PORTNAME=	youtube_dl
4
PORTVERSION=	2014.08.10
4
PORTVERSION=	2014.09.16.1
5
PORTREVISION=	1
5
PORTREVISION=	0
6
CATEGORIES=	www
6
CATEGORIES=	www
7
MASTER_SITES=	https://yt-dl.org/downloads/${PORTVERSION}/
7
MASTER_SITES=	https://yt-dl.org/downloads/${PORTVERSION}/
8
DISTNAME=	youtube-dl-${PORTVERSION}
8
DISTNAME=	youtube-dl-${PORTVERSION}
(-)b/www/youtube_dl/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (youtube-dl-2014.08.10.tar.gz) = a1131ff8aa636b6e99baf1b6226dab137500cd0a5cdeb4d76db102be4138caa9
1
SHA256 (youtube-dl-2014.09.16.1.tar.gz) = 4ca2d48ef7f75b6055519389298831abdf9a191ad81098a6175fd11a544594b4
2
SIZE (youtube-dl-2014.08.10.tar.gz) = 931916
2
SIZE (youtube-dl-2014.09.16.1.tar.gz) = 1040609
(-)b/www/youtube_dl/files/patch-Makefile (-5 / +5 lines)
Lines 1-9 Link Here
1
--- Makefile.orig	2013-10-17 06:55:06.000000000 +0800
1
--- Makefile.orig	2014-09-14 17:48:07.000000000 +0300
2
+++ Makefile	2013-10-26 18:28:59.588795031 +0800
2
+++ Makefile	2014-09-17 17:53:58.000000000 +0300
3
@@ -10,17 +10,7 @@
3
@@ -10,17 +10,7 @@
4
 BINDIR=$(PREFIX)/bin
4
 BINDIR ?= $(PREFIX)/bin
5
 MANDIR=$(PREFIX)/man
5
 MANDIR ?= $(PREFIX)/man
6
 PYTHON=/usr/bin/env python
6
 PYTHON ?= /usr/bin/env python
7
-
7
-
8
-# set SYSCONFDIR to /etc if PREFIX=/usr or PREFIX=/usr/local
8
-# set SYSCONFDIR to /etc if PREFIX=/usr or PREFIX=/usr/local
9
-ifeq ($(PREFIX),/usr)
9
-ifeq ($(PREFIX),/usr)
(-)b/www/youtube_dl/files/patch-youtube_dl____init__.py (-17 / +7 lines)
Lines 1-6 Link Here
1
--- youtube_dl/__init__.py.orig	2014-07-29 23:18:51.000000000 +0800
1
--- youtube_dl/__init__.py.orig	2014-09-17 00:03:32.000000000 +0300
2
+++ youtube_dl/__init__.py	2014-07-31 01:10:45.923443081 +0800
2
+++ youtube_dl/__init__.py	2014-09-17 17:54:22.000000000 +0300
3
@@ -97,7 +97,6 @@
3
@@ -106,7 +106,6 @@
4
     std_headers,
4
     std_headers,
5
     write_string,
5
     write_string,
6
 )
6
 )
Lines 8-25 Link Here
8
 from .downloader import (
8
 from .downloader import (
9
     FileDownloader,
9
     FileDownloader,
10
 )
10
 )
11
@@ -230,8 +229,6 @@
11
@@ -397,17 +396,13 @@
12
             action='help', help='print this help text and exit')
12
             ydl.add_post_processor(ExecAfterDownloadPP(
13
     general.add_option('-v', '--version',
13
                 verboseOutput=opts.verbose, exec_cmd=opts.exec_cmd))
14
             action='version', help='print program version and exit')
15
-    general.add_option('-U', '--update',
16
-            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)')
17
     general.add_option('-i', '--ignore-errors',
18
             action='store_true', dest='ignoreerrors', help='continue on download errors, for example to skip unavailable videos in a playlist', default=False)
19
     general.add_option('--abort-on-error',
20
@@ -844,10 +841,6 @@
21
                 ydl.add_post_processor(FFmpegAudioFixPP())
22
             ydl.add_post_processor(AtomicParsleyPP())
23
 
14
 
24
-        # Update version
15
-        # Update version
25
-        if opts.update_self:
16
-        if opts.update_self:
Lines 27-34 Link Here
27
-
18
-
28
         # Remove cache dir
19
         # Remove cache dir
29
         if opts.rm_cachedir:
20
         if opts.rm_cachedir:
30
             if opts.cachedir is None:
21
             ydl.cache.remove()
31
@@ -867,7 +860,7 @@
32
 
22
 
33
         # Maybe do nothing
23
         # Maybe do nothing
34
         if (len(all_urls) < 1) and (opts.load_info_filename is None):
24
         if (len(all_urls) < 1) and (opts.load_info_filename is None):

Return to bug 193713