pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/youtube-dl Update to youtube-dl-20080726.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c79cc6e979a0
branches:  trunk
changeset: 545440:c79cc6e979a0
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sun Aug 03 09:19:02 2008 +0000

description:
Update to youtube-dl-20080726.

This release fixes a bug in the Unicode video title treatment, and another
one with output templates referencing absolute paths. The main change is
the program being able to download videos from metacafe.com and YouTube
playlists.

Also some pkgsrc cleanup.

diffstat:

 net/youtube-dl/Makefile |  19 +++++++------------
 net/youtube-dl/distinfo |   8 ++++----
 2 files changed, 11 insertions(+), 16 deletions(-)

diffs (58 lines):

diff -r c9790264d84b -r c79cc6e979a0 net/youtube-dl/Makefile
--- a/net/youtube-dl/Makefile   Sun Aug 03 05:17:40 2008 +0000
+++ b/net/youtube-dl/Makefile   Sun Aug 03 09:19:02 2008 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.6 2008/05/05 08:25:14 tnn Exp $
+# $NetBSD: Makefile,v 1.7 2008/08/03 09:19:02 tnn Exp $
 #
 
-DISTNAME=      youtube-dl
-PKGNAME=       youtube-dl-20080420
+DISTNAME=      youtube-dl-2008.07.26
+PKGNAME=       ${DISTNAME:S/.//g}
 CATEGORIES=    net
 MASTER_SITES=  http://www.arrakis.es/~rggi3/youtube-dl/
 EXTRACT_SUFX=  # none
@@ -11,25 +11,20 @@
 HOMEPAGE=      http://www.arrakis.es/~rggi3/youtube-dl/
 COMMENT=       Download videos from youtube.com
 
-DIST_SUBDIR=   ${PKGNAME_NOREV}
 PKG_DESTDIR_SUPPORT=   user-destdir
 
 USE_LANGUAGES=                 # none
 PYTHON_VERSIONS_ACCEPTED=      25 24
+NO_BUILD=                      yes
 WRKSRC=                                ${WRKDIR}
 
 INSTALLATION_DIRS=     bin
 
-SUBST_CLASSES+=                path
-SUBST_MESSAGE.path=    Fixing paths.
-SUBST_STAGE.path=      pre-build
-SUBST_FILES.path=      youtube-dl
-SUBST_SED.path=         -e 's,/usr/bin/env python,${PYTHONBIN},g'
-
-do-build:
+REPLACE_PYTHON+=       ${DISTNAME}
 
 do-install:
-       ${INSTALL_SCRIPT} ${WRKSRC}/youtube-dl ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} \
+         ${DESTDIR}${PREFIX}/bin/youtube-dl
 
 .include "../../lang/python/application.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r c9790264d84b -r c79cc6e979a0 net/youtube-dl/distinfo
--- a/net/youtube-dl/distinfo   Sun Aug 03 05:17:40 2008 +0000
+++ b/net/youtube-dl/distinfo   Sun Aug 03 09:19:02 2008 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.5 2008/05/05 08:25:14 tnn Exp $
+$NetBSD: distinfo,v 1.6 2008/08/03 09:19:02 tnn Exp $
 
-SHA1 (youtube-dl-20080420/youtube-dl) = c9106fc85f3e5a90e88878ff4bd7b0a9f92114e9
-RMD160 (youtube-dl-20080420/youtube-dl) = 28f8dc35f478f0bf2a7825dbd05dc47d8ec3298f
-Size (youtube-dl-20080420/youtube-dl) = 16497 bytes
+SHA1 (youtube-dl-2008.07.26) = b01a7abe577e7f8415b32d7eb904f7bf7bf45073
+RMD160 (youtube-dl-2008.07.26) = 1cdf1463fbe69f53a8894e8a8e7196201e97df1e
+Size (youtube-dl-2008.07.26) = 29016 bytes



Home | Main Index | Thread Index | Old Index