diff options
author | nivit <nivit@FreeBSD.org> | 2018-08-16 03:23:27 +0800 |
---|---|---|
committer | nivit <nivit@FreeBSD.org> | 2018-08-16 03:23:27 +0800 |
commit | d4e461ec157c394dca1889c277ff0cf063dd4475 (patch) | |
tree | db2b13252f22c25d88c79f582eec51490b4c3f6d /www | |
parent | aabddbf868ff7fa9eaa6eccac4c7f212a580649e (diff) | |
download | freebsd-ports-gnome-d4e461ec157c394dca1889c277ff0cf063dd4475.tar.gz freebsd-ports-gnome-d4e461ec157c394dca1889c277ff0cf063dd4475.tar.zst freebsd-ports-gnome-d4e461ec157c394dca1889c277ff0cf063dd4475.zip |
- Update to 0.5.4
Changes: https://github.com/mps-youtube/pafy/releases/tag/v0.5.4
Diffstat (limited to 'www')
-rw-r--r-- | www/py-pafy/Makefile | 2 | ||||
-rw-r--r-- | www/py-pafy/distinfo | 5 | ||||
-rw-r--r-- | www/py-pafy/files/patch-pafy_backend__youtube__dl.py | 2 | ||||
-rw-r--r-- | www/py-pafy/files/patch-pafy_pafy.py | 16 |
4 files changed, 13 insertions, 12 deletions
diff --git a/www/py-pafy/Makefile b/www/py-pafy/Makefile index f7de9d2b4b31..1d56299a28ec 100644 --- a/www/py-pafy/Makefile +++ b/www/py-pafy/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= pafy -PORTVERSION= 0.5.0 +PORTVERSION= 0.5.4 PORTREVISION= 0 CATEGORIES= www MASTER_SITES= CHEESESHOP diff --git a/www/py-pafy/distinfo b/www/py-pafy/distinfo index b2e9921f54ba..bf62045f770c 100644 --- a/www/py-pafy/distinfo +++ b/www/py-pafy/distinfo @@ -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 diff --git a/www/py-pafy/files/patch-pafy_backend__youtube__dl.py b/www/py-pafy/files/patch-pafy_backend__youtube__dl.py index 7c276fa25d6b..30dd2057c55c 100644 --- a/www/py-pafy/files/patch-pafy_backend__youtube__dl.py +++ b/www/py-pafy/files/patch-pafy_backend__youtube__dl.py @@ -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: diff --git a/www/py-pafy/files/patch-pafy_pafy.py b/www/py-pafy/files/patch-pafy_pafy.py index 3a4d2950cb75..b713784a90e0 100644 --- a/www/py-pafy/files/patch-pafy_pafy.py +++ b/www/py-pafy/files/patch-pafy_pafy.py @@ -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: |