streamlink: update to 0.12.1.
Closes #14218. Signed-off-by: Enno Boland <gottox@voidlinux.eu>
This commit is contained in:
parent
5687ce9e25
commit
4ada995ae7
1 changed files with 8 additions and 7 deletions
|
@ -1,28 +1,29 @@
|
|||
# Template file for 'streamlink'
|
||||
pkgname=streamlink
|
||||
version=0.11.0
|
||||
version=0.12.1
|
||||
revision=1
|
||||
noarch=yes
|
||||
build_style=python3-module
|
||||
pycompile_module="streamlink streamlink_cli"
|
||||
hostmakedepends="python3-setuptools"
|
||||
checkdepends="python3-crypto python3-pycountry python3-pysocks python3-websocket-client
|
||||
python3-pytest python3-requests"
|
||||
depends="python3-setuptools python3-requests python3-crypto python3-pycountry
|
||||
python3-pysocks python3-websocket-client"
|
||||
depends="python3-crypto python3-pycountry python3-pysocks python3-requests
|
||||
python3-websocket-client"
|
||||
checkdepends="python3-crypto python3-pycountry python3-pysocks python3-pytest
|
||||
python3-requests python3-requests-mock python3-websocket-client"
|
||||
short_desc="Utility extracting streams from services, forked from livestreamer"
|
||||
maintainer="wkuipers <wietse@kuiprs.nl>"
|
||||
license="BSD-2-Clause"
|
||||
#changelog="https://raw.githubusercontent.com/streamlink/streamlink/master/CHANGELOG.rst"
|
||||
homepage="https://streamlink.github.io/"
|
||||
distfiles="https://github.com/streamlink/streamlink/releases/download/${version}/streamlink-${version}.tar.gz"
|
||||
checksum=dc70b72e22d24b63ccb205d9c7583510049f4b2782e31ac5ebd99fec074ca292
|
||||
checksum=b64b168b5fd655a9a2d355b17c13073dc6102b6084658691f048bf68f9b3c800
|
||||
|
||||
export STREAMLINK_USE_PYCRYPTO=1
|
||||
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
|
||||
sed -i 's| mock| unittest.mock|g' tests/test_stream_streamprocess.py tests/test_hls.py
|
||||
|
||||
PYTHONPATH="${PWD}/build/lib" python3 -m pytest
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue