Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Sep 2012 00:06:27 GMT
From:      "4721@hushmail.com" <4721@hushmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/172153: [patch] upgrade www/youtube_dl from 2012.02.27 to 2012.09.27
Message-ID:  <201209290006.q8T06RmG021130@red.freebsd.org>
Resent-Message-ID: <201209290010.q8T0A2NC052152@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         172153
>Category:       ports
>Synopsis:       [patch] upgrade www/youtube_dl from 2012.02.27 to 2012.09.27
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 29 00:10:02 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     4721@hushmail.com
>Release:        
>Organization:
>Environment:
>Description:
* update port to last version
* vendor drops support for python 2.5, remove from acceptable range
* switch to USE_GITHUB
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: www/youtube_dl/distinfo
===================================================================
--- www/youtube_dl/distinfo	(revision 305009)
+++ www/youtube_dl/distinfo	(working copy)
@@ -1,2 +1,2 @@
-SHA256 (youtube_dl/2012.02.27/youtube-dl) = 98146a510fed3d39a34a686e1100d6df4efa2b9b9e194649e615afc1ff646834
-SIZE (youtube_dl/2012.02.27/youtube-dl) = 159848
+SHA256 (youtube_dl-2012.09.27) = 45e88c1a5b81e633bddd43d5363e7ade92af2eeb534c37a5170f4b68d73605ea
+SIZE (youtube_dl-2012.09.27) = 2874838
Index: www/youtube_dl/Makefile
===================================================================
--- www/youtube_dl/Makefile	(revision 305009)
+++ www/youtube_dl/Makefile	(working copy)
@@ -6,24 +6,26 @@
 #
 
 PORTNAME=	youtube_dl
-PORTVERSION=	2012.02.27
+PORTVERSION=	2012.09.27
 CATEGORIES=	www
-MASTER_SITES=	https://raw.github.com/rg3/youtube-dl/${PORTVERSION}/ \
+MASTER_SITES=	GH \
 		CRITICAL
-DISTNAME=	youtube-dl
 EXTRACT_SUFX=	# empty
-DIST_SUBDIR=	${PORTNAME}/${PORTVERSION}
-EXTRACT_ONLY=	# empty
 
 MAINTAINER=	araujo@FreeBSD.org
 COMMENT=	A program for downloading videos from YouTube.com
 
 LICENSE=	GPLv2
 
-NO_BUILD=	yes
-NO_WRKSUBDIR=	yes
-USE_PYTHON_RUN=	2.5-2.7
+BUILD_DEPENDS=	zip:${PORTSDIR}/archivers/zip
 
+USE_PYTHON_RUN=	2.6-2.7
+ALL_TARGET=	compile
+USE_GITHUB=	yes
+GH_ACCOUNT=	rg3
+GH_PROJECT=	youtube-dl
+GH_COMMIT=	b5de8af
+
 PLIST_FILES=	bin/youtube-dl
 
 OPTIONS=	RTMPDUMP "Use RTMPDUMP to download rtmp video streams" on \
@@ -44,9 +46,6 @@
 . endif
 .endif
 
-post-extract:
-	@${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME} ${WRKSRC}/youtube-dl
-
 do-install:
 	@${INSTALL_SCRIPT} ${WRKSRC}/youtube-dl ${PREFIX}/bin/youtube-dl
 


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209290006.q8T06RmG021130>