pkgsrc-Bugs archive

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

pkg/43761: Update net/youtube-dl to 2010.08.04



>Number:         43761
>Category:       pkg
>Synopsis:       Update net/youtube-dl to 2010.08.04
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 14 17:25:00 +0000 2010
>Originator:     Derouiche
>Release:        NetBSD 5.0.2
>Organization:
>Environment:
NetBSD Khaarasan 5.0.2 NetBSD 5.0.2 (GENERIC) #0: Sat Feb  6 17:53:27 UTC 2010  
builds%b7.netbsd.org@localhost:/home/builds/ab/netbsd-5-0-2-RELEASE/i386/201002061851Z-obj/home/builds/ab/netbsd-5-0-2-RELEASE/src/sys/arch/i386/compile/GENERIC
 i386
>Description:
n/a
>How-To-Repeat:
n/a
>Fix:
$ diff -ruN Makefile.orig Makefile
--- Makefile.orig       2010-08-14 17:23:53.000000000 +0000
+++ Makefile    2010-08-14 17:50:44.000000000 +0000
@@ -1,9 +1,11 @@
-# $NetBSD: Makefile,v 1.20 2010/04/05 18:14:28 wiz Exp $
+# $NetBSD$
+#
 
+VERSION=       20100804
 DISTNAME=      youtube-dl
-PKGNAME=       youtube-dl-20100724 # master site needs to be updated in tandem
+PKGNAME=       ${DISTNAME}-${VERSION}
 CATEGORIES=    net
-MASTER_SITES=  http://bitbucket.org/rg3/youtube-dl/raw/2010.07.24/
+MASTER_SITES=  http://bitbucket.org/rg3/youtube-dl/raw/2010.08.04/
 EXTRACT_SUFX=  # none
 DIST_SUBDIR=   ${PKGNAME_NOREV}
 
@@ -20,11 +22,15 @@
 
 INSTALLATION_DIRS=     bin
 
-REPLACE_PYTHON+=       ${DISTNAME}
+REPLACE_PYTHON+=       ${DISTNAME}${PYVERSSUFFIX}
+PLIST_SUBST+=  PYVERSSUFFIX=${PYVERSSUFFIX}
+
+post-extract:
+       ${MV} ${WRKSRC}/${DISTNAME} ${WRKSRC}/${DISTNAME}${PYVERSSUFFIX}
 
 do-install:
-       ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} \
-         ${DESTDIR}${PREFIX}/bin/youtube-dl
+       ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME}${PYVERSSUFFIX} \
+         ${DESTDIR}${PREFIX}/bin/youtube-dl${PYVERSSUFFIX}
 
 .include "../../lang/python/application.mk"
 .include "../../mk/bsd.pkg.mk"

$ diff PLIST.orig PLIST
2c2
< bin/youtube-dl
---
> bin/youtube-dl2.6



Home | Main Index | Thread Index | Old Index