Update net/youtube-dl to youtube-dl-2015.08.09. ok by wiz@. pkgsrc changes: o Install the fish completion file in the proper directory (thanks to wiz@ for noticing that) Changes: 2015.08.09 o [periscope] add extractor o [quickscope] add extractor o misc bug fixes and improvements 2015.08.06 o misc bug fixes and improvements 2015.07.28 o [bbcnews] add support for bbc.com/news o [dcn] add new extractor o [lecture2go] add new extractor o misc bug fixes and improvements 2015.07.21 o [sportschau] add support for sportschau.de o [appleconnect] add new extractor o misc bug fixes and improvements 2015.07.18 o [rdsca] new extractor o [myvi:embed] add extractor o misc bug fixes and improvements 2015.07.07 o [gfycat] various fixesdiff -r1.65 -r1.66 pkgsrc/net/youtube-dl/Makefile
(leot)
@@ -1,42 +1,42 @@ | @@ -1,42 +1,42 @@ | |||
1 | # $NetBSD: Makefile,v 1.65 2015/07/17 07:53:53 tron Exp $ | 1 | # $NetBSD: Makefile,v 1.66 2015/08/15 16:22:43 leot Exp $ | |
2 | 2 | |||
3 | VERSION_DATE= 2015.06.15 | 3 | VERSION_DATE= 2015.08.09 | |
4 | PKGREVISION= 1 | |||
5 | DISTNAME= youtube-dl-${VERSION_DATE} | 4 | DISTNAME= youtube-dl-${VERSION_DATE} | |
6 | PKGNAME= youtube-dl-${VERSION_DATE:S/.//S/.//} | 5 | PKGNAME= youtube-dl-${VERSION_DATE:S/.//S/.//} | |
7 | CATEGORIES= net | 6 | CATEGORIES= net | |
8 | MASTER_SITES= http://youtube-dl.org/downloads/${VERSION_DATE}/ | 7 | MASTER_SITES= http://youtube-dl.org/downloads/${VERSION_DATE}/ | |
9 | 8 | |||
10 | MAINTAINER= pkgsrc-users@NetBSD.org | 9 | MAINTAINER= pkgsrc-users@NetBSD.org | |
11 | HOMEPAGE= http://rg3.github.io/youtube-dl/ | 10 | HOMEPAGE= http://rg3.github.io/youtube-dl/ | |
12 | COMMENT= Download videos from youtube.com | 11 | COMMENT= Download videos from youtube.com | |
13 | LICENSE= public-domain | 12 | LICENSE= public-domain | |
14 | 13 | |||
15 | DEPENDS+= mozilla-rootcerts-openssl-[0-9]:../../security/mozilla-rootcerts-openssl | 14 | DEPENDS+= mozilla-rootcerts-openssl-[0-9]:../../security/mozilla-rootcerts-openssl | |
16 | 15 | |||
17 | # Unfortunately at the moment upstream youtube-dl does not provide a changelog. | 16 | # Unfortunately at the moment upstream youtube-dl does not provide a changelog. | |
18 | # When updating net/youtube-dl you can find a complete list of changes here: | 17 | # When updating net/youtube-dl you can find a complete list of changes here: | |
19 | # https://github.com/rg3/youtube-dl/compare/${OLD_VERSION_DATE}...${NEW_VERSION_DATE} | 18 | # https://github.com/rg3/youtube-dl/compare/${OLD_VERSION_DATE}...${NEW_VERSION_DATE} | |
20 | # ...where OLD_VERSION_DATE is the previous VERSION_DATE and NEW_VERSION_DATE is | 19 | # ...where OLD_VERSION_DATE is the previous VERSION_DATE and NEW_VERSION_DATE is | |
21 | # the version you are going to commit. | 20 | # the version you are going to commit. | |
22 | 21 | |||
23 | USE_LANGUAGES= # none | 22 | USE_LANGUAGES= # none | |
24 | NO_BUILD= yes | 23 | NO_BUILD= yes | |
25 | WRKSRC= ${WRKDIR}/youtube-dl | 24 | WRKSRC= ${WRKDIR}/youtube-dl | |
26 | USE_TOOLS+= gmake | 25 | USE_TOOLS+= gmake | |
27 | 26 | |||
28 | MAKE_FLAGS+= PREFIX=${PREFIX} MANDIR=${PREFIX}/${PKGMANDIR} \ | 27 | MAKE_FLAGS+= PREFIX=${PREFIX} MANDIR=${PREFIX}/${PKGMANDIR} \ | |
29 | BASHCOMPDIR=${PREFIX}/share/bash-completion/completions | 28 | BASHCOMPDIR=${PREFIX}/share/bash-completion/completions \ | |
29 | FISHCOMPDIR=${PREFIX}/share/fish/completions | |||
30 | INSTALLATION_DIRS= share/youtube-dl | 30 | INSTALLATION_DIRS= share/youtube-dl | |
31 | CHECK_INTERPRETER_SKIP= share/youtube-dl/youtube-dl | 31 | CHECK_INTERPRETER_SKIP= share/youtube-dl/youtube-dl | |
32 | 32 | |||
33 | post-patch: | 33 | post-patch: | |
34 | ${ECHO} '#!/bin/sh' > ${WRKSRC}/youtube-dl.sh | 34 | ${ECHO} '#!/bin/sh' > ${WRKSRC}/youtube-dl.sh | |
35 | ${ECHO} 'exec ${PYTHONBIN} ${PREFIX}/share/youtube-dl/youtube-dl "$$@"' >> ${WRKSRC}/youtube-dl.sh | 35 | ${ECHO} 'exec ${PYTHONBIN} ${PREFIX}/share/youtube-dl/youtube-dl "$$@"' >> ${WRKSRC}/youtube-dl.sh | |
36 | 36 | |||
37 | post-install: | 37 | post-install: | |
38 | mv ${DESTDIR}${PREFIX}/bin/youtube-dl ${DESTDIR}${PREFIX}/share/youtube-dl | 38 | mv ${DESTDIR}${PREFIX}/bin/youtube-dl ${DESTDIR}${PREFIX}/share/youtube-dl | |
39 | ${INSTALL_SCRIPT} ${WRKSRC}/youtube-dl.sh ${DESTDIR}${PREFIX}/bin/youtube-dl | 39 | ${INSTALL_SCRIPT} ${WRKSRC}/youtube-dl.sh ${DESTDIR}${PREFIX}/bin/youtube-dl | |
40 | 40 | |||
41 | .include "../../lang/python/application.mk" | 41 | .include "../../lang/python/application.mk" | |
42 | .include "../../mk/bsd.pkg.mk" | 42 | .include "../../mk/bsd.pkg.mk" |
@@ -1,7 +1,7 @@ | @@ -1,7 +1,7 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.4 2014/11/16 09:28:08 wiz Exp $ | 1 | @comment $NetBSD: PLIST,v 1.5 2015/08/15 16:22:43 leot Exp $ | |
2 | bin/youtube-dl | 2 | bin/youtube-dl | |
3 | etc/fish/completions/youtube-dl.fish | |||
4 | man/man1/youtube-dl.1 | 3 | man/man1/youtube-dl.1 | |
5 | share/bash-completion/completions/youtube-dl | 4 | share/bash-completion/completions/youtube-dl | |
5 | share/fish/completions/youtube-dl.fish | |||
6 | share/youtube-dl/youtube-dl | 6 | share/youtube-dl/youtube-dl | |
7 | share/zsh/site-functions/_youtube-dl | 7 | share/zsh/site-functions/_youtube-dl |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.52 2015/06/15 09:27:02 adam Exp $ | 1 | $NetBSD: distinfo,v 1.53 2015/08/15 16:22:43 leot Exp $ | |
2 | 2 | |||
3 | SHA1 (youtube-dl-2015.06.15.tar.gz) = b409ceccc7a8dd89151f341fa854b25406eee466 | 3 | SHA1 (youtube-dl-2015.08.09.tar.gz) = fa064a5597d0bd6d00fd2a0958417c1c68d6fc85 | |
4 | RMD160 (youtube-dl-2015.06.15.tar.gz) = 1437b1635768030bba8b891f97e9b5747e912a0c | 4 | RMD160 (youtube-dl-2015.08.09.tar.gz) = 2869863e7f6429bceb016d46c788a6a0876d89cb | |
5 | Size (youtube-dl-2015.06.15.tar.gz) = 1582537 bytes | 5 | Size (youtube-dl-2015.08.09.tar.gz) = 1694525 bytes | |
6 | SHA1 (patch-Makefile) = 94556225641b6cd614bb0c28c4e7d9421550e49b | 6 | SHA1 (patch-Makefile) = 297673852b5039ffa22f3f5fd37cb68995222c73 |
@@ -1,17 +1,23 @@ | @@ -1,17 +1,23 @@ | |||
1 | $NetBSD: patch-Makefile,v 1.2 2014/11/15 22:12:56 mrg Exp $ | 1 | $NetBSD: patch-Makefile,v 1.3 2015/08/15 16:22:43 leot Exp $ | |
2 | 2 | |||
3 | * Fix bash-completion path. | 3 | * Fix bash-completion and fish-completion path. | |
4 | 4 | |||
5 | --- Makefile.orig 2014-11-13 15:41:45.000000000 -0800 | 5 | --- Makefile.orig 2015-06-05 09:50:19.000000000 +0000 | |
6 | +++ Makefile 2014-11-15 14:07:02.000000000 -0800 | 6 | +++ Makefile | |
7 | @@ -28,8 +28,8 @@ | 7 | @@ -26,12 +26,12 @@ install: youtube-dl youtube-dl.1 youtube | |
8 | install -m 755 youtube-dl $(DESTDIR)$(BINDIR) | 8 | install -m 755 youtube-dl $(DESTDIR)$(BINDIR) | |
9 | install -d $(DESTDIR)$(MANDIR)/man1 | 9 | install -d $(DESTDIR)$(MANDIR)/man1 | |
10 | install -m 644 youtube-dl.1 $(DESTDIR)$(MANDIR)/man1 | 10 | install -m 644 youtube-dl.1 $(DESTDIR)$(MANDIR)/man1 | |
11 | - install -d $(DESTDIR)$(SYSCONFDIR)/bash_completion.d | 11 | - install -d $(DESTDIR)$(SYSCONFDIR)/bash_completion.d | |
12 | - install -m 644 youtube-dl.bash-completion $(DESTDIR)$(SYSCONFDIR)/bash_completion.d/youtube-dl | 12 | - install -m 644 youtube-dl.bash-completion $(DESTDIR)$(SYSCONFDIR)/bash_completion.d/youtube-dl | |
13 | + install -d $(DESTDIR)${BASHCOMPDIR} | 13 | + install -d $(DESTDIR)${BASHCOMPDIR} | |
14 | + install -m 644 youtube-dl.bash-completion $(DESTDIR)${BASHCOMPDIR}/youtube-dl | 14 | + install -m 644 youtube-dl.bash-completion $(DESTDIR)${BASHCOMPDIR}/youtube-dl | |
15 | install -d $(DESTDIR)$(SHAREDIR)/zsh/site-functions | 15 | install -d $(DESTDIR)$(SHAREDIR)/zsh/site-functions | |
16 | install -m 644 youtube-dl.zsh $(DESTDIR)$(SHAREDIR)/zsh/site-functions/_youtube-dl | 16 | install -m 644 youtube-dl.zsh $(DESTDIR)$(SHAREDIR)/zsh/site-functions/_youtube-dl | |
17 | install -d $(DESTDIR)$(SYSCONFDIR)/fish/completions | 17 | - install -d $(DESTDIR)$(SYSCONFDIR)/fish/completions | |
18 | - install -m 644 youtube-dl.fish $(DESTDIR)$(SYSCONFDIR)/fish/completions/youtube-dl.fish | |||
19 | + install -d $(DESTDIR)${FISHCOMPDIR} | |||
20 | + install -m 644 youtube-dl.fish $(DESTDIR)${FISHCOMPDIR}/youtube-dl.fish | |||
21 | ||||
22 | codetest: | |||
23 | flake8 . |