svn commit: r525494 - in head/www/youtube_dl: . files
Steve Wills
swills at FreeBSD.org
Fri Feb 7 18:17:44 UTC 2020
Author: swills
Date: Fri Feb 7 18:17:43 2020
New Revision: 525494
URL: https://svnweb.freebsd.org/changeset/ports/525494
Log:
www/youtube_dl: Update to latest 2020.01.24
PR: 243553
Submitted by: cem
Submitted by: daniel.engberg.lists at pyret.net
Approved by: maintainer timeout (araujo, >2 weeks)
Differential Revision: https://reviews.freebsd.org/D22919
Modified:
head/www/youtube_dl/Makefile (contents, props changed)
head/www/youtube_dl/distinfo (contents, props changed)
head/www/youtube_dl/files/patch-Makefile (contents, props changed)
Modified: head/www/youtube_dl/Makefile
==============================================================================
--- head/www/youtube_dl/Makefile Fri Feb 7 17:25:39 2020 (r525493)
+++ head/www/youtube_dl/Makefile Fri Feb 7 18:17:43 2020 (r525494)
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= youtube_dl
-PORTVERSION= 2019.11.28
+PORTVERSION= 2020.01.24
CATEGORIES= www
MASTER_SITES= https://yt-dl.org/downloads/${PORTVERSION}/
DISTNAME= youtube-dl-${PORTVERSION}
@@ -11,8 +11,6 @@ COMMENT= Program for downloading videos from YouTube.c
LICENSE= UNLICENSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-
-BUILD_DEPENDS= zip:archivers/zip
USES= gmake python
Modified: head/www/youtube_dl/distinfo
==============================================================================
--- head/www/youtube_dl/distinfo Fri Feb 7 17:25:39 2020 (r525493)
+++ head/www/youtube_dl/distinfo Fri Feb 7 18:17:43 2020 (r525494)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1575280448
-SHA256 (youtube-dl-2019.11.28.tar.gz) = 93dfcb77811cafb5aef090504eb43e8fd3fca0df694676a4ff71023a6ce3b1a7
-SIZE (youtube-dl-2019.11.28.tar.gz) = 3148365
+TIMESTAMP = 1579862121
+SHA256 (youtube-dl-2020.01.24.tar.gz) = 0b1dcc96d204984df1ee364e81cddd5645421f6065d2815472258ccdad5c36ff
+SIZE (youtube-dl-2020.01.24.tar.gz) = 3159926
Modified: head/www/youtube_dl/files/patch-Makefile
==============================================================================
--- head/www/youtube_dl/files/patch-Makefile Fri Feb 7 17:25:39 2020 (r525493)
+++ head/www/youtube_dl/files/patch-Makefile Fri Feb 7 18:17:43 2020 (r525494)
@@ -1,6 +1,6 @@
---- Makefile.orig 2018-05-09 02:36:21 UTC
-+++ Makefile
-@@ -12,7 +12,7 @@ SHAREDIR ?= $(PREFIX)/share
+--- Makefile.orig 2019-12-24 22:21:59.865317000 +0100
++++ Makefile 2019-12-24 22:24:39.962172000 +0100
+@@ -12,7 +12,7 @@
PYTHON ?= /usr/bin/env python
# set SYSCONFDIR to /etc if PREFIX=/usr or PREFIX=/usr/local
@@ -9,7 +9,7 @@
# set markdown input format to "markdown-smart" for pandoc version 2 and to "markdown" for pandoc prior to version 2
MARKDOWN = $(shell if [ `pandoc -v | head -n1 | cut -d" " -f2 | head -c1` = "2" ]; then echo markdown-smart; else echo markdown; fi)
-@@ -23,11 +23,11 @@ install: youtube-dl youtube-dl.1 youtube
+@@ -23,11 +23,11 @@
install -d $(DESTDIR)$(MANDIR)/man1
install -m 644 youtube-dl.1 $(DESTDIR)$(MANDIR)/man1
install -d $(DESTDIR)$(SYSCONFDIR)/bash_completion.d
@@ -24,15 +24,24 @@
codetest:
flake8 .
-@@ -87,11 +87,6 @@ supportedsites:
+@@ -65,7 +65,7 @@
+ done
+ touch -t 200001010101 zip/youtube_dl/*.py zip/youtube_dl/*/*.py
+ mv zip/youtube_dl/__main__.py zip/
+- cd zip ; zip -q ../youtube-dl youtube_dl/*.py youtube_dl/*/*.py __main__.py
++ cd zip ; bsdtar -a -cf ../youtube-dl.zip youtube_dl/*.py youtube_dl/*/*.py __main__.py
+ rm -rf zip
+ echo '#!$(PYTHON)' > youtube-dl
+ cat youtube-dl.zip >> youtube-dl
+@@ -90,11 +90,6 @@
+
README.txt: README.md
pandoc -f $(MARKDOWN) -t plain README.md -o README.txt
-
+-
-youtube-dl.1: README.md
- $(PYTHON) devscripts/prepare_manpage.py youtube-dl.1.temp.md
- pandoc -s -f $(MARKDOWN) -t man youtube-dl.1.temp.md -o youtube-dl.1
- rm -f youtube-dl.1.temp.md
--
+
youtube-dl.bash-completion: youtube_dl/*.py youtube_dl/*/*.py devscripts/bash-completion.in
$(PYTHON) devscripts/bash-completion.py
-
More information about the svn-ports-all
mailing list