streamlink: update to 1.0.0

This commit is contained in:
voietsma 2019-02-04 11:28:43 -05:00 committed by maxice8
parent c1f684d4db
commit 0d93dc1098

View file

@ -1,6 +1,6 @@
# Template file for 'streamlink'
pkgname=streamlink
version=0.14.2
version=1.0.0
revision=1
noarch=yes
build_style=python3-module
@ -16,13 +16,13 @@ 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=a8c7f9a758ade056a35d439f78408e9e43ce1069dde9289d322702d35c214150
checksum=b0a355add636c37531efc76e784d1c9e390f3d171f039e07a6be717eb956bfc7
export STREAMLINK_USE_PYCOUNTRY=1
do_check() {
# in python3 mock is unittest.mock
sed -i 's| mock| unittest.mock|g' tests/test_stream_streamprocess.py tests/test_hls.py
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
}