From a458b53d9661abacb425fd5f62b4665da0185cb6 Mon Sep 17 00:00:00 2001 From: maya Date: Mon, 30 Jan 2017 01:56:15 +0000 Subject: streamlink: update to 0.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Release 0.3.0 of Streamlink! A lot of updates to each plugin (thank you @beardypig !), automated Windows releases, PEP8 formatting throughout Streamlink are some of the few updates to this release as we near a stable 1.0.0 release. Main features are: Lot's of maintaining / updates to plugins General bug and doc fixes Major improvements to development (github issue templates, automatically created releases) Agustín Carrasco (1): Links on crunchy's rss no longer contain the show name in the url (#379) Brainzyy (1): Add basic tests for stream.me plugin (#391) Javier Cantero (2): plugins/twitch: use version v3 of the API plugins/twitch: use kraken URL John Smith (3): Added support for bongacams.com streams (#329) streamlink_cli.main: close stream_fd on exit (#427) streamlink_cli.utils.progress: write new line at finish (#442) Max Riegler (1): plugins.chaturbate: new regex (#457) Michiel Sikma (1): Update PLAYER_VERSION, as old one does not return data. Add ability to use streams with /embed/video in the URL, from embedded players. (#311) Mohamed El Morabity (6): Add support for pluzz.francetv.fr (#343) Fix ArteTV plugin (#385) Add support for Canal+ TV group channels (#416) Update installation instructions for Fedora (#443) Add support for Play TV (#439) Use token generator for HLS streams, as for HDS ones (#466) RosadinTV (1): --can-handle-url-no-redirect parameter added (#333) Stefan Hanreich (1): added chocolatey to the documentation (#380) bastimeyer (3): Automatically create Github releases Set changelog in automated github releases Add a github issue template beardypig (55): plugins.tvcatchup: site layout changed, updated the stream regex to accommodate the change (#338) plugins.streamlive: streamlive.to have added some extra protection to their streams which currently prevents us from capturing them (#339) cli: add command line option to specific logging path for subprocess errorlog plugins.trtspor: added support for trtspor.com (#349) plugins.kanal7: fixed page change in kanal7 live stream (#348) plugins.picarto: Remove the unreliable rtmp stream (#353) packaging: removed the built in backports infavour of including them as dependencies when required (#355) Boost the test coverage a bit (#362) plugins: all regex string should be raw (#361) ci: build and test on Python 3.6 (+3.7 on travis, with allowed failure) (#360) packages.flashmedia: fix bug in AMFMessage (#359) tests: use mock from unittest when available otherwise fallback to mock (#358) stream.hls: try to retry stream segments (#357) tests: add codecov config file (#363) plugins.picarto: updated plugin to use tech_switch divs to find the stream parameters plugins.mitele: support for live streams on mitele.es docs: add a note about python-devel needing to be installed in some cases docs/release: generate the changelog as rst instead of md plugins.adultswim: support https urls use iso 8601 date format for the changelog plugins.tf1: added plugin to support tf1.fr and lci.fr plugins.raiplay: added plugin to support raiplay.it plugins.vaughnlive: updated player version and info URL (#383) plugins.tv8cat: added support for tv8.cat live stream (#390) Fix TF1.fr plugin (#389) plugins.stream: fix a default scheme handling for urls Add support for some Bulgarian live streams (#392) rtmp: fix bug in redirect for rtmp streams plugins.sportal: added support for the live stream on sportal.bg plugins.bnt: update the user agent string for the http requests plugins.ssh101: update to support new site layout Optionally use FFMPEG to mux separate video and audio streams (#224) Support for 4K videos in YouTube (#225) windows-installer: add the version info to the installer file include CHANGELOG.rst instead of .md in the egg stream.hls: output duplicate streams for HLS when multiple streams of the same quality are available stream.ffmpegmux: fix support for avconv, avconv will be used if ffmpeg is not found Adultswin VOD support (#406) Move streamlink_cli.utils.named_pipe in to streamlink.utils plugins.rtve: update plugin to support new streaming method stream.hds: omit HDS streams that are protected by DRM Adultswin VOD fix for live show replays (#418) plugins.rtve: add support for legacy stream URLs installer: remove the streamlink bin dir from %PATH% before installing plugins.twitch: only check hosted channels when playing a live stream docs: tweaks to docs and docs build process Fix iframe detection for BTN/cdn.bg streams (#437) fix some regex that give deprecation warnings in python 3.6 plugins.adultswim: correct behaviour for archived streams plugins.nineanime: add scheme to grabber api url if not present session: add an option to disable Diffie Hellman key exchange plugins.srgssr: added support for srg ssr sites: srf, rts and rsi plugins.srgssr: fixed bug in api URL and fixed akamai urls with authparams cli: try to terminate the player process before killing it (if terminate takes too long) plugins.swisstxt: add support for the SRG SSR sites sports sections fozzy (1): Add plugin for huajiao.com and zhanqi.tv (#334) sqrt2 (1): Fix swf_url in livestream.com plugin (#428) stepshal (1): Remove trailing. stepshal (2): Add blank line after class or function definition (#408) PEP8 (#414) --- multimedia/streamlink/Makefile | 12 ++--- multimedia/streamlink/PLIST | 77 +++++++++++++++++++++++----- multimedia/streamlink/distinfo | 11 ++-- multimedia/streamlink/patches/patch-setup.py | 15 ------ 4 files changed, 75 insertions(+), 40 deletions(-) delete mode 100644 multimedia/streamlink/patches/patch-setup.py (limited to 'multimedia') diff --git a/multimedia/streamlink/Makefile b/multimedia/streamlink/Makefile index 9551d229ce5..58012095a43 100644 --- a/multimedia/streamlink/Makefile +++ b/multimedia/streamlink/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.5 2016/12/30 23:29:14 maya Exp $ +# $NetBSD: Makefile,v 1.6 2017/01/30 01:56:15 maya Exp $ -DISTNAME= streamlink-0.2.0 +DISTNAME= streamlink-0.3.0 CATEGORIES= multimedia MASTER_SITES= ${MASTER_SITE_GITHUB:=streamlink/} GITHUB_TAG= ${PKGVERSION_NOREV} @@ -10,17 +10,17 @@ HOMEPAGE= https://streamlink.github.io/ COMMENT= Tool that pipes video streams into a video player LICENSE= 2-clause-bsd -DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests + +PYTHON_VERSIONS_INCOMPATIBLE= 27 .include "../../lang/python/egg.mk" -DEPENDS+= ${PYPKGPREFIX}-singledispatch-[0-9]*:../../devel/py-singledispatch -DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six -DEPENDS+= ${PYPKGPREFIX}-futures-[0-9]*:../../devel/py-futures DEPENDS+= ${PYPKGPREFIX}-cryptodome>=3.4.3:../../security/py-cryptodome +DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests EGG_NAME= ${PKGNAME_NOREV} + REPLACE_PYTHON+= src/streamlink/packages/flashmedia/flv.py REPLACE_PYTHON+= src/streamlink/packages/flashmedia/tag.py REPLACE_PYTHON+= src/streamlink/packages/flashmedia/__init__.py diff --git a/multimedia/streamlink/PLIST b/multimedia/streamlink/PLIST index 57aee582525..f9cca305ec9 100644 --- a/multimedia/streamlink/PLIST +++ b/multimedia/streamlink/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.3 2016/12/30 22:41:33 maya Exp $ +@comment $NetBSD: PLIST,v 1.4 2017/01/30 01:56:15 maya Exp $ bin/streamlink ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt @@ -75,9 +75,6 @@ ${PYSITELIB}/streamlink/packages/pbs.pyo ${PYSITELIB}/streamlink/packages/requests_file.py ${PYSITELIB}/streamlink/packages/requests_file.pyc ${PYSITELIB}/streamlink/packages/requests_file.pyo -${PYSITELIB}/streamlink/packages/shutil_which.py -${PYSITELIB}/streamlink/packages/shutil_which.pyc -${PYSITELIB}/streamlink/packages/shutil_which.pyo ${PYSITELIB}/streamlink/plugin/__init__.py ${PYSITELIB}/streamlink/plugin/__init__.pyc ${PYSITELIB}/streamlink/plugin/__init__.pyo @@ -93,6 +90,9 @@ ${PYSITELIB}/streamlink/plugin/api/mapper.pyo ${PYSITELIB}/streamlink/plugin/api/support_plugin.py ${PYSITELIB}/streamlink/plugin/api/support_plugin.pyc ${PYSITELIB}/streamlink/plugin/api/support_plugin.pyo +${PYSITELIB}/streamlink/plugin/api/useragents.py +${PYSITELIB}/streamlink/plugin/api/useragents.pyc +${PYSITELIB}/streamlink/plugin/api/useragents.pyo ${PYSITELIB}/streamlink/plugin/api/utils.py ${PYSITELIB}/streamlink/plugin/api/utils.pyc ${PYSITELIB}/streamlink/plugin/api/utils.pyo @@ -156,6 +156,18 @@ ${PYSITELIB}/streamlink/plugins/bilibili.pyo ${PYSITELIB}/streamlink/plugins/bliptv.py ${PYSITELIB}/streamlink/plugins/bliptv.pyc ${PYSITELIB}/streamlink/plugins/bliptv.pyo +${PYSITELIB}/streamlink/plugins/bongacams.py +${PYSITELIB}/streamlink/plugins/bongacams.pyc +${PYSITELIB}/streamlink/plugins/bongacams.pyo +${PYSITELIB}/streamlink/plugins/btv.py +${PYSITELIB}/streamlink/plugins/btv.pyc +${PYSITELIB}/streamlink/plugins/btv.pyo +${PYSITELIB}/streamlink/plugins/canalplus.py +${PYSITELIB}/streamlink/plugins/canalplus.pyc +${PYSITELIB}/streamlink/plugins/canalplus.pyo +${PYSITELIB}/streamlink/plugins/cdnbg.py +${PYSITELIB}/streamlink/plugins/cdnbg.pyc +${PYSITELIB}/streamlink/plugins/cdnbg.pyo ${PYSITELIB}/streamlink/plugins/chaturbate.py ${PYSITELIB}/streamlink/plugins/chaturbate.pyc ${PYSITELIB}/streamlink/plugins/chaturbate.pyo @@ -210,6 +222,9 @@ ${PYSITELIB}/streamlink/plugins/dplay.pyo ${PYSITELIB}/streamlink/plugins/drdk.py ${PYSITELIB}/streamlink/plugins/drdk.pyc ${PYSITELIB}/streamlink/plugins/drdk.pyo +${PYSITELIB}/streamlink/plugins/eurocom.py +${PYSITELIB}/streamlink/plugins/eurocom.pyc +${PYSITELIB}/streamlink/plugins/eurocom.pyo ${PYSITELIB}/streamlink/plugins/euronews.py ${PYSITELIB}/streamlink/plugins/euronews.pyc ${PYSITELIB}/streamlink/plugins/euronews.pyo @@ -240,6 +255,9 @@ ${PYSITELIB}/streamlink/plugins/goodgame.pyo ${PYSITELIB}/streamlink/plugins/hitbox.py ${PYSITELIB}/streamlink/plugins/hitbox.pyc ${PYSITELIB}/streamlink/plugins/hitbox.pyo +${PYSITELIB}/streamlink/plugins/huajiao.py +${PYSITELIB}/streamlink/plugins/huajiao.pyc +${PYSITELIB}/streamlink/plugins/huajiao.pyo ${PYSITELIB}/streamlink/plugins/ine.py ${PYSITELIB}/streamlink/plugins/ine.pyc ${PYSITELIB}/streamlink/plugins/ine.pyo @@ -276,6 +294,9 @@ ${PYSITELIB}/streamlink/plugins/meerkat.pyo ${PYSITELIB}/streamlink/plugins/mips.py ${PYSITELIB}/streamlink/plugins/mips.pyc ${PYSITELIB}/streamlink/plugins/mips.pyo +${PYSITELIB}/streamlink/plugins/mitele.py +${PYSITELIB}/streamlink/plugins/mitele.pyc +${PYSITELIB}/streamlink/plugins/mitele.pyo ${PYSITELIB}/streamlink/plugins/mlgtv.py ${PYSITELIB}/streamlink/plugins/mlgtv.pyc ${PYSITELIB}/streamlink/plugins/mlgtv.pyo @@ -315,9 +336,18 @@ ${PYSITELIB}/streamlink/plugins/picarto.pyo ${PYSITELIB}/streamlink/plugins/piczel.py ${PYSITELIB}/streamlink/plugins/piczel.pyc ${PYSITELIB}/streamlink/plugins/piczel.pyo +${PYSITELIB}/streamlink/plugins/playtv.py +${PYSITELIB}/streamlink/plugins/playtv.pyc +${PYSITELIB}/streamlink/plugins/playtv.pyo +${PYSITELIB}/streamlink/plugins/pluzz.py +${PYSITELIB}/streamlink/plugins/pluzz.pyc +${PYSITELIB}/streamlink/plugins/pluzz.pyo ${PYSITELIB}/streamlink/plugins/powerapp.py ${PYSITELIB}/streamlink/plugins/powerapp.pyc ${PYSITELIB}/streamlink/plugins/powerapp.pyo +${PYSITELIB}/streamlink/plugins/raiplay.py +${PYSITELIB}/streamlink/plugins/raiplay.pyc +${PYSITELIB}/streamlink/plugins/raiplay.pyo ${PYSITELIB}/streamlink/plugins/rtlxl.py ${PYSITELIB}/streamlink/plugins/rtlxl.pyc ${PYSITELIB}/streamlink/plugins/rtlxl.pyo @@ -336,9 +366,15 @@ ${PYSITELIB}/streamlink/plugins/servustv.pyo ${PYSITELIB}/streamlink/plugins/speedrunslive.py ${PYSITELIB}/streamlink/plugins/speedrunslive.pyc ${PYSITELIB}/streamlink/plugins/speedrunslive.pyo +${PYSITELIB}/streamlink/plugins/sportal.py +${PYSITELIB}/streamlink/plugins/sportal.pyc +${PYSITELIB}/streamlink/plugins/sportal.pyo ${PYSITELIB}/streamlink/plugins/sportschau.py ${PYSITELIB}/streamlink/plugins/sportschau.pyc ${PYSITELIB}/streamlink/plugins/sportschau.pyo +${PYSITELIB}/streamlink/plugins/srgssr.py +${PYSITELIB}/streamlink/plugins/srgssr.pyc +${PYSITELIB}/streamlink/plugins/srgssr.pyo ${PYSITELIB}/streamlink/plugins/ssh101.py ${PYSITELIB}/streamlink/plugins/ssh101.pyc ${PYSITELIB}/streamlink/plugins/ssh101.pyo @@ -363,6 +399,12 @@ ${PYSITELIB}/streamlink/plugins/streamupcom.pyo ${PYSITELIB}/streamlink/plugins/svtplay.py ${PYSITELIB}/streamlink/plugins/svtplay.pyc ${PYSITELIB}/streamlink/plugins/svtplay.pyo +${PYSITELIB}/streamlink/plugins/swisstxt.py +${PYSITELIB}/streamlink/plugins/swisstxt.pyc +${PYSITELIB}/streamlink/plugins/swisstxt.pyo +${PYSITELIB}/streamlink/plugins/tf1.py +${PYSITELIB}/streamlink/plugins/tf1.pyc +${PYSITELIB}/streamlink/plugins/tf1.pyo ${PYSITELIB}/streamlink/plugins/tga.py ${PYSITELIB}/streamlink/plugins/tga.pyc ${PYSITELIB}/streamlink/plugins/tga.pyo @@ -372,6 +414,9 @@ ${PYSITELIB}/streamlink/plugins/tigerdile.pyo ${PYSITELIB}/streamlink/plugins/trt.py ${PYSITELIB}/streamlink/plugins/trt.pyc ${PYSITELIB}/streamlink/plugins/trt.pyo +${PYSITELIB}/streamlink/plugins/trtspor.py +${PYSITELIB}/streamlink/plugins/trtspor.pyc +${PYSITELIB}/streamlink/plugins/trtspor.pyo ${PYSITELIB}/streamlink/plugins/turkuvaz.py ${PYSITELIB}/streamlink/plugins/turkuvaz.pyc ${PYSITELIB}/streamlink/plugins/turkuvaz.pyo @@ -387,6 +432,9 @@ ${PYSITELIB}/streamlink/plugins/tv4play.pyo ${PYSITELIB}/streamlink/plugins/tv8.py ${PYSITELIB}/streamlink/plugins/tv8.pyc ${PYSITELIB}/streamlink/plugins/tv8.pyo +${PYSITELIB}/streamlink/plugins/tv8cat.py +${PYSITELIB}/streamlink/plugins/tv8cat.pyc +${PYSITELIB}/streamlink/plugins/tv8cat.pyo ${PYSITELIB}/streamlink/plugins/tvcatchup.py ${PYSITELIB}/streamlink/plugins/tvcatchup.pyc ${PYSITELIB}/streamlink/plugins/tvcatchup.pyo @@ -438,6 +486,9 @@ ${PYSITELIB}/streamlink/plugins/youtube.pyo ${PYSITELIB}/streamlink/plugins/zdf_mediathek.py ${PYSITELIB}/streamlink/plugins/zdf_mediathek.pyc ${PYSITELIB}/streamlink/plugins/zdf_mediathek.pyo +${PYSITELIB}/streamlink/plugins/zhanqi.py +${PYSITELIB}/streamlink/plugins/zhanqi.pyc +${PYSITELIB}/streamlink/plugins/zhanqi.pyo ${PYSITELIB}/streamlink/session.py ${PYSITELIB}/streamlink/session.pyc ${PYSITELIB}/streamlink/session.pyo @@ -447,6 +498,9 @@ ${PYSITELIB}/streamlink/stream/__init__.pyo ${PYSITELIB}/streamlink/stream/akamaihd.py ${PYSITELIB}/streamlink/stream/akamaihd.pyc ${PYSITELIB}/streamlink/stream/akamaihd.pyo +${PYSITELIB}/streamlink/stream/ffmpegmux.py +${PYSITELIB}/streamlink/stream/ffmpegmux.pyc +${PYSITELIB}/streamlink/stream/ffmpegmux.pyo ${PYSITELIB}/streamlink/stream/flvconcat.py ${PYSITELIB}/streamlink/stream/flvconcat.pyc ${PYSITELIB}/streamlink/stream/flvconcat.pyo @@ -480,9 +534,12 @@ ${PYSITELIB}/streamlink/stream/streamprocess.pyo ${PYSITELIB}/streamlink/stream/wrappers.py ${PYSITELIB}/streamlink/stream/wrappers.pyc ${PYSITELIB}/streamlink/stream/wrappers.pyo -${PYSITELIB}/streamlink/utils.py -${PYSITELIB}/streamlink/utils.pyc -${PYSITELIB}/streamlink/utils.pyo +${PYSITELIB}/streamlink/utils/__init__.py +${PYSITELIB}/streamlink/utils/__init__.pyc +${PYSITELIB}/streamlink/utils/__init__.pyo +${PYSITELIB}/streamlink/utils/named_pipe.py +${PYSITELIB}/streamlink/utils/named_pipe.pyc +${PYSITELIB}/streamlink/utils/named_pipe.pyo ${PYSITELIB}/streamlink_cli/__init__.py ${PYSITELIB}/streamlink_cli/__init__.pyc ${PYSITELIB}/streamlink_cli/__init__.pyo @@ -504,12 +561,6 @@ ${PYSITELIB}/streamlink_cli/main.pyo ${PYSITELIB}/streamlink_cli/output.py ${PYSITELIB}/streamlink_cli/output.pyc ${PYSITELIB}/streamlink_cli/output.pyo -${PYSITELIB}/streamlink_cli/packages/__init__.py -${PYSITELIB}/streamlink_cli/packages/__init__.pyc -${PYSITELIB}/streamlink_cli/packages/__init__.pyo -${PYSITELIB}/streamlink_cli/packages/shutil_backport.py -${PYSITELIB}/streamlink_cli/packages/shutil_backport.pyc -${PYSITELIB}/streamlink_cli/packages/shutil_backport.pyo ${PYSITELIB}/streamlink_cli/utils/__init__.py ${PYSITELIB}/streamlink_cli/utils/__init__.pyc ${PYSITELIB}/streamlink_cli/utils/__init__.pyo diff --git a/multimedia/streamlink/distinfo b/multimedia/streamlink/distinfo index bd5cf003cc5..a6ba8e05491 100644 --- a/multimedia/streamlink/distinfo +++ b/multimedia/streamlink/distinfo @@ -1,7 +1,6 @@ -$NetBSD: distinfo,v 1.4 2016/12/30 23:23:20 maya Exp $ +$NetBSD: distinfo,v 1.5 2017/01/30 01:56:15 maya Exp $ -SHA1 (streamlink-0.2.0.tar.gz) = 6f56764b3b6fbf6eb74c0d92afe6f5f93ccb2198 -RMD160 (streamlink-0.2.0.tar.gz) = d437e47bf5e811a92fe0bef69ae4a4606b87d082 -SHA512 (streamlink-0.2.0.tar.gz) = 10ccf30ef024c34f15b16539ac1e9329351eb26dffe0c36546240354fcf635e7dabc63a56cf70d43763adbfdc41651b86f189e625215d475d54d04f8e3b24ab1 -Size (streamlink-0.2.0.tar.gz) = 996839 bytes -SHA1 (patch-setup.py) = c3b628dcc7cad49c90a8116e1b40baa67bd8b76d +SHA1 (streamlink-0.3.0.tar.gz) = f5e2956bf6df60cde91f3482cee75b9451081990 +RMD160 (streamlink-0.3.0.tar.gz) = 37d64b8027ae0c3a7430764980042f9a88e2cf3b +SHA512 (streamlink-0.3.0.tar.gz) = 3b1509b3e0d67ec7024ba691ab4a8aa078c306041d9098b2f5ab3884d3a837dc1ce7f602454835aec6ef36e03f5d9317b632e350f2160ae86aaff3d7a6863dc2 +Size (streamlink-0.3.0.tar.gz) = 30647556 bytes diff --git a/multimedia/streamlink/patches/patch-setup.py b/multimedia/streamlink/patches/patch-setup.py deleted file mode 100644 index a0dd8893e2f..00000000000 --- a/multimedia/streamlink/patches/patch-setup.py +++ /dev/null @@ -1,15 +0,0 @@ -$NetBSD: patch-setup.py,v 1.1 2016/12/30 23:23:20 maya Exp $ - -Don't be so specific about py-cryptodome version dependency. - ---- setup.py.orig 2016-12-17 00:41:21.000000000 +0000 -+++ setup.py -@@ -38,7 +38,7 @@ else: - deps.append("requests>=1.0,!=2.12.0,!=2.12.1,<3.0") - - # this version of pycryptodome is known to work and has a Windows wheel for py2.7, py3.3-3.5 --deps.append("pycryptodome==3.4.3") -+deps.append("pycryptodome>=3.4.3") - - # When we build an egg for the Win32 bootstrap we don't want dependency - # information built into it. -- cgit v1.2.3