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

(-)/usr/ports/sunpoet/youtube_dl/Makefile (-3 / +3 lines)
Lines 6-15 Link Here
6
#
6
#
7
7
8
PORTNAME=	youtube_dl
8
PORTNAME=	youtube_dl
9
PORTVERSION=	2008.11.01
9
PORTVERSION=	2009.02.07
10
CATEGORIES=	www
10
CATEGORIES=	www
11
MASTER_SITES=	http://www.arrakis.es/~rggi3/youtube-dl/
11
MASTER_SITES=	http://www.arrakis.es/~rggi3/youtube-dl/
12
DISTNAME=	youtube-dl-${PORTVERSION}
12
DISTNAME=	youtube-dl
13
EXTRACT_SUFX=
13
EXTRACT_SUFX=
14
EXTRACT_ONLY=
14
EXTRACT_ONLY=
15
15
Lines 44-50 Link Here
44
.endif
44
.endif
45
45
46
post-extract:
46
post-extract:
47
	@${CP} ${DISTDIR}/youtube-dl-${PORTVERSION} ${WRKSRC}/youtube-dl
47
	@${CP} ${DISTDIR}/youtube-dl ${WRKSRC}/youtube-dl
48
48
49
post-patch:
49
post-patch:
50
	@${REINPLACE_CMD} -e 's|%%PYTHON_CMD%%|${PYTHON_CMD}|' ${WRKSRC}/youtube-dl
50
	@${REINPLACE_CMD} -e 's|%%PYTHON_CMD%%|${PYTHON_CMD}|' ${WRKSRC}/youtube-dl
(-)/usr/ports/sunpoet/youtube_dl/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (youtube-dl-2008.11.01) = 078560634b18fb15bc8806d5d4c6778c
1
MD5 (youtube-dl) = edfcf49117782e554cfecfd3d1c73bf0
2
SHA256 (youtube-dl-2008.11.01) = c7cb295e33d557f5c0f09dfbd5f111b1b210ed3af366f125b1c5c29450ad1a99
2
SHA256 (youtube-dl) = b30930d194f47de35c780169002bce4aeedd65c9d4e4750d5d51f17f745c87f9
3
SIZE (youtube-dl-2008.11.01) = 31797
3
SIZE (youtube-dl) = 36013
(-)/usr/ports/sunpoet/youtube_dl/files/conv2avi.patch (-7 / +7 lines)
Lines 1-6 Link Here
1
--- youtube-dl.orig	2008-10-12 16:49:43.000000000 +0400
1
--- youtube-dl.orig	2009-02-18 15:18:40.981138312 +0800
2
+++ youtube-dl	2008-10-12 16:54:22.000000000 +0400
2
+++ youtube-dl	2009-02-18 15:20:30.904521591 +0800
3
@@ -309,6 +309,20 @@
3
@@ -315,6 +315,20 @@
4
 						retcode = self.trouble('ERROR: postprocessing: %s' % str(err))
4
 						retcode = self.trouble('ERROR: postprocessing: %s' % str(err))
5
 						continue
5
 						continue
6
 
6
 
Lines 21-27 Link Here
21
 				break
21
 				break
22
 			if not suitable_found:
22
 			if not suitable_found:
23
 				retcode = self.trouble('ERROR: no suitable InfoExtractor: %s' % url)
23
 				retcode = self.trouble('ERROR: no suitable InfoExtractor: %s' % url)
24
@@ -859,6 +873,8 @@
24
@@ -964,6 +978,8 @@
25
 				action='store_true', dest='useliteral', help='use literal title in file name', default=False)
25
 				action='store_true', dest='useliteral', help='use literal title in file name', default=False)
26
 		parser.add_option('-n', '--netrc',
26
 		parser.add_option('-n', '--netrc',
27
 				action='store_true', dest='usenetrc', help='use .netrc authentication data', default=False)
27
 				action='store_true', dest='usenetrc', help='use .netrc authentication data', default=False)
Lines 30-40 Link Here
30
 		parser.add_option('-g', '--get-url',
30
 		parser.add_option('-g', '--get-url',
31
 				action='store_true', dest='geturl', help='simulate, quiet but print URL', default=False)
31
 				action='store_true', dest='geturl', help='simulate, quiet but print URL', default=False)
32
 		parser.add_option('-e', '--get-title',
32
 		parser.add_option('-e', '--get-title',
33
@@ -915,6 +931,7 @@
33
@@ -1037,6 +1053,7 @@
34
 				or u'%(id)s.%(ext)s'),
34
 				or u'%(id)s.%(ext)s'),
35
 			'ignoreerrors': opts.ignoreerrors,
35
 			'ignoreerrors': opts.ignoreerrors,
36
 			'ratelimit': opts.ratelimit,
36
 			'ratelimit': opts.ratelimit,
37
+			'useavi': opts.useavi,
37
+			'useavi': opts.useavi,
38
 			'nooverwrites': opts.nooverwrites,
38
 			})
39
 			})
39
 		fd.add_info_extractor(youtube_pl_ie)
40
 		fd.add_info_extractor(youtube_search_ie)
40
 		fd.add_info_extractor(metacafe_ie)
(-)/usr/ports/sunpoet/youtube_dl/files/patch-youtube-dl (-3 / +3 lines)
Lines 1-8 Link Here
1
--- youtube-dl-orig	2008-07-24 07:42:53.000000000 +0400
1
--- youtube-dl.orig	2009-02-18 15:17:26.576520965 +0800
2
+++ youtube-dl	2008-07-24 07:45:30.000000000 +0400
2
+++ youtube-dl	2009-02-18 15:17:42.870252710 +0800
3
@@ -1,4 +1,4 @@
3
@@ -1,4 +1,4 @@
4
-#!/usr/bin/env python
4
-#!/usr/bin/env python
5
+#!%%PYTHON_CMD%%
5
+#!%%PYTHON_CMD%%
6
 # -*- coding: utf-8 -*-
6
 # -*- coding: utf-8 -*-
7
 # Author: Ricardo Garcia Gonzalez
7
 # Author: Ricardo Garcia Gonzalez
8
 # License: Public domain code
8
 # Author: Danny Colligan

Return to bug 132375