Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Aug 2018 19:23:27 +0000 (UTC)
From:      Nicola Vitale <nivit@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r477254 - in head/www/py-pafy: . files
Message-ID:  <201808151923.w7FJNRoP020617@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nivit
Date: Wed Aug 15 19:23:27 2018
New Revision: 477254
URL: https://svnweb.freebsd.org/changeset/ports/477254

Log:
  - Update to 0.5.4
  
  Changes:	https://github.com/mps-youtube/pafy/releases/tag/v0.5.4

Modified:
  head/www/py-pafy/Makefile
  head/www/py-pafy/distinfo
  head/www/py-pafy/files/patch-pafy_backend__youtube__dl.py
  head/www/py-pafy/files/patch-pafy_pafy.py

Modified: head/www/py-pafy/Makefile
==============================================================================
--- head/www/py-pafy/Makefile	Wed Aug 15 19:09:00 2018	(r477253)
+++ head/www/py-pafy/Makefile	Wed Aug 15 19:23:27 2018	(r477254)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	pafy
-PORTVERSION=	0.5.0
+PORTVERSION=	0.5.4
 PORTREVISION=	0
 CATEGORIES=	www
 MASTER_SITES=	CHEESESHOP

Modified: head/www/py-pafy/distinfo
==============================================================================
--- head/www/py-pafy/distinfo	Wed Aug 15 19:09:00 2018	(r477253)
+++ head/www/py-pafy/distinfo	Wed Aug 15 19:23:27 2018	(r477254)
@@ -1,2 +1,3 @@
-SHA256 (pafy-0.5.0.tar.gz) = fc451048518e5095346c8a359ca367697e9867b915bd05ea73960c6c594bc9e0
-SIZE (pafy-0.5.0.tar.gz) = 26392
+TIMESTAMP = 1534350928
+SHA256 (pafy-0.5.4.tar.gz) = e842dc589a339a870b5869cc3802f2e95824edf347f65128223cd5ebdff21024
+SIZE (pafy-0.5.4.tar.gz) = 27393

Modified: head/www/py-pafy/files/patch-pafy_backend__youtube__dl.py
==============================================================================
--- head/www/py-pafy/files/patch-pafy_backend__youtube__dl.py	Wed Aug 15 19:09:00 2018	(r477253)
+++ head/www/py-pafy/files/patch-pafy_backend__youtube__dl.py	Wed Aug 15 19:23:27 2018	(r477254)
@@ -1,4 +1,4 @@
---- pafy/backend_youtube_dl.py.orig	2016-03-05 21:47:16 UTC
+--- pafy/backend_youtube_dl.py.orig	2018-02-11 21:15:57 UTC
 +++ pafy/backend_youtube_dl.py
 @@ -8,6 +8,9 @@ if sys.version_info[:2] >= (3, 0):
  else:

Modified: head/www/py-pafy/files/patch-pafy_pafy.py
==============================================================================
--- head/www/py-pafy/files/patch-pafy_pafy.py	Wed Aug 15 19:09:00 2018	(r477253)
+++ head/www/py-pafy/files/patch-pafy_pafy.py	Wed Aug 15 19:23:27 2018	(r477254)
@@ -1,12 +1,12 @@
---- pafy/pafy.py.orig	2016-02-28 21:11:10 UTC
+--- pafy/pafy.py.orig	2018-02-11 21:15:57 UTC
 +++ pafy/pafy.py
 @@ -45,6 +45,9 @@ Pafy = None
  backend = "internal"
  if os.environ.get("PAFY_BACKEND") != "internal":
-    try:
-+      if sys.platform.startswith('freebsd'):
-+          # FreeBSD installs youtube_dl as a zip archive
-+          sys.path.insert(1, '%%LOCALBASE%%/bin/youtube-dl')
-       import youtube_dl
-       backend = "youtube-dl"
-    except ImportError:
+     try:
++        if sys.platform.startswith('freebsd'):
++            # FreeBSD installs youtube_dl as a zip archive
++            sys.path.insert(1, '%%LOCALBASE%%/bin/youtube-dl')
+         import youtube_dl
+         backend = "youtube-dl"
+     except ImportError:



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