From 8057dd349375ea5bf72d1dbf40827ed6a7a54645 Mon Sep 17 00:00:00 2001 From: Paper Date: Thu, 1 Oct 2020 13:00:55 +0200 Subject: [PATCH] streamlink: update to 1.6.0 --- srcpkgs/streamlink/template | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/srcpkgs/streamlink/template b/srcpkgs/streamlink/template index 44de1bc6fbb..ea68f0cea37 100644 --- a/srcpkgs/streamlink/template +++ b/srcpkgs/streamlink/template @@ -1,28 +1,25 @@ # Template file for 'streamlink' pkgname=streamlink -version=1.5.0 +version=1.6.0 revision=1 -archs=noarch build_style=python3-module hostmakedepends="python3-setuptools" depends="python3-setuptools python3-pycryptodome python3-pycountry python3-pysocks python3-requests python3-websocket-client python3-isodate" checkdepends="python3-pycryptodome python3-pycountry python3-pysocks - python3-pytest python3-requests-mock python3-websocket-client python3-isodate" + python3-pytest python3-mock python3-requests-mock python3-websocket-client + python3-isodate python3-freezegun" short_desc="Utility extracting streams from services, forked from livestreamer" maintainer="wkuipers " license="BSD-2-Clause" homepage="https://streamlink.github.io/" changelog="https://raw.githubusercontent.com/streamlink/streamlink/master/CHANGELOG.md" distfiles="https://github.com/streamlink/streamlink/releases/download/${version}/streamlink-${version}.tar.gz" -checksum=203f3e2ac724b5964f8abffa9d1e769453702294e3d03b6877c6eb49f96fc11f +checksum=f7857a54ec55e32d6e90ebd770c9d5d1318791d8ecd8270e104a8b1968a308ab export STREAMLINK_USE_PYCOUNTRY=1 do_check() { - # in python3 mock is unittest.mock - sed -i 's| mock| unittest.mock|g' tests/streams/test_stream_streamprocess.py tests/streams/test_hls.py - PYTHONPATH="${PWD}/build/lib" python3 -m pytest }