Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Feb 2014 20:05:29 +0200 (EET)
From:      Johannes Jost Meixner <xmj@chaot.net>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        araujo@FreeBSD.org
Subject:   ports/186546: [UPDATE] www/youtube_dl: update to 2014.02.06.3
Message-ID:  <4101533079.enqueue@mx12.chaot.net>
Resent-Message-ID: <201402071810.s17IA1Pe005366@freefall.freebsd.org>

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

>Number:         186546
>Category:       ports
>Synopsis:       [UPDATE] www/youtube_dl: update to 2014.02.06.3
>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:   Fri Feb 07 18:10:01 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Johannes Jost Meixner
>Release:        FreeBSD 11.0-CURRENT amd64
>Organization:
Goldener Grund OUe
>Environment:
System: FreeBSD mx12.chaot.net 11.0-CURRENT FreeBSD 11.0-CURRENT #0: Wed Jan 15 11:44:09 EET 2014
>Description:
- Update to 2014.02.06.3
- youtube_dl can run with Python 3. 
- Add post-patch target:
  Make sure it uses the installed python version in cases 
  where youtube_dl does not depend on lang/python.

Port maintainer (araujo@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 1.00.2014.02.03 (mode: update, diff: SVN)
>How-To-Repeat:
>Fix:

--- youtube_dl-2014.02.06.3.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 343284)
+++ Makefile	(working copy)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	youtube_dl
-PORTVERSION=	2014.01.23.4
+PORTVERSION=	2014.02.06.3
 CATEGORIES=	www
 MASTER_SITES=	https://yt-dl.org/downloads/${PORTVERSION}/
 DISTNAME=	youtube-dl-${PORTVERSION}
@@ -16,7 +16,7 @@
 
 BUILD_DEPENDS=	zip:${PORTSDIR}/archivers/zip
 
-USE_PYTHON_RUN=	2
+USE_PYTHON_RUN=	yes
 ALL_TARGET=	youtube-dl
 
 OPTIONS_DEFINE=	BASH RTMPDUMP FFMPEG
@@ -40,6 +40,9 @@
 	@# remove tarball provided version, build our own
 	@${RM} -f ${WRKSRC}/youtube-dl
 
+post-patch:
+	${REINPLACE_CMD} -e '/PYTHON=/s/python/python${PYTHON_SUFFIX}/' ${WRKSRC}/Makefile
+
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/youtube-dl ${STAGEDIR}${PREFIX}/bin/youtube-dl
 	${INSTALL_DATA} ${WRKSRC}/youtube-dl.1 ${STAGEDIR}${PREFIX}/man/man1/
Index: distinfo
===================================================================
--- distinfo	(revision 343284)
+++ distinfo	(working copy)
@@ -1,2 +1,2 @@
-SHA256 (youtube-dl-2014.01.23.4.tar.gz) = a96d562be51aeb817b9952bff8c65ecab737575b7104381ce62185397408dc72
-SIZE (youtube-dl-2014.01.23.4.tar.gz) = 597125
+SHA256 (youtube-dl-2014.02.06.3.tar.gz) = 0e49dc11a33c001b68e8669837fe0b838c45454969043c9e7dd8fc160bc9b274
+SIZE (youtube-dl-2014.02.06.3.tar.gz) = 632047
--- youtube_dl-2014.02.06.3.patch ends here ---

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



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