From owner-svn-ports-head@freebsd.org Wed Aug 15 19:23:29 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0365A106D184; Wed, 15 Aug 2018 19:23:29 +0000 (UTC) (envelope-from nivit@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A1C0F75108; Wed, 15 Aug 2018 19:23:28 +0000 (UTC) (envelope-from nivit@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 68C836CBD; Wed, 15 Aug 2018 19:23:28 +0000 (UTC) (envelope-from nivit@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w7FJNSvn020620; Wed, 15 Aug 2018 19:23:28 GMT (envelope-from nivit@FreeBSD.org) Received: (from nivit@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w7FJNRoP020617; Wed, 15 Aug 2018 19:23:27 GMT (envelope-from nivit@FreeBSD.org) Message-Id: <201808151923.w7FJNRoP020617@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: nivit set sender to nivit@FreeBSD.org using -f From: Nicola Vitale Date: Wed, 15 Aug 2018 19:23:27 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: nivit X-SVN-Commit-Paths: in head/www/py-pafy: . files X-SVN-Commit-Revision: 477254 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Aug 2018 19:23:29 -0000 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: