Bug 172153 - [patch] upgrade www/youtube_dl from 2012.02.27 to 2012.09.27
Summary: [patch] upgrade www/youtube_dl from 2012.02.27 to 2012.09.27
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Marcelo Araujo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-29 01:10 UTC by 4721@hushmail.com
Modified: 2012-10-03 15:50 UTC (History)
0 users

See Also:


Attachments
file.diff (1.62 KB, patch)
2012-09-29 01:10 UTC, 4721@hushmail.com
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description 4721@hushmail.com 2012-09-29 01:10:02 UTC
* update port to last version
* vendor drops support for python 2.5, remove from acceptable range
* switch to USE_GITHUB

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-09-29 01:10:13 UTC
Responsible Changed
From-To: freebsd-ports-bugs->araujo

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2012-10-03 15:45:59 UTC
Author: araujo
Date: Wed Oct  3 14:45:45 2012
New Revision: 305205
URL: http://svn.freebsd.org/changeset/ports/305205

Log:
  - Update to 2012.09.27.
  - Drops support for python 2.5.
  - Switch to USE_GITHUB.
  
  PR:		ports/172153
  Submitted by:	"4721@hushmail.com" <4721@hushmail.com>

Modified:
  head/www/youtube_dl/Makefile
  head/www/youtube_dl/distinfo

Modified: head/www/youtube_dl/Makefile
==============================================================================
--- head/www/youtube_dl/Makefile	Wed Oct  3 14:41:50 2012	(r305204)
+++ head/www/youtube_dl/Makefile	Wed Oct  3 14:45:45 2012	(r305205)
@@ -1,28 +1,26 @@
-# New ports collection makefile for:	youtube_dl
-# Date created:		2006-08-12
-# Whom:			Pankov Pavel <pankov_p@mail.ru>
-#
 # $FreeBSD$
-#
 
 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
 
@@ -44,9 +42,6 @@ RUN_DEPENDS+=	ffprobe:${PORTSDIR}/multim
 . endif
 .endif
 
-post-extract:
-	@${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME} ${WRKSRC}/youtube-dl
-
 do-install:
 	@${INSTALL_SCRIPT} ${WRKSRC}/youtube-dl ${PREFIX}/bin/youtube-dl
 

Modified: head/www/youtube_dl/distinfo
==============================================================================
--- head/www/youtube_dl/distinfo	Wed Oct  3 14:41:50 2012	(r305204)
+++ head/www/youtube_dl/distinfo	Wed Oct  3 14:45:45 2012	(r305205)
@@ -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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Marcelo Araujo freebsd_committer freebsd_triage 2012-10-03 15:48:01 UTC
State Changed
From-To: open->closed

Committed. Thanks!