Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 May 2018 17:43:16 +0000 (UTC)
From:      Marcelo Araujo <araujo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r470565 - in head/www/youtube_dl: . files
Message-ID:  <201805211743.w4LHhGaZ005450@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: araujo
Date: Mon May 21 17:43:16 2018
New Revision: 470565
URL: https://svnweb.freebsd.org/changeset/ports/470565

Log:
  Update to 2018.05.09
  
  PR:		ports/228238
  Submitted by:	takefu@airport.fm

Modified:
  head/www/youtube_dl/Makefile
  head/www/youtube_dl/distinfo
  head/www/youtube_dl/files/patch-Makefile
  head/www/youtube_dl/files/patch-youtube_dl____init__.py
  head/www/youtube_dl/files/patch-youtube_dl__options.py

Modified: head/www/youtube_dl/Makefile
==============================================================================
--- head/www/youtube_dl/Makefile	Mon May 21 17:15:30 2018	(r470564)
+++ head/www/youtube_dl/Makefile	Mon May 21 17:43:16 2018	(r470565)
@@ -1,8 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	youtube_dl
-PORTVERSION=	2018.03.10
-PORTREVISION=	1
+PORTVERSION=	2018.05.09
 CATEGORIES=	www
 MASTER_SITES=	https://yt-dl.org/downloads/${PORTVERSION}/
 DISTNAME=	youtube-dl-${PORTVERSION}

Modified: head/www/youtube_dl/distinfo
==============================================================================
--- head/www/youtube_dl/distinfo	Mon May 21 17:15:30 2018	(r470564)
+++ head/www/youtube_dl/distinfo	Mon May 21 17:43:16 2018	(r470565)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1521015507
-SHA256 (youtube-dl-2018.03.10.tar.gz) = 4bfadccb19e379ce38f5601c72dacf0ac5e03881230afee6df2152ab42fa75c5
-SIZE (youtube-dl-2018.03.10.tar.gz) = 2925069
+TIMESTAMP = 1526267997
+SHA256 (youtube-dl-2018.05.09.tar.gz) = 2db4d85d56381845b8b797bb25e7d4dcac801b5e5c09d3f20964682a455c846a
+SIZE (youtube-dl-2018.05.09.tar.gz) = 2962389

Modified: head/www/youtube_dl/files/patch-Makefile
==============================================================================
--- head/www/youtube_dl/files/patch-Makefile	Mon May 21 17:15:30 2018	(r470564)
+++ head/www/youtube_dl/files/patch-Makefile	Mon May 21 17:43:16 2018	(r470565)
@@ -1,4 +1,4 @@
---- Makefile.orig	2016-11-01 19:43:06 UTC
+--- Makefile.orig	2018-05-09 02:36:21 UTC
 +++ Makefile
 @@ -12,7 +12,7 @@ SHAREDIR ?= $(PREFIX)/share
  PYTHON ?= /usr/bin/env python
@@ -7,9 +7,9 @@
 -SYSCONFDIR = $(shell if [ $(PREFIX) = /usr -o $(PREFIX) = /usr/local ]; then echo /etc; else echo $(PREFIX)/etc; fi)
 +SYSCONFDIR ?= $(PREFIX)/etc
  
- install: youtube-dl youtube-dl.1 youtube-dl.bash-completion youtube-dl.zsh youtube-dl.fish
- 	install -d $(DESTDIR)$(BINDIR)
-@@ -20,11 +20,11 @@ install: youtube-dl youtube-dl.1 youtube
+ # 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
  	install -d $(DESTDIR)$(MANDIR)/man1
  	install -m 644 youtube-dl.1 $(DESTDIR)$(MANDIR)/man1
  	install -d $(DESTDIR)$(SYSCONFDIR)/bash_completion.d
@@ -24,13 +24,13 @@
  
  codetest:
  	flake8 .
-@@ -68,11 +68,6 @@ supportedsites:
+@@ -87,11 +87,6 @@ supportedsites:
  README.txt: README.md
- 	pandoc -f markdown -t plain README.md -o README.txt
+ 	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
+-	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

Modified: head/www/youtube_dl/files/patch-youtube_dl____init__.py
==============================================================================
--- head/www/youtube_dl/files/patch-youtube_dl____init__.py	Mon May 21 17:15:30 2018	(r470564)
+++ head/www/youtube_dl/files/patch-youtube_dl____init__.py	Mon May 21 17:43:16 2018	(r470565)
@@ -1,14 +1,14 @@
---- youtube_dl/__init__.py.orig	2016-04-28 23:05:35 UTC
+--- youtube_dl/__init__.py.orig	2018-05-09 02:36:28 UTC
 +++ youtube_dl/__init__.py
 @@ -36,7 +36,6 @@ from .utils import (
-     std_headers,
      write_string,
+     render_table,
  )
 -from .update import update_self
  from .downloader import (
      FileDownloader,
  )
-@@ -384,17 +383,13 @@ def _real_main(argv=None):
+@@ -437,17 +436,13 @@ def _real_main(argv=None):
      }
  
      with YoutubeDL(ydl_opts) as ydl:

Modified: head/www/youtube_dl/files/patch-youtube_dl__options.py
==============================================================================
--- head/www/youtube_dl/files/patch-youtube_dl__options.py	Mon May 21 17:15:30 2018	(r470564)
+++ head/www/youtube_dl/files/patch-youtube_dl__options.py	Mon May 21 17:43:16 2018	(r470565)
@@ -1,6 +1,6 @@
---- youtube_dl/options.py.orig	2016-04-28 23:04:36 UTC
+--- youtube_dl/options.py.orig	2018-05-09 02:36:28 UTC
 +++ youtube_dl/options.py
-@@ -127,10 +127,6 @@ def parseOpts(overrideArguments=None):
+@@ -138,10 +138,6 @@ def parseOpts(overrideArguments=None):
          action='version',
          help='Print program version and exit')
      general.add_option(



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